LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Programming (https://www.linuxquestions.org/questions/programming-9/)
-   -   python webpage (https://www.linuxquestions.org/questions/programming-9/python-webpage-383404/)

master 11-15-2005 12:59 PM

python webpage
 
has any body created a web page just using python?
Thanks nige

nephish 11-15-2005 01:27 PM

Yup, works quite nicely.
you use the cgi module and make sure (if you use apache) that its module is enabled in your /etc/http.conf

does great !

shanenin 11-15-2005 02:33 PM

I am a novice python programmer, but do not know anything about web programming. When you say using the cgi module, does that mean you do not use html, or do you use python(cgi) in place of php?

nephish 11-15-2005 02:49 PM

yes, you use the python script in your cgi folder.

here is an excellent tutorial here
that will get you started.

first off though, you must have the python module cgi installed and have it load when your server starts.

if you could, please let me know what distrobution of linux or unix you are using, and which web server you are using and we can help you out even more.

good luck!

master 11-20-2005 01:59 PM

Hello thanks for your reply,what i would like to know is can i start this web page say working from linux then continue making it using windows,also whats the chance on you showing your source so i can have an example.so as to give me something to work from.
Thanks nige

nephish 11-20-2005 02:21 PM

sure, i would be happy to get you some examples. Mostly simple forms and such.

i dont know about the windows part, alas, i have only used linux for the past 3 years.

pm me and i will get some examples to you.


All times are GMT -5. The time now is 06:05 PM.