Velocity Reviews - Computer Hardware Reviews

Velocity Reviews > Newsgroups > Programming > Python > getting arguments off the command line

Reply
Thread Tools

getting arguments off the command line

 
 
David Stockwell
Guest
Posts: n/a
 
      06-16-2004
Whats a good way to get arguments off of the command line?

Thanks

David
-------
Tracfone: http://cellphone.duneram.com/index.html
Cam: http://www.duneram.com/cam/index.html
Tax: http://www.duneram.com/index.html

__________________________________________________ _______________
Looking to buy a house? Get informed with the Home Buying Guide from MSN
House & Home. http://coldwellbanker.msn.com/


 
Reply With Quote
 
 
 
 
Peter Otten
Guest
Posts: n/a
 
      06-17-2004
David Stockwell wrote:

> Whats a good way to get arguments off of the command line?


http://docs.python.org/lib/module-optparse.html

Peter

 
Reply With Quote
 
 
 
 
george young
Guest
Posts: n/a
 
      06-17-2004
"David Stockwell" <(E-Mail Removed)> wrote in message news:<(E-Mail Removed)>...
> Whats a good way to get arguments off of the command line?


The standard optparse module:
http://docs.python.org/lib/module-optparse.html

--
"Are the gods not just?" "Oh no, child.
What would become of us if they were?" (CSL)
 
Reply With Quote
 
 
 
Reply

Thread Tools

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
Getting user input at command line when script also takes arguments Paul Ruby 1 04-24-2007 03:24 PM
Run Unix shell command $ parse command line arguments in python rkoida@yahoo.com Python 4 04-23-2005 04:42 AM
@ARGV not getting command line arguments bkimelman@hotmail.com Perl Misc 1 03-22-2005 05:25 PM
Documentation on command line arguments to perl Peter Kay Perl 1 05-18-2004 01:27 AM
Parser for command line arguments? Ahmed Moustafa Java 0 08-21-2003 05:21 AM



Advertisments