parser.add_option('-p', '--pickled_data_path', dest='pickled_data_path',
    type='string', help='Path to the file containing pickled data.')
parser.add_option('-j', '--json_data_path', dest='json_data_path', type=
    'string', help='Path to where the json data should be saved.')
Десериализация Python Pickle из PHP?