How to get input of arguments from the terminal along with the filename in python?
Question: For example if I want to compare two numbers(compare which is greater, for
example) and get this input from the terminal in linux along with the
filename.

Like:

    
    
    python myfilename.py 2 3
    

This program should output 3. I think that this can be done with the help of
sys module.


Answer: Use `sys.argv` like in:

    
    
    import sys
    print sys.argv
    

