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
Replace old flag system as there are better, cleaner and optimized way of doing this. Have a look at argparse which is a Parser for command-line options, arguments and subcommands:
Divide initialize_macros in two: we need to maintain the user_input dictionary as it is used along SCINT functions and the questions if no flags are provided. The way we provide the flags is the thing to optimize here
Replace old flag system as there are better, cleaner and optimized way of doing this. Have a look at
argparsewhich is a Parser for command-line options, arguments and subcommands:initialize_macrosin two: we need to maintain theuser_inputdictionary as it is used alongSCINTfunctions and the questions if no flags are provided. The way we provide the flags is the thing to optimize here