[Mailman-Users] .py and .pyc files
kremels at kreme.com
Thu May 5 17:18:25 CEST 2011
On May 4, 2011, at 9:59, LuKreme <kremels at kreme.com> wrote:
> So, it looks like mm_cfg.py is the only .py that gets recompiled automatically, right? So how do I recompile SpamDetect.py after making my changes?
With further reading into Python, it appears that one of Python's features Is that it automatically recompiles .py files to .pyc files when needed, as soon as it triggers an import of the file, so there is nothing I need to do after changing the source and restarting mailman, it will just work.
Is that correct?
More information about the Mailman-Users