Command line arguments??

Rhodri James rhodri at wildebst.demon.co.uk
Tue Nov 17 18:57:55 EST 2009


On Tue, 17 Nov 2009 19:26:46 -0000, Nobody <nobody at nowhere.com> wrote:

> On Mon, 16 Nov 2009 23:30:09 +0000, Rhodri James wrote:
>
>> Quote the filenames or escape the spaces:
>>
>> C:\Python26\Python.exe C:\echo.py "C:\New Folder\text.txt"
>>
>> We've been living with this pain ever since windowed GUIs encouraged  
>> users
>> to put spaces in their file names (Apple, I'm looking at you!).
>> Fundamentally, if people want the pretty they have to live with the
>> consequences.
>
> We've been living with much worse ever since Unix allowed users to put
> not only spaces but even newlines in their filenames.

You'll notice I said "encouraged", not "allowed".

-- 
Rhodri James *-* Wildebeest Herder to the Masses



More information about the Python-list mailing list