title: How to use a config file to run a python file multiple times with different settings?
body: <p>I have one <strong>python script</strong> with it's settings in one seperate <strong>json config file</strong>. The json file looks like this: </p>
  
  <pre><code>{
    "connection" : {
        "db_server" : "server",
        "db_name" : "table1", 
        "db_user" : "user1", 
  }}
  </code></pre>
  
  <p>Now I need to run the same python file more than one time, each with other settings in the config file. The other settings would look like this:</p>
  
  <pre><code>{
    "connection" : {
        "db_server" : "server",
        "db_name" : "table2", 
        "db_user" : "user2", 
  }}
  </code></pre>
  
  <p>I don't need to change anything in the Python script. I open the json file in my Python script like this:</p>
  
  <pre><code>with open('settings.json') as json_data_file:
      data = json.load(json_data_file)
      json_data_file.close()
  </code></pre>
  
  <p>Since you cannot add comments in a json file, I don't know the easiest way to do this. I want the Python script to run simultaneously two times, each time with other settings for the json file.</p>
  
  <p>Thanks in advance!</p>