Last active
September 10, 2025 16:51
-
-
Save jdsiddon/5e670554f0aaf2528100e83341c24fd4 to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| regex = 'parameter_1' | |
| def serialize_function(func): | |
| pass | |
| def foo(): | |
| user_function = '' \ | |
| 'test_to_print = \'HELLO WORLD\' \n' \ | |
| 'print(test_to_print)' \ | |
| '' | |
| return user_function | |
| def main(): | |
| message = foo() | |
| exec(message) | |
| print("start print function") | |
| print("---", message, "---") | |
| print("end print function") | |
| main() | |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment