"Hosts script: Python"

Please support our Python advertiser: Programming Forums - DaniWeb Sister Site
Reply

Join Date: May 2005
Posts: 57
Reputation: Prahaai is an unknown quantity at this point 
Solved Threads: 0
Prahaai's Avatar
Prahaai Prahaai is offline Offline
Junior Poster in Training

"Hosts script: Python"

 
0
  #1
Jun 7th, 2007
I have a web site. My webhost supports Python scripts. I am pretty good at python.

The question is:
How can i make a web-page written in python, so that after i upload it on the host server it looks just like a HTML page? (i mean, it is somehow like PHP scripting?) I have absolutely no idea how to do it.

And another question would be:
If i want to test my python-web-pages offline, just like PHP pages, what program should i use? (i checked the web, but i'm not sure, or i don't understand. Zope, Mailman, MoinMoin, PIL, Webware... ? I need something like this?)

Thank you very much.
There is an evil pixie scratching my neck.
Reply With Quote Quick reply to this message  
Join Date: Jul 2005
Posts: 1,221
Reputation: bumsfeld will become famous soon enough bumsfeld will become famous soon enough 
Solved Threads: 137
bumsfeld's Avatar
bumsfeld bumsfeld is offline Offline
Nearly a Posting Virtuoso

Re: "Hosts script: Python"

 
0
  #2
Jun 17th, 2007
Look into modpython, django and cherrypy.
Should you find Irony, you can keep her!
Reply With Quote Quick reply to this message  
Join Date: May 2005
Posts: 57
Reputation: Prahaai is an unknown quantity at this point 
Solved Threads: 0
Prahaai's Avatar
Prahaai Prahaai is offline Offline
Junior Poster in Training

Re: "Hosts script: Python"

 
0
  #3
Jun 17th, 2007
Thank you, thank you. I checked the names you told me, but i have another problem...

I believe that these programs (django, cherry) must be installed on my computer...
And what if i have a web host and i want to write my pages in something similar to python script, make all the background calculations in Python but print the result as a normal HTML page? I am working on something very complex and i really hate PHP, though it has exactly what i need...
What should my web host have to be sure that my pages will work correctly? I mean, i want the normal user to see just normal HTML pages, with images and tables and all. Just normal HTML. But inside, this happens because of all the Python classes and functions.
I checked a few hosts that support Python... it means that i can make my script in Python and print the results as HTML or ... ?

I'm sorry, my questions are very newbie and stupid, but i don't really understand these server things...
Pleaaaaase help!
There is an evil pixie scratching my neck.
Reply With Quote Quick reply to this message  
Reply

This thread is more than three months old.
Perhaps start a new thread instead?
Message:



Similar Threads
Other Threads in the Python Forum
Thread Tools Search this Thread



About Us | Contact Us | Advertise | DaniWeb | Acceptable Use Policy | RSS Feed

©2003 - 2009 DaniWeb® LLC