how to create file with spaces

Larry Bates larry.bates at websafe.com
Thu Apr 6 12:44:22 EDT 2006


Fulvio wrote:
> Alle 18:18, giovedì 06 aprile 2006, s99999999s2003 at yahoo.com ha scritto:
>> How can i deal with spaces in this case?
> I don't have an idea with python, but if can help I may say that bash you 
> might use "\ " to escape a space or use a quoted full path.
> The shell program "basename" is failing, anyhow with file names containing 
> spaces.
> 
> F

Python works fine with directories AND files with spaces in them.
Your problems are somewhere else.

-Larry Bates



More information about the Python-list mailing list