Hi, I have a Python script which accepts a XML file as input and then processes it and creates another file.
Now the way I have to run this program in terminal (mac) is:
ttx myfile.xml
And it does the job.
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.
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?
Thanks a lot