FRIHOST FORUMS SEARCH FAQ TOS BLOGS COMPETITIONS
You are invited to Log in or Register a free Frihost Account!

Starting out with Python




Ok, this is my first blog post....ever! I have never posted a blog before or commented on one before. I am hoping that this will turn out to be a good thing to do but hopefully it won't bite me in the butt.

What I am hoping to gain from this is to learn how to create a basic python web page. I have tried to use google app engine but have had problems using it on my local PC (both at work and at home). I really want to use bottle.py as it seems like the best version and quickest way to start a website. If anybody has any tips on this on frihost that would be great.

I hope to keep you abrest of my progress soon as I get my 5 posts (which appears to be a strange restriction but I am not the mayor here Smile

Best regards,
HS



2 blog comments below

Python is on my to learn list ....interested to know how you getting on.
ujjwalshrestha on Sat Feb 11, 2012 12:22 am
You can try the following code in python:

import cgi
print "Content-type: text/html\n\n"
print "<html><body>"
for i in range(0,5):
print "<h1>Hello World!</h1>"
print "</body></html>"
nfbueno78 on Sat Feb 11, 2012 4:19 pm



FRIHOST HOME | FAQ | TOS | ABOUT US | CONTACT US | SITE MAP
© 2005-2011 Frihost, forums powered by phpBB.