En Thu, 03 May 2007 10:15:52 -0300, <[EMAIL PROTECTED]> 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
-- 
http://mail.python.org/mailman/listinfo/python-list

Reply via email to