title: How to schedule and automate python script
body: <p>I'm rather green in python development but learning nevertheless.
  I've written some python codes but they are mostly one-off use and to be run at command line. I still have no idea how to automate and schedule my codes. Lets say I have: </p>
  
  <ol>
  <li>written a python script that pulls some CSV data from API and saves it in <code>/tmp</code>. </li>
  <li>written another script to ingest the csv data and transform it into XML per line.</li>
  </ol>
  
  <p>Each time I want to do this, I find myself doing: </p>
  
  <pre><code>$ python getdata.py 
  $ python converttoxml.py
  </code></pre>
  
  <p>In shell, I think one can write a wrapper script and cron it. Right? If so, how is this done in the world of python? Bear in mind we have to include all python <code>libraries/</code> modules used, too.</p>
  
  <p>P.S. developing in Linux environment using PyCharm.</p>