Re: [S3tools-general] Using s3cmd from a python script

2009-08-04 Thread Michal Ludvig
Hi Jon, > I see that the s3cmd > script has a cmd_object_put(args) function which I want to call. > However, I'm having problems importing > the s3cmd script in order to use this function. Could somebody please > provide some guidance? to be honest s3cmd wasn't designed to be used this way. I h

[S3tools-general] Using s3cmd from a python script

2009-08-04 Thread Jonathan Holloway
I'm fairly new to the Python world, but I'm looking to interact with s3cmd from a python script (because I don't want to write a bash wrapper around s3cmd). How would i go about doing this? I see that the s3cmd script has a cmd_object_put(args) function which I want to call. However, I'm having