Let's start learning Python!
print "Hello World!"
The print command allows you display commentaries as the program execute.
This is the most simple way of letting the user know of something is going on. Also this could be used as a simple, but quite rudimentary, way of debugging. While this works ( most of the time ) It's not recommended to use on extensive and big projects.
Obviously This can be written a bit more complicated
def main(): print "Hello World" __name__ == "__main__": main()
Having the the __name__ syntax allows us to import that "module" without executing the main function. I'll show on a different tutorial how to use it.