When you run a Python module with
python myModules.py arg1 arg2
but with the _name_ set to "__main__". That means that by adding this code at the end of your module:
if _name_ == "__main__":
import sys
fib(int(sys.argv[1]))
print( fib2(int(sys.argv[2])))
Watch video Python 036: Executing modules as scripts online without registration, duration hours minute second in high quality. This video was added by user BharatOnlineDS 06 July 2020, don't forget to share it with your friends and acquaintances, it has been viewed on our site 370 once and liked it 4 people.