Reading/Writing files

Westley Martínez anikom15 at gmail.com
Fri Mar 18 18:54:22 EDT 2011


On Fri, 2011-03-18 at 15:18 -0700, Dan Stromberg wrote:
> 
> Are you on windows?
> 
> <badadvice />

You shouldn't use / or \ on Windows. You should use os.path.join(). On
Windows, when you start mixing / with \\ and spaces things can get hairy
and obscure. It's always best to just use os.path.join().











More information about the Python-list mailing list