title: Python project through cmd with different config files
body: <p>i want to start my python project through a cmd window with different configurations, e.g the function that need different parameter:</p>
  
  <pre><code>download.rawData.download(starttime=starttime, endtime=endtime)
  </code></pre>
  
  <p>the starttime and endtime values are from a configfile: (config1.cfg)</p>
  
  <pre><code>[Parameter]
  starttime=Monday
  endtime=Tuesday
  </code></pre>
  
  <p>config2.cfg:</p>
  
  <pre><code>[Parameter]
  starttime=tuesday
  endtime=friday
  </code></pre>
  
  <p>What is the best way to start the project from the cmd like:</p>
  
  <pre><code>Python3 project.py --config1 //for time X
  Python3 project.py --config2 //for time Y
  </code></pre>
  
  <p>...and so on, of course there are different start and endtimes declared in the config file</p>
  
  <p>The goal is that the configurations for the start- and endtime are not hard-coded in the main project.</p>
  
  <p>What I tried until now:</p>
  
  <pre><code>commandLineArgumentParser: ArgumentParser = argparse.ArgumentParser()
  commandLineArgumentParser.add_argument("-config1", "--config1", help="Config file 1")
  commandLineArgumentParser.add_argument("-config2", "--config2", help="Config file2")
  commandLineArguments = commandLineArgumentParser.parse_args()
  config1= commandLineArguments.odessa
  
  
  starttime = config['Parameter']['starttime']
  endtime = config['Parameter']['endtime']
  </code></pre>
  
  <p>But this didn´t work
  Anyone has an idea?</p>
  
  <p>Thanks a lot!</p>