file Error
Gabriel Genellina
gagsl-py2 at yahoo.com.ar
Thu May 3 23:44:43 EDT 2007
En Thu, 03 May 2007 10:15:52 -0300, <saif.shakeel at gmail.com> escribió:
> Thanks for the reply........How do i accept the filename is a
> parameter and avoid the error.Can you elaborate.
To get the arguments passed to the script, use sys.argv[]
Most introductory texts should cover it, like the Python tutorial:
http://docs.python.org/tut/node4.html
--
Gabriel Genellina
More information about the Python-list
mailing list