Skip to content
Advertisement

Automation of tasks with argparse Python3

Hi is anyone able to help. I am learning to use argparse and i want to use the command to call the school.py as school start for example. I have this so far but struggling to handle the arguments. Am i doing this right or what am i doing totally wrong?

JavaScript

My error is

JavaScript

autoSchoolDay.py: error: the following arguments are required: engine, bus, cs, python

Advertisement

Answer

JavaScript
Advertisement