You would like to allow the user to pass arguments on the command line. For example:

myprog.py --machine server_name --test name --verbose --debug
myprog.py -v -d
myprog.py -vd
myprog.py file1 file2 file3