I am relativly new to Python & so far i find it to be exelent language for the sort of programming i do "personal & fun" with lots of potential.
The reson behind my question is i have seen that modules are partialy compiled the first time they are imported, dose this result in any significant performace gain.
what i mean is should i write my app as one big script or create a simple wrapper app to call is as a module?
where myapp.py is the full application.
The reson behind my question is i have seen that modules are partialy compiled the first time they are imported, dose this result in any significant performace gain.
what i mean is should i write my app as one big script or create a simple wrapper app to call is as a module?
Code:
import myapp
myapp
where myapp.py is the full application.