Unleash the snake!
February 8, 2012 9:24 AM Subscribe
How do I put my stupid simple Python scripts... on the Internet
posted by Shepherd to Computers & Internet (4 answers total) 6 users marked this as a favorite
Working my way through Learn Python the Hard Way, and it's pretty cool, but I'd love to be able to learn by doing, more than by rote code: a challenge I'd like to set for myself is to try to create something useful out of every lesson, and toss it online for other people to see/use. This would also require me to bone up on my CSS and page design skills in tandem with the Python-learning.
I'm sure the book will get around to how to do this eventually (or not), but I'd like to start doing it now, and have a page of "stuff I made while learning Python," each linking to its own subpage of the, well, stuff I learned.
So I'm looking for lessons on how to take "helloworld.py" and turn it into "helloworld.html," where the Python script executes in a nice Web page environment.
- I'm an egotistical SOB. I would like to pretty up and keep these pages as part of my personal site, not stick them in a public code bin.
- My host (Webfaction) is apparently excellent as a Python/Django host, so no worries there.