I am new to python and I am wondering if there is a way to take a python script and turn it into an object of some kind such that the python system doesn't have to take the script and compile it down to python code every time i try to run the script in my program.
I have a lot of scripts and they are getting used a lot so this is a performance question really.
If anybody knows how to take the .py file and "compile" it into byte code that i can pass to python directly I would appreciate it. I have seen people talk about compiling the script but it seems like it is a pre-run time operation and I need something that is during run time because my scripts can change during run time if the user wants.