On Sunday, November 17, 2013 9:37:31 PM UTC+7, Anthony wrote: > > Python will create a .pyc file for any module (same for modules in > web2py). However, unlike in Django, web2py model and controller files are > not Python modules. > so that's the reason, why only in modules folder, web2py automatic generate *.pyc files..
> Instead, they are executed by the framework. The advantage is that changes > are active immediately, without needing to restart the web server. Of > course, you can compile the web2py model and controller files, but you must > do that as an explicit step (usually only in production once you have > finalized the code). Note, when you compile a web2py application (which you > can do in the admin interface), it also compiles the views, not just models > and controllers. > > Anthony > > thank you so much for detail explaination, anthony. best regards, stifan -- Resources: - http://web2py.com - http://web2py.com/book (Documentation) - http://github.com/web2py/web2py (Source code) - https://code.google.com/p/web2py/issues/list (Report Issues) --- You received this message because you are subscribed to the Google Groups "web2py-users" group. To unsubscribe from this group and stop receiving emails from it, send an email to web2py+unsubscr...@googlegroups.com. For more options, visit https://groups.google.com/groups/opt_out.