python and xitami

Thread Solved

Join Date: Dec 2008
Posts: 3
Reputation: ctaroz is an unknown quantity at this point 
Solved Threads: 0
ctaroz ctaroz is offline Offline
Newbie Poster

python and xitami

 
0
  #1
Dec 3rd, 2008
can somebody help an old man?
I started to study Python and I'm OK with IDLE. But I cannot understand how to use it as a server language with my local server Xitami (that I use very well with PHP).
Please help me: I need very clear instructions
Thank you, greetings from our beautiful Italy
Carlo
Reply With Quote Quick reply to this message  
Join Date: Dec 2006
Posts: 1,008
Reputation: woooee is a jewel in the rough woooee is a jewel in the rough woooee is a jewel in the rough 
Solved Threads: 285
woooee woooee is offline Offline
Veteran Poster

Re: python and xitami

 
1
  #2
Dec 3rd, 2008
Assuming that the server belongs to your ISP, you want to first ask them if Python is supported. It usually is, and they probably have some examples of the types of things they allow. Unlike using IDLE, the program file would be run from the command line or another program and how you do that would depend in part on which operating system you are using. This is the web programming page on the Python Wiki (and may be more than you want right now) http://wiki.python.org/moin/WebProgramming
Last edited by woooee; Dec 3rd, 2008 at 6:12 pm.
Reply With Quote Quick reply to this message  
Join Date: Dec 2008
Posts: 3
Reputation: ctaroz is an unknown quantity at this point 
Solved Threads: 0
ctaroz ctaroz is offline Offline
Newbie Poster

Re: python and xitami

 
0
  #3
Dec 3rd, 2008
thanks woooee, Xitami runs locally on my PC (Windows XP). It has been correctly set for Python. I know that I should use lrwp, but I don't know how to do it. When I call my program in python from my browser (http://localhost/myprog.py) I can't get the HTML code in my browser, even if I import lrwplib.py module.
Carlo
Reply With Quote Quick reply to this message  
Join Date: Dec 2008
Posts: 3
Reputation: ctaroz is an unknown quantity at this point 
Solved Threads: 0
ctaroz ctaroz is offline Offline
Newbie Poster

Re: python and xitami

 
1
  #4
Dec 4th, 2008
I found a complete resolution of my problems here:

http://www.cs.virginia.edu/~lab2q/lesson_1/

(a great tutorial by prof. Paul Reynolds, U.of Virginia)
Carlo
Reply With Quote Quick reply to this message  
Reply

This thread has been marked solved.
Perhaps start a new thread instead?
Message:



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