I have python code that excepts to get arguments from CLI ( command line ). for an example :
python.py my_code first_arg
I am trying to build a script that get a long string of the above python code, then to compile it using the next functions: complile() && exec()
.
my problem is that I am not sure how should I use those function, in order to pass the compile code object the arguments that it excepts to get from Command line.