Can anyone explains the basics of using python to create web-pages. How do I write the code? How do I use it on the server?
I just learned the basics of Python software programming and I'm thinking it can be a good idea to stick to the same language for web applications.
But where to start??? I can't find any good beginner tutorials.
Okay... how do I configure my server to use .py files as cgi??? I have never been working with apache before so I have no clue at all. I search on the forum but I couldn't make the examples I found work.
Use Full path .. like C:\Program Files\Apache\cgi-bin or /usr/htdocs/cgi-bin .. I am not sure with PythonHandler it should be mptest ..please verify it.
Please change the file permission ... now it should be 644 .. make it 755. you dont need addhandler on frihost, they have already configured in apache.
Great to see some python resources on frihost, Im new to it having only discovered python a few days ago and I'm already programming away, its a great language to just get right into. I'm working on a MUD type game that will be mostly text based, I can read the room and character data in no problems, I cant seem to find information on how to write to the files tho!