Hello,
I'm new to Python and programming in general, but created a web page that combines Python and HTML, allowing users to enter a name. The program is currently set up to save the name in a .txt file, then I ftp the .txt file to my local PC and run the Python program; the outcome is a new .txt file (adding the new names to a list of previously entered names) which I then ftp back to the server to be displayed on the web page. Sound like a lot of work, right?
What I want to do is automate this process so the Python program runs on the server. Ideally, I would like to program to run when a new name is entered, but I think this may be a bit of a challenge for a newbie like me. Therefore, an easier solution is if the program ran every day at a specific time, this is where I get lost.
Can someone guide me as to the best way to accomplish this task?
Thanks for your help!
Last edited by pluto on Mon May 21, 2007 4:17 pm; edited 1 time in total
I'm new to Python and programming in general, but created a web page that combines Python and HTML, allowing users to enter a name. The program is currently set up to save the name in a .txt file, then I ftp the .txt file to my local PC and run the Python program; the outcome is a new .txt file (adding the new names to a list of previously entered names) which I then ftp back to the server to be displayed on the web page. Sound like a lot of work, right?
What I want to do is automate this process so the Python program runs on the server. Ideally, I would like to program to run when a new name is entered, but I think this may be a bit of a challenge for a newbie like me. Therefore, an easier solution is if the program ran every day at a specific time, this is where I get lost.
Can someone guide me as to the best way to accomplish this task?
Thanks for your help!
Last edited by pluto on Mon May 21, 2007 4:17 pm; edited 1 time in total
