User Name Password Register
DaniWeb IT Discussion Community
All
What is DaniWeb IT Discussion Community?
You're currently browsing the Python section within the Software Development category of DaniWeb, a massive community of 391,626 software developers, web developers, Internet marketers, and tech gurus who are all enthusiastic about making contacts, networking, and learning from each other. In fact, there are 2,743 IT professionals currently interacting right now! Registration is free, only takes a minute and lets you enjoy all of the interactive features of the site.
Please support our Python advertiser:
Views: 714 | Replies: 2
Reply
Join Date: May 2005
Location: Romania.
Posts: 42
Reputation: Prahaai is an unknown quantity at this point 
Rep Power: 4
Solved Threads: 0
Prahaai's Avatar
Prahaai Prahaai is offline Offline
Light Poster

"Hosts script: Python"

  #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.
AddThis Social Bookmark Button
Reply With Quote  
Join Date: Jul 2005
Location: France
Posts: 965
Reputation: bumsfeld is an unknown quantity at this point 
Rep Power: 5
Solved Threads: 42
bumsfeld's Avatar
bumsfeld bumsfeld is offline Offline
Posting Shark

Re: "Hosts script: Python"

  #2  
Jun 17th, 2007
Look into modpython, django and cherrypy.
Should you find Irony, you can keep her!
Reply With Quote  
Join Date: May 2005
Location: Romania.
Posts: 42
Reputation: Prahaai is an unknown quantity at this point 
Rep Power: 4
Solved Threads: 0
Prahaai's Avatar
Prahaai Prahaai is offline Offline
Light Poster

Re: "Hosts script: Python"

  #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  
Reply

Only community members can participate in forum threads. You must register or log in to contribute.

Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)

 

DaniWeb Python Marketplace
Thread Tools Display Modes

Similar Threads
Other Threads in the Python Forum

All times are GMT -4. The time now is 12:44 am.
Forum system based on vBulletin Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
©2003 - 2008 DaniWeb® LLC