sys module - argv, but no argc ??

Hamish Lawson hamish_lawson at
Fri Aug 2 15:52:51 CEST 2002

> I've imported the sys module, and I'm SHOCKED that there is no way to
> access the argument count.


argv is a Python list - like Python lists generally, you can resize
it, find out its current size, and do all sorts of things to it.

Hamish Lawson

More information about the Python-list mailing list