>
> import myargs
this one is clever
___
Tutor maillist - Tutor@python.org
http://mail.python.org/mailman/listinfo/tutor
> I have a big list of arguments, which I would like to
> keep in a separate file. How do I pass arguments that
> are in a separate file?
do you mean like setting?
do something like this
write them in the file myargs.py
import myargs
call_my_function(myargs.argument1, myargs.argument2)
see a
Hi.
I have a big list of arguments, which I would like to
keep in a separate file. How do I pass arguments that
are in a separate file?
Thanks.
San
___
Tutor maillist - Tutor@python.org
http://mail.python.org/mailman/listinfo/tutor