Python Script Cannot Write to Directory

Chris Rebert clp2 at rebertia.com
Wed Aug 4 03:27:53 EDT 2010


On Wed, Aug 4, 2010 at 12:21 AM, News123 <news1234 at free.fr> wrote:
<snip>
> 3.) try following python
>
> import os
> print os.getcwd()
> import shutil
> shutil("YOUR_SOURCE_FILE_NAME","DESTINATION_DIRECTORY/DSTNTN_FILE_NAME")

WTF; modules aren't callable. Typo?

Cheers,
Chris
--
http://blog.rebertia.com



More information about the Python-list mailing list