Newbie Getopts Question
Agent Drek
drek at MonsterByMistake.Com
Thu Dec 16 17:36:58 EST 1999
On Thu, 16 Dec 1999, Andrew N. McGuire wrote:
|Date: Thu, 16 Dec 1999 15:00:01 -0600
|From: Andrew N. McGuire <amcguire at coastalnet.com>
|To: python-list at python.org
|Newsgroups: comp.lang.python
|Subject: Newbie Getopts Question
|
|Hey all,
|
| I picked up my first python book 5 days ago, so dont laugh at me too
|hard. I have looked in man
|page, Learning Python by O &A, and python.org, as well as here, and
|found nothing __substantial__
|on the use of getopts. Here is a code snipet of a program I have
|written... The programs works
|fine, and I really like the language, but this seems like a somewhat
|ineffecient way of handling
|options.
I always check:
/usr/local/src/lang/Python-1.5.2/Demo
the 'scripts' directory has some examples of getopt which I assume to be the
most 'correct'.
good luck,
=derek
More information about the Python-list
mailing list