Calling function from command line
GREGORY KNESER
gregoryk at futures.wharton.upenn.edu
Wed Sep 18 16:36:13 EDT 2002
Hi,
I have a file func.py which includes a working function definition with some
inputs and some defaults for those inputs.
I want to type
c:\python22\python func.py func1('input1','input2')
or some such thing and run the function with the inputs I fed it rather
than the defaults. Is such a call possible?
I've tried searching the web and this group with little success on this
topic.
Thanks much,
Greg
More information about the Python-list
mailing list