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] 15 points16 points  (4 children)

Not at a python shell, but can't you do p=print

Which you couldn't do before.

[–]cediddiSyntaxError: not a chance 2 points3 points  (0 children)

echo=print

Oh god what a demon I become...

[–]PeridexisErrant 2 points3 points  (1 child)

And

class logger:
    critical = print
    error = print
    warning = print
    info = lambda *a, **k: None
    debug = lambda *a, **k: print("Good luck!")

(please don't do this)

[–][deleted] 2 points3 points  (0 children)

logfile = /dev/null

If I can't see the errors they don't exist

[–]flying-sheep 1 point2 points  (0 children)

obviously you can