Search Discussions
-
I think everyone who used Python will agree that its syntax is the best thing going for it. It is very readable and easy for everyone to learn. But, Python does not a have very good macro ...
Mike420
Oct 3, 2003 at 5:23 am
Nov 1, 2003 at 4:27 am -
This message is testing the upgrade of python-list at python.org to Mailman 2.1.3. It was sent to the list via email. Please ignore. -Barry A non-text attachment was scrubbed... Name: not available ...
Barry Warsaw
Oct 11, 2003 at 12:05 am
Nov 18, 2003 at 6:14 am -
In the context of LATEX, some Pythonista asked what the big successes of Lisp were. I think there were at least three *big* successes. a. orbitz.com web site uses Lisp for algorithms, etc. b. Yahoo ...
Mike420
Oct 13, 2003 at 11:23 pm
Nov 8, 2003 at 1:16 pm -
I think others dropped the ball while trying to explain macros to non-Lispers recently. The examples I saw posted were either too difficult or easily doable without macros (maybe even easier). This ...
Mike420
Oct 6, 2003 at 11:34 pm
Nov 7, 2003 at 2:22 am -
Peter Norvig's creative thinking triggered renewed interest in PEP 289. That led to a number of contributors helping to re-work the pep details into a form that has been well received on the ...
Raymond Hettinger
Oct 23, 2003 at 7:58 pm
Nov 15, 2003 at 8:22 pm -
Hi, the < inequality test operator has been deprecated for a loooooong time. Is there a reason that it doesn't trigger a DeprecationWarning? $ python2.2 -Wall -c "print 0 < 0" $ python2.3 -Wall -c ...
Gerrit Holl
Oct 20, 2003 at 10:18 am
Oct 24, 2003 at 8:29 am -
Michael, That's the first definitive statement I've ever read about Jython not being limited by a GIL on multi-processor machines. Would the following statements be correct? 1. CPython has a Global ...
Alan Kennedy
Oct 9, 2003 at 3:05 pm
Oct 22, 2003 at 10:58 am -
Here I send it. Suggestions and all kinds of recomendations are more than welcomed. If it all goes ok, it'll be a PEP when I finish writing the code. Thank you. . Facundo ...
Batista, Facundo
Oct 17, 2003 at 8:55 pm
Oct 22, 2003 at 5:02 pm -
Many of our supporters have sent email asking for a reason why Rekall has been taken away from theKompany.com (TKC). Basically, the answer is TKC is bankrupt. TKC's team of developers have not been ...
John Dean
Oct 30, 2003 at 12:00 pm
Nov 7, 2003 at 6:38 pm -
I've been following the group a bit (somewhat loosely; discussions involving other languages or advanced concepts kind of lose me), and I see all this negativity (OMG Python's lambda is borken ...
KefX
Oct 28, 2003 at 11:12 am
Apr 13, 2004 at 2:18 am -
I've lost the original thread on my news reader so I'm opening a new one. First, i like the name ireverse, much better then inreverse (eek!). Just a simple comment/question: - Why a builtin function? ...
Gonçalo Rodrigues
Oct 29, 2003 at 11:09 am
Nov 6, 2003 at 12:02 am -
Hi, I recently read an advice here that one should try to use make and version control system even if you're the only one working on the program. Is that a good advice? How many of you do that? ...
AK
Oct 6, 2003 at 1:40 am
Oct 16, 2003 at 7:58 am -
(You need Mark Pilgrim's pygoogle, see http://diveintomark.org/projects/pygoogle/ , and a personal license to the google api, see http://www.google.com/apis/ , saved in a file such as "googlekey.txt" ...
Alex Martelli
Oct 31, 2003 at 11:30 am
Nov 12, 2003 at 10:49 pm -
If you want to do lots of different things, you really should be placing them in different functions: def deal_with_line_type_A(): # do stuff for lines of type A def deal_with_line_type_B(): # do ...
Ben Finney
Oct 15, 2003 at 4:54 am
Oct 21, 2003 at 2:33 am -
34
Timer
Does Python have a timer mechanism? i.e. an "after 500 milliseconds, run this bit of code" sort of thing?Derek Fountain
Oct 27, 2003 at 4:21 am
Oct 29, 2003 at 1:39 pm -
The glossary at <http://www.python.org/dev/doc/devel/tut/node16.html has the following definition for the GIL: Some parallelism??? Wouldn't it be more accurate to say "at the expense of parallelism?" ...
Luis P Caamano
Oct 2, 2003 at 5:37 pm
Oct 5, 2003 at 7:41 pm -
I am a new Python programmer and I am having a few difficulties. I love Perl and I am just trying to learn Python because it is used heavily at work. It looks pretty cool so I am diving in. I'm sure ...
Luther Barnum
Oct 26, 2003 at 12:34 am
Oct 27, 2003 at 8:00 am -
Based on your extensive feedback, PEP 322 has been completely revised. The response was strongly positive, but almost everyone preferred having a function instead of multiple object methods. The ...
Raymond Hettinger
Oct 28, 2003 at 6:22 pm
Nov 6, 2003 at 7:27 am -
hi there for somebody who wants tostart small/medium GUI apps with python: what's the best toolkit: tkinter, wxPython or what? stability, ease of use and portability between mac and windows are the ...
Leo
Oct 30, 2003 at 3:47 am
Nov 5, 2003 at 9:33 am -
Hi, quite often there is a need to just print out the items of a list. [ prt(x) for x in my_list ] that would be nice, except prt() does not exist, and print is a statement not a function, hence ...
Karl Scalet
Oct 8, 2003 at 9:32 am
Oct 10, 2003 at 1:50 pm -
27
Why Python style guide (PEP-8) says 4 space indents instead of 8 space??? 8 space indents ever ok??
Linux kernel style guide, Guido's C style guide and (I believe) old K&R style recommends 8 SPACES for indent. I finally got convinced of wisdom of 8 space indentation. Guido also likes 8 space ...Christian Seberino
Oct 22, 2003 at 10:31 pm
Oct 27, 2003 at 4:20 pm -
Ladies and Gentlemen, I present to you the final and ultimate proof of Python's brain-damage: As you may remember, flist = [] for i in range(3) f = lambda x: x + i flist.append(f) [f(1) for f in ...
Mike420
Oct 27, 2003 at 6:25 am
Oct 31, 2003 at 2:06 am -
Hello: I have the next structure: [key1,value1,value2] ['A',1,5] ['B',6,7] How Can I make it using Python? How Can I update the value of 6? How Can I insert a key called "C" and its values? How Can I ...
Alberto Vera
Oct 20, 2003 at 11:13 pm
Oct 24, 2003 at 7:38 pm -
I'm a Python newbie. I have been using c++ for 5 years and before that I was programming in Pascal. The one thing that annoys me about python is dynamic typing because I find myself making ...
Sashan
Oct 12, 2003 at 2:56 am
Oct 16, 2003 at 10:23 am -
hi, as far as i know in python there aren't any private (i mean not accessible from the outside of the object) methods/fields. why? in java/c++ i can make a method private, this way unaccessible for ...
Gabor
Oct 9, 2003 at 7:42 am
Oct 16, 2003 at 8:12 am -
The approximately 100 books below are for sale. Mostly a selection of mathematics (numerical analysis mostly), computing science (graphics, ai, programming techniques, theory, compilers, operating ...
TnrABC
Oct 20, 2003 at 10:42 pm
Oct 24, 2003 at 2:49 pm -
I have noticed in the book of words that hasattr works by calling getattr and raising an exception if no such attribute exists. If I need the value in any case, am I better off using getattr within a ...
Brian Patterson
Oct 17, 2003 at 1:05 pm
Oct 20, 2003 at 4:58 pm -
Hello: Sorry if I'm asking obvious questions but I'm still a little on the fringe of the python scene... I'm slowly migrating from Delphi/Kylix to Python/Wx to facilitate cross-platform development. ...
HankC
Oct 5, 2003 at 5:52 am
Oct 9, 2003 at 4:24 am -
hello, this must have come up before, so i am already sorry for asking but a quick googling did not give me any answer. i have a list from which i want a simpler list without the duplicates an easy ...
Christof hoeke
Oct 29, 2003 at 9:02 pm
Oct 31, 2003 at 3:05 pm -
Below is an implementation a 'flattening' recursive generator (take a nested iterator and remove all its nesting). Is this possibly general and useful enough to be included in itertools? (I know *I* ...
Francis Avila
Oct 28, 2003 at 7:35 am
Oct 30, 2003 at 1:11 pm -
I'm just staring out with Python and it looks great. But I'm wondering why there isn't a dominant web framework besides Zope? I think if Python had something along the lines of a Jakarta Tomcat that ...
Ted
Oct 7, 2003 at 2:11 am
Oct 12, 2003 at 12:19 am -
I've got a function which gets passed a call-back function as a parameter. I want to check to make sure the thing passed in is indeed callable. Is: assert '__call__' in dir (param) the right thing to ...
Roy Smith
Oct 5, 2003 at 12:55 pm
Oct 8, 2003 at 10:55 am -
Hi everyone, I have been checking Python recently and have presented what little I know to mangement. They have asked if there is any large business apps (like an accounting system) using python and ...
John Fabiani
Oct 6, 2003 at 10:00 pm
Oct 9, 2003 at 8:18 am -
In the endless Lisp/macro threads, Alex Martelli mentioned something a bit interesting about screen-reading applications. Specifically, he expressed reservations about whether Python would be a good ...
David Mertz
Oct 13, 2003 at 8:02 pm
Oct 19, 2003 at 11:46 am -
I've been lurking c.l.p for a while now, and find the amount of messages a bit annoying. To solve this, I suggest the creation of the new group "comp.lang.pyhon.discussions". So when people post ...
Rune Steffensen
Oct 16, 2003 at 7:58 pm
Oct 17, 2003 at 12:33 pm -
One of the things I really dislike about Unittest (compared, say, to a number of adhoc testing tricks I've used in the past, and to Perl's "standard" testing framework) is that the ...
Paul Moore
Oct 21, 2003 at 8:16 pm
Oct 23, 2003 at 3:59 pm -
Hello I'm currently trying to read Core Python Programming, but by the looks of it im never going to get done the book is about 860 pages long real intimidating, but im guess im going to have to ...
Anthony
Oct 8, 2003 at 7:59 pm
Oct 9, 2003 at 8:30 pm -
Hi there, wouldn't it be useful to have a 'while' conditional in addition to 'if' in list comprehensions? foo = [] for i in bar: if len(i) == 0: break foo.append(i) would then turn into foo = [ i for ...
Jsaul
Oct 22, 2003 at 5:59 pm
Nov 13, 2003 at 4:49 pm -
Hello everybody, I am very new to python. I have a query about list in python. Suppose I have a list a = [1,[2,3,4],5,6,7,[8,9,10],11,12] I want to know if there is any simple python facility ...
Santanu Chatterjee
Oct 9, 2003 at 7:55 pm
Nov 9, 2003 at 9:30 pm -
Hi, I have the following problem. I analyse data from a file. When I am done analysing all the data that was in that file, I want to let my program wait until this specific file has changed (which ...
Tom
Oct 17, 2003 at 4:35 pm
Oct 27, 2003 at 8:50 pm -
i want to initialize a constant list at the beginning of a python program. but the list is too big for one line. is there any possibility to spread the list over several lines, so that the code looks ...
Dominik Kaspar
Oct 17, 2003 at 1:56 pm
Oct 21, 2003 at 10:56 pm -
Sorry for this trivial question Since Python lacks conditional expression like k+= (dy = 0 ? 1 : -1) I would like to write if dy = 0 : k+= 1; else: k-= 1 instead of if dy = 0 : k+= 1 else : k-= 1 but ...
Helmut Jarausch
Oct 15, 2003 at 10:39 am
Oct 17, 2003 at 8:44 am -
Entering 3.4 in Python yields 3.3999999999999999. I know it is due to the fact that 3.4 can not be precisely expressed by the powers of 2. Can the float handling rules of the underlying layers be set ...
Ladvánszky Károly
Oct 10, 2003 at 8:56 am
Oct 13, 2003 at 4:50 pm -
I created an application based on Webware and Python. I was surprised why it works so slowly. So I decided to check how fast are different Python solutions against PHP. My hardware and software ...
JZ
Oct 6, 2003 at 12:46 am
Oct 7, 2003 at 9:04 pm -
map(lambda f: f(1), [lambda x: x + 1 for i in range(3)]) Oh, OK, it was a typo (1 instead of i). I take it all back (for now). It was an honest mistake, not a troll! Still, I think it should be [1, ...
Mike420
Oct 27, 2003 at 6:56 am
Dec 10, 2003 at 6:42 pm -
I am meeting with a potential client next week to discuss starting a new project. His preference is for VB whereas I would prefer Python for obvious reasons ;-) Could anybody come up with a short ...
Simon Foster
Oct 30, 2003 at 12:17 am
Nov 7, 2003 at 5:09 am -
Generally speaking, if one had a list (from regular Python) and an array (from Numerical Python) that contained the same number of elements, would a While loop or a For loop process them at the same ...
2mc
Oct 12, 2003 at 5:13 am
Oct 18, 2003 at 10:01 pm -
Why do you need a macro for that? Why don't you just write def start_window(name) : app = wxPySimpleApp() frame = MainWindow(None, -1, name) frame.Show(True) app.MainLoop() return (app, frame) Macros ...
Mike420
Oct 26, 2003 at 5:58 pm
Oct 28, 2003 at 7:13 pm -
Hi, is it technically possible to distribute a python project as a closed source, i.e. encrypted? I believe that *.pyc files do not work without *.py sources... and they can be easily decompiled. -- ...
Milos Prudek
Oct 22, 2003 at 1:28 pm
Oct 27, 2003 at 1:45 pm -
Hi all! I am using Python 2.3.1 on Win32 (NT, 2000). Whenever a file imports the standard tempfile module, Python 2.3.1 issues the following warning: C:\Python23\lib\fcntl.py:7: DeprecationWarning: ...
Pierre Rouleau
Oct 2, 2003 at 10:16 pm
Oct 8, 2003 at 12:55 am
Group Overview
group | python-list |
categories | python |
discussions | 830 |
posts | 6,199 |
users | 1,144 |
website | python.org |
1,144 user for October 2003
Archives
- September 2015 (591)
- August 2015 (1,058)
- July 2015 (1,440)
- June 2015 (1,704)
- May 2015 (1,841)
- April 2015 (1,231)
- March 2015 (1,717)
- February 2015 (1,612)
- January 2015 (889)
- December 2014 (1,283)
- November 2014 (1,600)
- October 2014 (1,447)
- September 2014 (1,031)
- August 2014 (1,867)
- July 2014 (1,618)
- June 2014 (1,357)
- May 2014 (1,431)
- April 2014 (1,285)
- March 2014 (2,093)
- February 2014 (1,999)
- January 2014 (2,089)
- December 2013 (2,060)
- November 2013 (2,507)
- October 2013 (1,932)
- September 2013 (1,634)
- August 2013 (1,532)
- July 2013 (2,062)
- June 2013 (2,795)
- May 2013 (1,935)
- April 2013 (1,980)
- March 2013 (1,953)
- February 2013 (1,789)
- January 2013 (1,924)
- December 2012 (1,569)
- November 2012 (1,579)
- October 2012 (1,961)
- September 2012 (2,311)
- August 2012 (1,808)
- July 2012 (1,577)
- June 2012 (1,199)
- May 2012 (1,197)
- April 2012 (1,416)
- March 2012 (1,373)
- February 2012 (1,442)
- January 2012 (1,446)
- December 2011 (1,895)
- November 2011 (1,291)
- October 2011 (1,188)
- September 2011 (1,587)
- August 2011 (2,069)
- July 2011 (2,140)
- June 2011 (1,908)
- May 2011 (2,475)
- April 2011 (2,098)
- March 2011 (1,761)
- February 2011 (1,746)
- January 2011 (2,123)
- December 2010 (1,671)
- November 2010 (2,355)
- October 2010 (2,518)
- September 2010 (2,187)
- August 2010 (3,098)
- July 2010 (2,579)
- June 2010 (3,238)
- May 2010 (2,458)
- April 2010 (2,356)
- March 2010 (2,759)
- February 2010 (3,486)
- January 2010 (3,294)
- December 2009 (2,899)
- November 2009 (3,396)
- October 2009 (3,346)
- September 2009 (3,087)
- August 2009 (3,903)
- July 2009 (3,761)
- June 2009 (3,321)
- May 2009 (3,370)
- April 2009 (4,272)
- March 2009 (4,228)
- February 2009 (3,965)
- January 2009 (4,732)
- December 2008 (4,335)
- November 2008 (3,799)
- October 2008 (4,123)
- September 2008 (3,816)
- August 2008 (4,056)
- July 2008 (4,238)
- June 2008 (3,737)
- May 2008 (4,976)
- April 2008 (4,708)
- March 2008 (4,122)
- February 2008 (4,132)
- January 2008 (4,145)
- December 2007 (3,686)
- November 2007 (3,419)
- October 2007 (4,234)
- September 2007 (4,332)
- August 2007 (4,189)
- July 2007 (3,771)
- June 2007 (4,142)
- May 2007 (5,018)
- April 2007 (4,912)
- March 2007 (4,365)
- February 2007 (3,951)
- January 2007 (3,864)
- December 2006 (4,449)
- November 2006 (4,229)
- October 2006 (5,506)
- September 2006 (5,244)
- August 2006 (4,829)
- July 2006 (4,720)
- June 2006 (5,054)
- May 2006 (5,302)
- April 2006 (4,845)
- March 2006 (5,729)
- February 2006 (4,839)
- January 2006 (5,249)
- December 2005 (5,011)
- November 2005 (5,677)
- October 2005 (5,387)
- September 2005 (4,458)
- August 2005 (4,428)
- July 2005 (4,472)
- June 2005 (4,562)
- May 2005 (4,269)
- April 2005 (5,019)
- March 2005 (5,070)
- February 2005 (5,159)
- January 2005 (5,194)
- December 2004 (5,211)
- November 2004 (4,048)
- October 2004 (5,191)
- September 2004 (5,534)
- August 2004 (6,168)
- July 2004 (4,217)
- June 2004 (4,202)
- May 2004 (3,890)
- April 2004 (4,285)
- March 2004 (5,077)
- February 2004 (4,213)
- January 2004 (3,988)
- December 2003 (3,818)
- November 2003 (4,940)
- October 2003 (6,297)
- September 2003 (4,299)
- August 2003 (5,654)
- July 2003 (4,912)
- June 2003 (4,933)
- May 2003 (4,938)
- April 2003 (5,017)
- March 2003 (5,031)
- February 2003 (7,701)
- January 2003 (6,229)
- December 2002 (4,102)
- November 2002 (4,346)
- October 2002 (3,307)
- September 2002 (4,206)
- August 2002 (4,919)
- July 2002 (4,826)
- June 2002 (4,215)
- May 2002 (5,295)
- April 2002 (5,967)
- March 2002 (5,323)
- February 2002 (5,245)
- January 2002 (5,617)
- December 2001 (4,443)
- November 2001 (4,565)
- October 2001 (3,669)
- September 2001 (3,719)
- August 2001 (5,208)
- July 2001 (6,528)
- June 2001 (4,905)
- May 2001 (5,492)
- April 2001 (4,713)
- March 2001 (4,478)
- February 2001 (3,871)
- January 2001 (4,187)
- December 2000 (3,099)
- November 2000 (2,336)
- October 2000 (3,820)
- September 2000 (3,933)
- August 2000 (4,253)
- July 2000 (4,199)
- June 2000 (4,089)
- May 2000 (4,269)
- April 2000 (3,217)
- March 2000 (3,719)
- February 2000 (4,000)
- January 2000 (2,682)
- December 1999 (2,283)
- November 1999 (1,896)
- October 1999 (2,048)
- September 1999 (2,001)
- August 1999 (2,151)
- July 1999 (2,351)
- June 1999 (2,386)
- May 1999 (2,201)
- April 1999 (1,706)
- March 1999 (6)
- February 1999 (1)