Solved by Dwight_Foster in post #4 
              
              
                I run pycharm too. I would suggest instead of using the ParseCmdLineArguments() you use argparse. It will allow you to set a type default and many other things. You can find a tutorial here, but for what you want to do you can just do this: 
import argparse
parser = argparse.ArgumentParser()
parser.…