title: Sending values to python script then running
body: <p>Sorry guys, I am a php dev not a python one. This is probably very basic for someone. I want to import a python script, but send a value (id) to it for it to run. I have a 'parent' page and import one after the other scripts and run them when they return expected values. Using python 3</p>
  <pre><code>On parent script...
  
  import script1 &lt;&lt; give id
  script 1 get the id and run a query and return values
  
  impot script2 &lt;&lt; send id
  script 2 get the id and run a query and return v
  </code></pre>