Mailing List
Home
Forum Home
Softimage
Carrara
trueSpace
Dir3d-l
Maya - a powerful 3D animation and visual effects software
Macromedia Flash Development
Subjects
Cameras
scaleDown command
black out solved
Aircraft Tutorial
Mathematical XYZ ?
Its done This vs That
Its done first week
recommendations for screen video captures?
3DExplorer "Oddity "
New Director
ProTeam renewals
Fuel 's new websites (X post)
Blue peter create a make toy
targeting groups question
XPost: Shockwave 3D game ( sort of )
RES: RES: RES: Fish Modeling
Emitting particles from object intersection
Fuel 's new websites (X post)
Texturing
Big Break Contest Videos
New Plugins
Models and Texture on my updated site
Error Installing Patch tS6 6
Plasma?
Looking for Inspiration
Weird EMail Q
It 's done first week ?
Cherry not cranberry
New game
Camera Animation Problem
Particle plugins?
 
Python pyc files

Python pyc files

2005-05-13       - By Alan Jones

 Back
Reply:     1     2     3     4     5     6  

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