shutil.move has a mind of its own

Daniel Bickett dbickett at gmail.com
Tue Jan 11 20:02:16 EST 2005


Don wrote:
> I don't know if this is the problem or, not, but:
> [snip]

As I said, that was simply an error when typing the example, and it is
not present in my code. See below.

Neil Benn wrote:
> >Oh, I'm sorry, that was my mistake. The example contained that error,
> >but my code does not.
> >
> > [snip]
> >
> To be fair though - I would have expected the method to throw an error
> rather than default to cwd.
> 
> Neil
> 

Which is why I found this so strange, and also why I provided my code.
The paths are user-inputed, and only referenced as variables, so this
is clearly not a matter of escape sequences.

Daniel Bickett



More information about the Python-list mailing list