944,074 Members | Top Members by Rank

Ad:
  • Python Discussion Thread
  • Unsolved
  • Views: 1297
  • Python RSS
Jun 7th, 2007
0

"Hosts script: Python"

Expand Post »
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.
Similar Threads
Reputation Points: 10
Solved Threads: 0
Junior Poster in Training
Prahaai is offline Offline
59 posts
since May 2005
Jun 17th, 2007
0

Re: "Hosts script: Python"

Look into modpython, django and cherrypy.
Reputation Points: 404
Solved Threads: 180
Nearly a Posting Virtuoso
bumsfeld is offline Offline
1,422 posts
since Jul 2005
Jun 17th, 2007
0

Re: "Hosts script: Python"

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!
Reputation Points: 10
Solved Threads: 0
Junior Poster in Training
Prahaai is offline Offline
59 posts
since May 2005

This thread is more than three months old

No one has posted to this discussion for at least three months. Please let old threads die and do not reply to them unless you feel you have something new and valuable to contribute that absolutely must be added to make the discussion complete. Otherwise, please start a new thread in this forum instead.
Message:
Previous Thread in Python Forum Timeline: find way out !!!
Next Thread in Python Forum Timeline: Newbie- Need Assistance





About Us | Contact Us | Advertise | Acceptable Use Policy
Forum Index | Build Custom RSS Feed


Follow us on Twitter


© 2011 DaniWeb® LLC