I am originally a C programmer. I have seen numerous tricks and \"hacks\" to read many different arguments.
What are some of the ways Python programmers can do this
One way to do it is using sys.argv. This will print the script name as the first argument and all the other parameters that you pass to it.
sys.argv
import sys for arg in sys.argv: print arg