💘PyFuck Playground
PyFuck Script
from pyfuck import PyFuck
def make_pyfuck(*ags, **kwgs):
python_code = Element("python-script").element.value
pyfuck = PyFuck.make_pyfuck(python_code)
pyscript.write('pyfuck-script', f"exec({pyfuck})")
pyscript.write('copy-button', "Copy to Clipboard")
button = Element('pyfuck-button')
button.element.onclick = make_pyfuck