Skip to content

Instantly share code, notes, and snippets.

What would you like to do?
Submission to the PyConlineAU2020 Rube Codeberg competition
#!/usr/bin/env python3
from bs4 import BeautifulSoup
def decl(l): return lambda f: lambda: l + f()
def decp(f): return lambda: print(BeautifulSoup(f(),'html.parser').prettify(), end='')
@decl(' ')
def main(): return ''
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment