Beginner problem.
DelPiccolo Ivano
ivano.delpiccolo at degroof.be
Mon Feb 11 06:10:20 EST 2002
More information about the Python-list mailing list
Mon Feb 11 06:10:20 EST 2002
- Previous message (by thread): Beginner problem.
- Next message (by thread): Beginner problem.
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
How can i know if i have parameters in the command line.
Here's my script, where is the error ?
import sys
if sys.argv[??????] == "" :
print "Usage : sys.argv[0] logname string_to_search"
else :
...........
..........
..........
- Previous message (by thread): Beginner problem.
- Next message (by thread): Beginner problem.
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
More information about the Python-list mailing list