My First Python Program

Here’s my hello world moment for the programming language Python:

#!/usr/local/bin/python
print "Content-type: text/html\n"
print "hello"
if 1 == 0:
  print "1 is 0"
else:
  print "1 is not 0"
print "

" print "word "*10

Which results in

hello 1 is not 0

word word word word word word word word word word

Expect more new stuff coming soon. Onward with a vengeance!

Leave a Comment

Your email address will not be published. Required fields are marked *

This site uses Akismet to reduce spam. Learn how your comment data is processed.

This post accepts webmentions. If you link to and write about this on your website, enter the web address of your post below: