Dec-14-2018, 09:53 PM
(This post was last modified: Dec-14-2018, 09:53 PM by Gribouillis.)
Sorry, I wrote the program to run it in a terminal with a command such as
The next step is to learn python and develop the program yourself...
Output:python theprogram.py -n 3 -m
If you're running the program from an IDE such as idle, you may need to hard code the arguments in the program, for example addimport sys if 'idlelib' in sys.modules: sys.argv.extend(['-n', '3', '-m'])just before the line
ns = parser.parse_args()
.The next step is to learn python and develop the program yourself...