I am currently making a program for a friend of mine, and ill needthe python script to run in a webpage. it basically just runs a loop checking for something and when that something appears it runs something else.

The website i need it to run on acts like a command prompt style thing, i think its called a DOS box, any ideas?

Well, the website isnt mine that im running the script on, nor is it the persons that i am making the script for. He just works on the website and im making a script that will make his job alot easier, but is it stilL CGI?

This might help http://pyjs.org/ but I'm really a "use the right tool for the right job" kind of guy, and Javascript is typically the right too for client-side dynamic behavior. Maybe pyjs would be great for you though, I've never used it and I believe it's relatively new, so it might have some time before it's really useful.

Join the #python-forum IRC channel on irc.freenode.net for off-topic chat!

Please prefer not to PM members. The point of the forum is so that anyone can benefit. We don't want to help you over PMs/emails/Skype chats that others can't benefit from