utils.inputcheck

All The Scripts provide a set of more or less identical command line input arguments. The function utils.inputcheck() parses these input arguments using pythons getopt package and, if required or requested, shows the correspondingi usage (utils.usage()).

This method returns a list object with all necessary arguments which are then used as input for utils.readconfig().

Documentation for this module. More details should be added.

utils.inputcheck(what)[source]

Checking input arguments for several scripts. Using the same inputcheck routine for most of the Wetterturnier python backend scripts. The arguments are evaluated in here and added to a list object which will be returned. Please have a look into the usage (most scripts can be called with input argument -h/--help to display the usage).

Todo

A bug! Input argument what is not in use. Maybe kill it or at least set some defaults.

Parameters:
  • what (str) – String to handle some specal cases. At the moment
  • input argument is not used at all! (the) –