Monday, December 26, 2011

Re: Need new *pyc files

On Mon, 26 Dec 2011 01:35:40 -0800 (PST), Mohammad Shahid Siddiqui
<m.shahid.siddiqui@gmail.com> wrote:


>
>Also, I have moved the *pyc files. Now no new pyc files are getting
>generated. I want new as I have modified the source.

Normally, Python will create .pyc files when ever: a module is
imported and no .pyc file exists in the directory or, when the .pyc file
of an import has an older timestamp than the source .py file.

There may be a command line option to prevent generation of .pyc
files, but that is something you don't want. Similarly, Django may have
a configuration option controlling .pyc file generation.

Reasons a .pyc file may NOT be generated? Either the processing
importing the module does not have WRITE access to the directory, or the
process is not importing the file you think it is.
--
Wulfraed Dennis Lee Bieber AF6VN
wlfraed@ix.netcom.com HTTP://wlfraed.home.netcom.com/

--
You received this message because you are subscribed to the Google Groups "Django users" group.
To post to this group, send email to django-users@googlegroups.com.
To unsubscribe from this group, send email to django-users+unsubscribe@googlegroups.com.
For more options, visit this group at http://groups.google.com/group/django-users?hl=en.

No comments:

Post a Comment