... It's very common use in classic Python, and sometimes handy for interactive or near-one-liner use, but in any "serious" program explicitly closing the file...
Alex Martelli
aleax@...
Aug 21, 2003 6:28 am
106143
... should be: http://hem.fyristorg.com/matben/qt/ -- http://mail.python.org/mailman/listinfo/python-list...
Bror Johansson
bror.johansson@...
Aug 21, 2003 6:27 am
106142
... I have about no idea of what that means. Could you explain without using syntax? My guess is that it caches function calls, based only on the variable...
Andrew Dalke
adalke@...
Aug 21, 2003 6:27 am
106141
... I think (but will gladly stand corrected if I'm wrong!) that this is a misinterpretation of some code I posted -- the C code (crazily) used pow(x,2.0), the...
Alex Martelli
aleax@...
Aug 21, 2003 6:26 am
106140
Andrew Dalke wrote: ... Just as prevalent is the wish to please EVERYone -- that's how one gets, say, PL/I, or perl... by NOT deliberately refusing to "get...
Alex Martelli
aleax@...
Aug 21, 2003 6:24 am
106139
... Something I rather don't like given how much old code I have which uses 'file' as a variable. Ditto for quite a few pieces of the standard library. Andrew...
Andrew Dalke
adalke@...
Aug 21, 2003 6:14 am
106138
Andrew Dalke wrote: ... Back when I gave Eiffel a serious try, I easily slid into [the equivalent of]: itsAtom = Atom() [for an instance member variable --...
Alex Martelli
aleax@...
Aug 21, 2003 6:14 am
106137
... Alex ... Typo? Shouldn't that be a "." instead of a "."? In any case ... Traceback (most recent call last): File "<interactive input>", line 1, in ? File...
Andrew Dalke
adalke@...
Aug 21, 2003 5:57 am
106136
... I'm going to guess. I'll bet you used "from os import *" somewhere above that. os has a function "open" that closely interfaces the operating system's...
Carl Banks
imbosol@...
Aug 21, 2003 5:56 am
106135
derek / nul wrote: ... Change the statement to: codecs.lookup(codecs,BOM_UTF16_LE) Alex -- http://mail.python.org/mailman/listinfo/python-list...
Alex Martelli
aleax@...
Aug 21, 2003 5:54 am
106134
Kenny Tilton wrote: ... Hear, hear! Or one you just can't stand the nested-parentheses idea, then that's what Dylan was designed for: much the same semantics ...
Alex Martelli
aleax@...
Aug 21, 2003 5:51 am
106133
"dan" ... The extension modules run at optimized C speed because they *are* optimized C. For pure python applications, Psyco can provide just-in-time native ...
Raymond Hettinger
vze4rx4y@...
Aug 21, 2003 5:51 am
106132
"Erik Lechak" <prochak@...> wrote in message news:1f0bdf30.0308202049.7d251469@.... ... Not that I know of ... List comp builds a...
Terry Reedy
tjreedy@...
Aug 21, 2003 5:27 am
106131
"Erik Lechak" <prochak@...> wrote in message news:1f0bdf30.0308202049.7d251469@.... ... Google may prove me wrong, but this looks like...
Raymond Hettinger
vze4rx4y@...
Aug 21, 2003 5:14 am
106130
I'm sure this is a simple newbie problem, but I can't figure it out for the life of me. The code: import sys, os input = open("example.py","r") Gives me the...
Kris Caselden
google@...
Aug 21, 2003 5:13 am
106129
Alex Martelli <aleax@...> wrote in message news:<ExR0b.21526$zN5.666078@...>... ... (...) ... Macros, as found in Common Lisp, do not change the...
Olivier Drolet
trimtab@...
Aug 21, 2003 5:13 am
106128
... Well, that's what I did in the end. I compiled Qt 3.1.2 from sources and now it works perfectly. Thanks! -- Stelian Iancu Linux registered user 287835 Be...
Stelian Iancu
stelian.iancu@...
Aug 21, 2003 5:09 am
106127
Hello all, I wrote the code below. It is simply a dictionary that uses regular expressions to match keys. A quick look at _test() will give you an example. ...
Erik Lechak
prochak@...
Aug 21, 2003 4:54 am
106126
"Irmen de Jong" <irmen@-NOSPAM-REMOVETHIS-xs4all.nl> schrieb im Newsbeitrag news:3f43e5cf$0$49115$e4fe514c@.... ... This are my advice as well....
Michael Peuser
mpeuser@...
Aug 21, 2003 4:47 am
106125
... When there's a stinging insect flying around the room, I like to be able to see it. Also, his perspective is so different from mine, I find it useful to be...
Nick Vargish
nav+posts@...
Aug 21, 2003 4:42 am
106124
Who else? -- CARL BANKS http://www.aerojockey.com/software "You don't run Microsoft Windows. Microsoft Windows runs you." -- ...
Carl Banks
imbosol@...
Aug 21, 2003 4:42 am
106123
Warning - a possible virus was detected in your message to: paul.v.biron@... -- http://mail.python.org/mailman/listinfo/python-list...
Mail000.Bounces@...
Aug 21, 2003 4:42 am
106122
... You know this proverb: "change the world, start with yourself" ? -- JanC "Be strict when sending and tolerant when receiving." RFC 1958 - Architectural...
JanC
usenet_spam@...
Aug 21, 2003 4:42 am
106121
In article <c60a5a12.0308201816.22f4c9c7@...>, ... Brandon's not very interesting (or only as interesting as the spectacle of someone behaving...
David M. Cook
davecook@...
Aug 21, 2003 4:19 am
106120
Hi, When using os.popen, or popen2.Popen3 objects, I see a situation when the child process sometimes doesn't get terminated, even when the child program has...
David McNab
postmaster@...
Aug 21, 2003 4:17 am
106119
... I'd volunteer, but the page would end up turning into an anti-Perl tirade. -- CARL BANKS http://www.aerojockey.com/software "You don't...
Carl Banks
imbosol@...
Aug 21, 2003 4:04 am
106118
... Sounds familiar, you're not the only "sick puppy"... ;-) -- JanC "Be strict when sending and tolerant when receiving." RFC 1958 - Architectural Principles...
JanC
usenet_spam@...
Aug 21, 2003 3:52 am
106117
... Add this to your .vimrc: if !exists("autocommands_loaded") let autocommands_loaded=1 augroup filetypedetect au! BufRead,BufNewFile *.pyx setfiletype python...
David M. Cooke
cookedm+news@...
Aug 21, 2003 3:26 am
106116
... python.vim seems to work well enough, my filetype.vim has this now: " Python au BufNewFile,BufRead *.py setf python " PyRex au BufNewFile,BufRead *.pyx...
Simon Burton
simonb@...
Aug 21, 2003 3:15 am
106115
Ramon Leon Fournier <moncho.leon@...> wrote in message news:<bhtsck$37jp5$1@...>... ... Actually, that's not a very good example -...