Onexpr is used to cover the whole python program to one single expression. It can be just for fun, but can also be used to obfuscate the code
Onexpr is a cli tool, you can run it in the shell.
$ ./onexpr.py --input my_program.py --output obfuscated.py
- It still can't use
break
or the similar statements intry
block.