FAQ

Search Discussions

830 discussions - 6,199 posts

  • 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 ...
    Mike420Mike420
    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 WarsawBarry 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 ...
    Mike420Mike420
    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 ...
    Mike420Mike420
    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 HettingerRaymond 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 HollGerrit 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 KennedyAlan 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, FacundoBatista, 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 DeanJohn 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 ...
    KefXKefX
    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 RodriguesGonç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? ...
    AKAK
    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 MartelliAlex 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 FinneyBen 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 FountainDerek 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 CaamanoLuis 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 BarnumLuther 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 HettingerRaymond 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 ...
    LeoLeo
    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 ScaletKarl Scalet
    Oct 8, 2003 at 9:32 am
    Oct 10, 2003 at 1:50 pm
  • 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 SeberinoChristian 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 ...
    Mike420Mike420
    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 VeraAlberto 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 ...
    SashanSashan
    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 ...
    GaborGabor
    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 ...
    TnrABCTnrABC
    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 PattersonBrian 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. ...
    HankCHankC
    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 hoekeChristof 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 AvilaFrancis 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 ...
    TedTed
    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 SmithRoy 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 FabianiJohn 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 MertzDavid 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 SteffensenRune 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 MoorePaul 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 ...
    AnthonyAnthony
    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 ...
    JsaulJsaul
    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 ChatterjeeSantanu 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 ...
    TomTom
    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 KasparDominik 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 JarauschHelmut 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árolyLadvá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 ...
    JZJZ
    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, ...
    Mike420Mike420
    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 FosterSimon 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 ...
    2mc2mc
    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 ...
    Mike420Mike420
    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 PrudekMilos 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 RouleauPierre Rouleau
    Oct 2, 2003 at 10:16 pm
    Oct 8, 2003 at 12:55 am
Group Navigation
period‹ prev | Oct 2003 | next ›
Group Overview
grouppython-list @
categoriespython
discussions830
posts6,199
users1,144
websitepython.org

1,144 user for October 2003

Alex Martelli: 257 posts Pascal Costanza: 150 posts Peter Hansen: 139 posts Andrew Dalke: 114 posts John J. Lee: 110 posts Terry Reedy: 101 posts Vis Mike: 98 posts Lulu of the Lotus-Eaters: 89 posts Bengt Richter: 82 posts Alex Martelli: 73 posts Kenny Tilton: 73 posts John Roth: 71 posts Skip Montanaro: 61 posts Michael Hudson: 60 posts Peter Otten: 55 posts Prunesquallor: 55 posts Joachim Durchholz: 49 posts Erik Max Francis: 47 posts Ian Bicking: 45 posts Cameron Laird: 43 posts
show more
Archives