Hi there, everyone; first time poster! Sorry if this isn't very closely related to Python, but I have encountered the issue while trying to learn Python, so I guess I can just ask here.
My question is: when invoking a program with, let's say, a filename containing spaces as a parameter: myprog -file "Long name" What does sys.argv hold in this case? I am specifically interested in whether argv[2]=="\"Long" or argv[2]=="Long name", that is, if the shell does the processing or I need to do it in the program. Also, I need to know if most environments do the same (I wouldn't want to be caught pants down while porting this to Windows). Many thanks in advance for your valuable suggestions and apologies if I have misposted, Vlad _______________________________________________ Tutor maillist - Tutor@python.org http://mail.python.org/mailman/listinfo/tutor