How are you using Python?

Gerhard Haering gerhard.haering at gmx.de
Sat Aug 3 10:47:31 CEST 2002


* Will Stuyvesant <hwlgw at hotmail.com> [2002-08-03 01:35 -0700]:
> del *.pyc
> python %1 %2 %3 %4 %5 %6 %7 %8 %9
> 
> In linux that script would be something like:
> rm *\.pyc
> python $*

What's the point of deleting the .pyc files? Unless you have problems with your
computer clock, I see absolutely no need for this.

The problem Siegfried mentioned sounded like a misunderstanding of the way
reload works on modules to me (it cannot work with "from ... import ..." and of
course it cannot magically clone, update and rebind existing references).

Gerhard
-- 
mail:   gerhard <at> bigfoot <dot> de       registered Linux user #64239
web:    http://www.cs.fhm.edu/~ifw00065/    OpenPGP public key id 86AB43C0
public key fingerprint: DEC1 1D02 5743 1159 CD20  A4B6 7B22 6575 86AB 43C0
reduce(lambda x,y:x+y,map(lambda x:chr(ord(x)^42),tuple('zS^BED\nX_FOY\x0b')))




More information about the Python-list mailing list