Hello World!
from __future__ import print_function
def hello_world():
return "Hello World!"
if __name__ == "__main__":
print(hello_world())
Updated: 2013-12-15
New blog! I thought best to accentuate “Hello World” with an exclamation point. [1]
This Blog
This blog is created from reStructuredText sources hosted by GitHub which are processed by Tinkerer (source), which extends Sphinx (source, wikipedia).
Syntax Highlighting
Code syntax highlighting – pygments-style-jellywrd – is adapted from jellybeans.vim and a PatchColors function in my dotvim Vim (source, wikipedia) configuration with a Python (source, wikipedia) script called vim2vim, which generates the requisite Pygments (source) style.
[1] | TIL that “Hello World” originated from The C Programming Language by Kernighan and Ritchie (1978) [2] |
[2] | https://en.wikipedia.org/wiki/Hello_world_program#History |