+ 8
what is the difference between python before compile and after that?
its add faster vice versa ? please explain to me
5 Respostas
+ 3
if you mean difference between .py and .pyc its that .pyc are pseudo-precompilated python script and they are more fast to load (but not more fast to execute)
+ 8
thanks KrOW i understand now
+ 2
Silie 👍👍👍
+ 1
?
0
python automatically store .pyc after compiling first time for reuse further .
if your script(main.py) is importing your other module(ie man.py)
you can check after first time execution of your script, you can check that man.pyc will be present along with man.py it is python's virtue that it optimize the loading time for next time . as Krow explained .