[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Python?



At 10:13 AM 5/4/01 -0400, you wrote:
>What concerns me is the .py & .pyc files are both on the CD and it
>would seem like python would have a difficult time creating a new
>.pyc file on a _CDR_ automatically.
>
>However, I changed ONLY the .py file on the CD and it seemed to work
>okay.  Maybe the installer copies the files to HDD or ram disk first?
>
>In any case, I'd like to create a new .pyc file on the CD just to be
>safe.  If I can figure out how  . . .

edit and save the .py file

root@samwise:test # ll mime*
-rwxr-xr-x  1 root  wheel  7897 Mar 14 12:56 mime_mailer.py

root@samwise:test # python
Python 2.0 (#2, Jan 11 2001, 17:22:19)
[GCC 2.95.2 19991024 (release)] on freebsd4
Type "copyright", "credits" or "license" for more information.
 >>> import mime_mailer
 >>> (Ctl-D to exit)

root@samwise:test # ll mime*
-rwxr-xr-x  1 root  wheel  7897 Mar 14 12:56 mime_mailer.py
-rw-r--r--  1 root  wheel  8307 May  4 10:25 mime_mailer.pyc