fork(1) download
  1. import sys
  2. __builtins__.__import__ = lambda x, *_: type(x, (object,), { '__getattr__': lambda *y: type(x+'2', (object,), { '__call__': lambda *z: sys.stdout.write('HONK\n') and None, '__str__': lambda s: 'HONK', '__repr__': lambda s: 'HONK' })() })()
  3.  
  4. import os
  5. os.exit()
  6. print(os.lol)
Success #stdin #stdout 0.03s 9440KB
stdin
Standard input is empty
stdout
HONK
HONK