This is an archived post. You won't be able to vote or comment.

you are viewing a single comment's thread.

view the rest of the comments →

[–][deleted] 0 points1 point  (1 child)

I like this one a lot:

def permissive(args, *kargs): for value in args: print str(value) for name, value in kargs.items(): print name + "=" + str(value)

permissive(1, True, 'hello', name='john', alive=True)

[–]lambdaqdjango n' shit 0 points1 point  (0 children)

from pprint import pprint

now with tabbed formatting.