2012-12-15 10:16

Listings Demo

Nikola intends to let you show code easily via listings:

hello.py (Source)

#!/usr/bin/python

import sys


def hello(name='world'):
    greeting = "hello " + name
    print(greeting)


if __name__ == "__main__":
    hello(*sys.argv[1:])