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)
Exporting a zope folder with python