**argv can't work

Jm lists practicalperl at gmail.com
Fri Jan 19 22:20:29 EST 2007


hello members,

See my script piece below:

def testB(shift,**argv):
    print "first argument is %s" %shift
    print "all other arguments are:",argv

testB('mails','Jen','Jen at att.com','Joe','Joe at aol.com')

It can't work at all.please help tell me the reasons.thanks.



More information about the Python-list mailing list