Why don't I get a .pyc file?
Richard van de Stadt
stadt at cs.utwente.nl
Tue Sep 19 09:48:01 EDT 2000
More information about the Python-list mailing list
Tue Sep 19 09:48:01 EDT 2000
- Previous message (by thread): Python Tutorial: double single quotes?
- Next message (by thread): Why don't I get a .pyc file?
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
Jeff Kunce wrote: > As the others said, The .pyc is normally generated on *import* from a .py > file. > > *But*, if you don't have write permissions on the directory > containing the .py file, the import will work but no .pyc will be created. > > This situation can happen easily with python applications that are > launched by a CGI script. The web user usually doesn't have write > permission to the code directories, the .pyc's never get generated, > and performance suffers. Hmmm. That's a good one. Are there numbers about how much, in general, the performance loss is if .pyc files cannot be generated? Richard.
- Previous message (by thread): Python Tutorial: double single quotes?
- Next message (by thread): Why don't I get a .pyc file?
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
More information about the Python-list mailing list