sys module - argv, but no argc ??
Steve Holden
sholden at holdenweb.com
Fri Aug 2 12:04:30 EDT 2002
"Tony C" <cappy2112 at yahoo.com> wrote in message
news:8d3e714e.0208012253.73022f97 at posting.google.com...
> I've imported the sys module, and I'm SHOCKED that there is no way to
> access the argument count.
>
> The docs talk about accessing argv, but nothing about the argument
> count.
> Was something omitted from the docs ?
>
> How do Python users get around this ?
>
Tony:
Now you've had at least five good answers, has your shock lessened to the
degree that you might start regarding Python as useful?
regards
-----------------------------------------------------------------------
Steve Holden http://www.holdenweb.com/
Python Web Programming http://pydish.holdenweb.com/pwp/
-----------------------------------------------------------------------
More information about the Python-list
mailing list