Demonstrator for case-insensitive execution of Python source code.
-
Dynamically "fold-execute" code via
exec
from pyfold.builtins import exec as fexec pyf_code = """ a = "Hello World!" print(A) """ fexec(pyf_code)
-
Import "fold-modules" via
.pyf
cat sample.pyf python3 -c " import pyfold.imports import sample "