import shutil
ids_to_transfer = ['MyFolder1', 'MyFolder2']
for id in ids_to_transfer:
    urllib.request.urlopen(
        'http://admin:password_dev@localhost:8080/manage_exportObject?id=' + id
        )
shutil.move('/tmp/instance/dev/var/' + id + '.zexp', 
    '/tmp/instance/prod/import/' + id + '.zexp')
urllib.request.urlopen(
    'http://admin:password_prod@localhost:9090/manage_delObjects?ids=' + id)
urllib.request.urlopen(
    'http://admin:password_prod@localhost:9090/manage_importObject?file=' +
    id + '.zexp')
Экспорт папки zope с помощью python