my Python program is slow and I wanted to test if it would speed up if I complied it (with code optimization) and executed it afterward.
So what are the terminal commands to do so? I'm searching for something like
pythoncompile -optimize my_code.py my_compiled_code.out
pythonexecute my_compiled_code.out
Thank you