Python pyc files 2005-05-13 - By Alan Jones
Back Very helpful thanks - though I was after more specifics actually :-) is it just "python filename" to load it?
Cheers,
Alan.
On 5/13/05, Jerry Gamache <jerryg@(protected)> wrote: > Usually just importing or running the .py file in Python causes the Python interpreter to automatically generate a .pyc file if the interpreter has write permissions to that folder. That is something to consider when net-installing XSI Linux on a read-only server because each .py file should be loaded once by the superuser to make sure the .pyc is created and can be used to speed up Python execution. You will notice that Debian's apt and RedHat's rpm do that automatically as a post-install step since normal users are not privileged to write in /usr. > > Did this answer you question? > > > -- --Original Message-- -- > From: owner-xsi@(protected) [mailto:owner-xsi@(protected)]On Behalf > Of Alan Jones > Posted At: Friday, May 13, 2005 8:42 AM > Posted To: xsi > Conversation: Python pyc files > Subject: Python pyc files > > Hi All, > > Sorry for the basic question, but googling was leading me to topics > way off. I'm just wondering what I could use to generate pyc files > from py files from the command line in linux? > > cheers, > > Alan. > > --- > Unsubscribe? Mail Majordomo@(protected) with the following text in body: > unsubscribe xsi > > --- > Unsubscribe? Mail Majordomo@(protected) with the following text in body: > unsubscribe xsi >
--- Unsubscribe? Mail Majordomo@(protected) with the following text in body: unsubscribe xsi
|
|