[Tutor] how to pass arguments to script
Anil Felipe Duggirala
anilduggirala at fastmail.fm
Sun Sep 8 18:16:27 EDT 2019
hello,
I am currently completing the Python tutorial, in python.org.
I wonder, if I write a script.py defining a function, and the function
requires an argument to produce a result; how do I specify this
argument when executing script.py in my console?
Is there a way to run the script in interactive mode and also quickly
pass the function's argument?
I am using python3.
thank you,
More information about the Tutor
mailing list