title: Create bash file using python
body: <p>This is parameter that i want to run:</p>
  
  <pre><code>cd ../linux-3.11/; cp arch/x86/configs/byt_32_tz_emgd_defconfig .config; make ARCH=i386 oldconfig; make ARCH=i386 -j 4
  </code></pre>
  
  <p>I want this to save to bash file using python.
  I want it run exactly as user input into linux command (without semicolon) because of path issue.</p>
  
  <p>Please provide me some simple example how create bash file and run it in python script.</p>