Clarifications on a python script file
<p>Just need some clarification on how to design a python script file  test.py.</p>

<ol>
<li><p>When defining functions, do they have to go on the top of the file right after the imports?</p></li>
<li><p>should I be doing that <strong>main</strong> check in my file?</p></li>
<li><p>I want to run this file on my server as a cron job.  If the file gets too big (I have my sqlalchemy definitions in it also), how can I break the file into multiple files?  I want this easy to deploy by just dropping the files into a folder in my server.</p></li>
</ol>
