Re: Command line arguements

2008-07-28 Thread Gabriel Genellina
En Mon, 28 Jul 2008 01:43:52 -0300, Henry Chang <[EMAIL PROTECTED]> escribió: > try optparse :) > http://docs.python.org/lib/module-optparse.html (optparse might be too much for a single argument) > On Sun, Jul 27, 2008 at 9:13 PM, aditya shukla > <[EMAIL PROTECTED]>wrote: > >> in other words i

Re: Command line arguements

2008-07-27 Thread Henry Chang
try optparse :) http://docs.python.org/lib/module-optparse.html On Sun, Jul 27, 2008 at 9:13 PM, aditya shukla <[EMAIL PROTECTED]>wrote: > Hello folks ,I have a program in which a text file is generated as an > output > eg > > C:\prog\ prog -x test.txt > Right now whenever i have to read the tes

Command line arguements

2008-07-27 Thread aditya shukla
Hello folks ,I have a program in which a text file is generated as an output eg C:\prog\ prog -x test.txt Right now whenever i have to read the test file i have to put its name manually in my code. eg f=open("c:\\prog\\test.txt","r") How ever i want to add the name of the test file dynamically to