How To Call Python Function From Command Line. This is one of the. Print sayhello ’ or like this !
Reader = csv.reader (table, delimiter= \t ) for line in reader: Print sayhello ’ or like this ! Web and so basically, when a user puts filename.py option2 param1 into the command line, i want it to call the function do_option2 and pass the parameter, param1,.