[Tutor] A question about sys.argv
Jefferson Ragot
jbr5393 at gmail.com
Tue Nov 1 14:48:03 CET 2011
In a Vista command prompt if I typed this:
>>> python somescript.py filename
Will sys.argv[1] return a valid path or just the filename?
If it just returns the filename, is there a simple way to get the path?
--
Jefferson B. Ragot
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.python.org/pipermail/tutor/attachments/20111101/b2e461f7/attachment.html>
More information about the Tutor
mailing list