Categories
- Blog (101)
- Lua (13)
- Miscellaneous (46)
- Photos (6)
- Programming (31)
- Python (15)
- Sample (3)
- Web Design (3)
- Writing (2)
- Portfolio (40)
- Snippets (27)
- Blog (101)
Tag Archives: world
Best Hello World App Ever :D
Written in Python
See http://failboat.me/2009/cute-functions-creating-pseudo-operators-in-python/ for more details.
#Hello World
class Operator(object):
def __init__(self, func, count=2):
self._func_ = func
self._args_ = []
self._count_ = count
def __ror__(self, first_arg):
self._args_.append(first_arg)
…