You signed in with another tab or window.Reload to refresh your session.You signed out in another tab or window.Reload to refresh your session.You switched accounts on another tab or window.Reload to refresh your session.Dismiss alert
-All files used in the python code to check the functionality are uploaded including input and output results files.
-Some important remarks regarding the getopt library:
-An option followed by a colon only means that it needs an argument.
-It doesn't mean that the option is enforced. You should write your own code to enforce the existence of options/arguments.
-getopt.getopt(args, shortopts, longopts=[])
-Parses command line options and parameter list.
-args is the argument list to be parsed, without the leading reference to the running program. Typically, this means sys.argv[1:].
-shortopts is the string of option letters that the script wants to recognize,
-with options that require an argument followed by a colon (':'; i.e., the same format that Unix getopt() uses).
-exception getopt.GetoptError
-This is raised when an unrecognized option is found in the argument list or when an option requiring an argument is given none. The argument to the exception
-is a string indicating the cause of the error. For long options, an argument given to an option which does not require one will also cause this exception to be raised.
-The attributes msg and opt give the error message and related option; if there is no specific option to which the exception relates, opt is an empty string.
-One of the most important remarks is:
-that the getopt function reads options and forms a dictionary of each option and its argument if and only if the first
-input was an option ,rather than that it will consider the whole input as an argument even if there are option passed and the opts array will be empty in that case.