Running a Python program on a web server
<p>I have a Python script which accepts a XML file as input and then processes it and creates another file.</p>

<p>Now the way I have to run this program in terminal (mac) is:</p>

<blockquote>
  <blockquote>
    <blockquote>
      <p>ttx myfile.xml</p>
    </blockquote>
  </blockquote>
</blockquote>

<p>And it does the job.</p>

<p>Now I am trying to install this program on a web server.
I have all the necessary files installed as Modules under my Python installation.</p>

<p>My problem is, How can I pass a file to this Python script on a web server?
Should I be using File Upload method? or urllib2? or something else?</p>

<p>Thanks a lot</p>
