FAQ

Search Discussions

850 discussions - 4,881 posts

  • This seems like it ought to work, according to the description of reduce(), but it doesn't. Is this a bug, or am I missing something? Python 2.3.2 (#1, Oct 20 2003, 01:04:35) [GCC 3.2.2 20030222 (Red ...
    Stephen C. WaterburyStephen C. Waterbury
    Nov 5, 2003 at 5:18 pm
    Dec 6, 2003 at 2:39 pm
  • Hi all, I would like to propose some extentions to the language, probably for the version 3.0. They are mainly lexical or syntactical and the language will stay compatible with 2.X (even although it ...
    Georgy PrussGeorgy Pruss
    Nov 10, 2003 at 10:21 am
    Dec 17, 2003 at 4:06 am
  • In article <mailman.295.1067625441.702.python-list at python.org , "Batista, Facundo" wrote: I've been playing with an implementation, and I'm trying out def __init__ (value=0, exponent=0, ...
    Mel WilsonMel Wilson
    Nov 1, 2003 at 1:18 pm
    Nov 11, 2003 at 5:39 pm
  • I would like to say a few (actually more than a few) words here about some recent discoveries I have made concerning the interaction of Leo and Python. If you don't want to hear an inventor enthuse ...
    Edward K. ReamEdward K. Ream
    Nov 8, 2003 at 4:11 pm
    Nov 20, 2003 at 5:10 pm
  • I've sent several messages over the last year asking about python - Who teaches python? Is python losing steam? etc. I have noticed, eg, the declinng number of books at my local borders. The last ...
    John HowardJohn Howard
    Nov 14, 2003 at 12:10 am
    Dec 16, 2003 at 10:50 am
  • There seems to be an inconsistency here: Python 2.3.2 (#1, Oct 3 2003, 19:04:58) [GCC 3.2 20020903 (Red Hat Linux 8.0 3.2-7)] on linux2 True False ... true ... true True False False ... true ... true ...
    Scott ChapmanScott Chapman
    Nov 13, 2003 at 3:42 am
    Nov 19, 2003 at 1:46 am
  • If you are not interested, then don't bitch, its a short message. http://www.matrixcommunity.org/cgi-bin/ultimatebb.cgi?ubb=get_topic;f=8;t
    3seas3seas
    Nov 10, 2003 at 6:05 pm
    Nov 21, 2003 at 12:52 pm
  • It seems that the rotor module is being deprecated in 2.3, but there doesn't seem to be an obvious alternative. I'm using it just for obfuscation. It seems we have ssl available in 2.3 for sockets, ...
    Robin BeckerRobin Becker
    Nov 18, 2003 at 1:44 pm
    Nov 25, 2003 at 11:58 am
  • I am kind of new to Python, and after trying and using wxPython, I found it kind of lacking in easy-to-read documentation, speed at loading, and GUI response-time. So I am looking for an another GUI ...
    Vamsi MudragedaVamsi Mudrageda
    Nov 2, 2003 at 6:52 pm
    Nov 20, 2003 at 6:00 pm
  • Hi, today I rummaged through the language spec to see whats in the for ... else: for me. I was sort of disappointed to learn that the else clauses simply gets executed after the loop-body - ...
    Diez B. RoggischDiez B. Roggisch
    Nov 14, 2003 at 6:31 pm
    Nov 28, 2003 at 6:31 am
  • What do you think of this Python logo? http://pythonology.org/logos Good, bad, indifferent, love it, hate it? -- Cheers, www.indiegamedesign.com Brandon Van Every Seattle, WA Brandon's Law (after ...
    Brandon J. Van EveryBrandon J. Van Every
    Nov 10, 2003 at 10:16 pm
    Nov 20, 2003 at 8:21 pm
  • Suppose I want to sell a (small, 1000 lines) Python program. It is a commandline program for database applications and I have a customer. The customer wants to "try it out" before buying. The try-out ...
    Will StuyvesantWill Stuyvesant
    Nov 3, 2003 at 8:35 am
    Nov 5, 2003 at 3:22 pm
  • An embedded and charset-unspecified text was scrubbed... Name: not available Url: http://mail.python.org/pipermail/python-list/attachments/20031122/3ab44ebe/attachment.pot
    Tim ChurchesTim Churches
    Nov 22, 2003 at 1:43 am
    Nov 28, 2003 at 11:17 pm
  • Does anyone know how i can fix my Palindrome program? s = raw_input('Enter a String: ') punctuation = '%$!*.,-:? ;()\'\"\\' i = 0 h = 0 t = 0 p = '' z = 0 while s!= ' ': while i <= len(s) - 1: punct ...
    Runic911Runic911
    Nov 13, 2003 at 3:31 am
    Nov 15, 2003 at 12:08 am
  • Hi, Does anybody know where this term comes from? "First-class object" means "something passable as an argument in a function call", but I fail to see the connection with "object class" or with ...
    Hung Jung LuHung Jung Lu
    Nov 17, 2003 at 9:35 pm
    Nov 25, 2003 at 8:28 pm
  • I have a list of two tuples containing x and y coord (x0, y0) (x1, y1) ... (xn, yn) Given a new point x,y, I would like to find the point in the list closest to x,y. I have to do this a lot, in an ...
    John HunterJohn Hunter
    Nov 3, 2003 at 4:12 am
    Nov 6, 2003 at 12:48 pm
  • I was playing around with defining new types and have seen the following behaviour: Python 2.3.1 ============ ... <type 'int' Basicly: Int is not closed under it's defined operations. :-( by ...
    Stephan DiehlStephan Diehl
    Nov 24, 2003 at 9:24 am
    Nov 25, 2003 at 8:30 pm
  • Greets, all. As the title suggests, I'm trying to make a maze. Specifically, it's a top-down, 2-d maze, preferably randomly generated, though I'm willing to forego that particular aspect as this ...
    Bernard FieldsBernard Fields
    Nov 13, 2003 at 9:35 pm
    Nov 25, 2003 at 3:12 am
  • I'm checking out Python as a candidate for replacing Perl as my "Swiss Army knife" tool. The longer I can remember the syntax for performing a task, the more likely I am to use it on the spot if the ...
    TuangTuang
    Nov 17, 2003 at 9:29 pm
    Nov 20, 2003 at 2:47 pm
  • def XOR(s1,s2): """ XOR string s1 with s2 """ output = "" # Argument check if (type(s1) and type(s2)) != type(""): raise TypeError, "Arguments are not strings" if len(s1) != len(s2): raise ...
    NoenNoen
    Nov 4, 2003 at 7:01 pm
    Nov 6, 2003 at 5:35 am
  • Hi, I know people have talked about it before, but I am still really confused from reading the old messages. When I talk about code blocks, I am not talking about Lisp/Ruby/Perl, so I am not making ...
    Hung Jung LuHung Jung Lu
    Nov 22, 2003 at 8:15 pm
    Nov 25, 2003 at 2:39 pm
  • Hello all, Maybe I'm being foolish, but I just don't understand why the following code behaves as it does: - = - = - = - class listHolder: def __init__( self, myList=[] ): self.myList = myList def ...
    Alex PanayotopoulosAlex Panayotopoulos
    Nov 21, 2003 at 12:12 pm
    Nov 24, 2003 at 2:25 am
  • Posted with permission from the author. I have some comments on this PEP, see the (coming) followup to this message. PEP: 321 Title: Date/Time Parsing and Formatting Version: $Revision: 1.3 $ ...
    Gerrit HollGerrit Holl
    Nov 17, 2003 at 4:17 pm
    Nov 20, 2003 at 4:43 pm
  • I'm new to Python, in fact I'm new to programming. I'm trying to write a simulation program, for a biology class I'm teaching next year. the following code is giving me trouble and i can't work out ...
    Nards_collectiveNards_collective
    Nov 18, 2003 at 12:03 pm
    Nov 23, 2003 at 11:38 pm
  • AAAAAAAARG I hate the way python handles unicode. Here is a nice problem for y'all to enjoy: say you have a variable thats unicode directory = u"c:\temp" Its unicode not because you want it to, but ...
    Gerson KurzGerson Kurz
    Nov 5, 2003 at 11:02 am
    Nov 8, 2003 at 9:46 am
  • Every couple of months I have a use for the experimental 'scanner' object in the re module, and when I do, as I did this morning, it's really handy. So if anyone is counting votes for making it a ...
    Wade LeftwichWade Leftwich
    Nov 10, 2003 at 3:14 pm
    Feb 5, 2004 at 8:01 pm
  • I'm (very non expert) trying to use a snippet of VBScript (to shut down Windows workstations) converted to Python but have hit a problem. The VBScript below work fine; pc="MyPC" Set ...
    Tim HowarthTim Howarth
    Nov 25, 2003 at 11:16 am
    Nov 25, 2003 at 8:20 pm
  • I documented the regex internal implementation code for both Tcl and Python. As much as I like Tcl, I like Python's code much more. Tcl's Stub interface to the external commands is confusing to ...
    K_LeeK_Lee
    Nov 11, 2003 at 3:58 pm
    Nov 13, 2003 at 6:12 pm
  • On Windows XP glob.glob doesn't work properly for files without extensions. E.g. C:\Temp contains 4 files: 2 with extensions, 2 without. C:\Temp dir /b * aaaaa.aaa bbbbb.bbb ccccc ddddd C:\Temp dir ...
    Georgy PrussGeorgy Pruss
    Nov 30, 2003 at 3:47 am
    Dec 1, 2003 at 4:04 am
  • I am a bit of a newbie when it comes to python, when working with lists today I noticed some very odd behaviour, any suggestions welcome: Python 2.2.3 (#1, Nov 6 2003, 14:12:38) [GCC 3.3.2 20031022 ...
    OomOom
    Nov 6, 2003 at 3:36 am
    Nov 7, 2003 at 9:41 pm
  • As far as I know python's threading module models after Java's. However, I can't find something equivalent to Java's interrupt and isInterrupted methods, along with InterruptedException. ...
    Jane AustineJane Austine
    Nov 28, 2003 at 2:11 pm
    Dec 4, 2003 at 7:16 am
  • Hi It gives me great pleasure to inform you that Rekall, the cross-platform alternative to MS Access, is now totally GPL. So please visit http://www.totalrekall.co.uk and download download a copy for ...
    John DeanJohn Dean
    Nov 9, 2003 at 7:59 pm
    Dec 2, 2003 at 12:09 am
  • 1) def f(xs): for x in xs: if test(x): return True return False I know that I can do (2), but it operates on the whole list and the original may break out early. I want the efficiency of (1), but the ...
    MetalOneMetalOne
    Nov 18, 2003 at 12:48 am
    Nov 18, 2003 at 9:04 pm
  • David Mertz Functional Programming in Python Using the Xoltar Toolkit Steve Holden Python Web Services Alex Martelli Metaprogramming in Python Guido van Rossum My secret addiction to comp.lang.python ...
    Dave BenjaminDave Benjamin
    Nov 13, 2003 at 7:26 am
    Nov 17, 2003 at 8:32 pm
  • Hello, I have been programming with Visual Basic and PHP in the last 5 years and some folks had recommended Python a free language.... I had looked for a Python book to start up but found many ...
    Eduardo Patto KanegaeEduardo Patto Kanegae
    Nov 12, 2003 at 4:25 pm
    Nov 16, 2003 at 10:53 pm
  • The py2exe says that a console app should have the --console option and a windows app should have the --windows option. What is the way to py2exe a python program that uses both console and windows ...
    AchristAchrist
    Nov 1, 2003 at 8:21 am
    Nov 2, 2003 at 8:31 pm
  • Hello, I've a binary file with data in it. This file come from an old ms dos application (multilog ~ 1980). In this application, a field is declared as a 'decimal' (999 999 999.99). I put 0.00 in the ...
    PascalPascal
    Nov 26, 2003 at 2:16 pm
    Dec 3, 2003 at 3:06 pm
  • Does any one now if a shared memory module exists, written in python for a windows platform. I now one exists for unix? help most appreciated, S Green
    S GreenS Green
    Nov 25, 2003 at 4:56 pm
    Dec 2, 2003 at 7:16 pm
  • "Jeff Wagner" <JWagner at hotmail.com wrote in message news:oanasvs703tipmup24qgc5toggte8uh67n at 4ax.com... Throw an exception. That will give the calling routine the opportunity to then do ...
    John RothJohn Roth
    Nov 27, 2003 at 2:30 am
    Nov 29, 2003 at 2:18 pm
  • Hi newsgroup, i am trying to replace german special characters in strings like str = re.sub('?', 'oe', str) When i work with this, i always get the message UniCode Error: ASCII decoding error : ...
    Sebastian MeyerSebastian Meyer
    Nov 6, 2003 at 1:28 pm
    Nov 6, 2003 at 8:09 pm
  • I'm trying to parse an xml file with jython (not through java parsers like xerces). I tried minidom in jython 2.1 and 2.2a but all failed. What can I do? The last resort would be using java parsers. ...
    Jane AustineJane Austine
    Nov 21, 2003 at 2:05 am
    Jul 18, 2012 at 8:09 am
  • I've written a database (Access mdb) front-end using Python/wxpython/and ADO. However, the scope of the project has changed and I need to access the same data on an MSSQL server. Also, the front-end ...
    SectorUnknownSectorUnknown
    Nov 24, 2003 at 5:15 pm
    Nov 26, 2003 at 6:05 pm
  • Hi, Is there any Python packages to analyse or get some information out of an PDF document... Like where the text are placed - what text are placed - fonts, embedded PDFs/fonts/images etc. Please let ...
    Johan Holst NielsenJohan Holst Nielsen
    Nov 20, 2003 at 1:48 pm
    Nov 25, 2003 at 8:58 pm
  • Traceback (most recent call last): File "<pyshell#52 ", line 1, in -toplevel- input(prompt="hello") TypeError: input() takes no keyword arguments While the library reference says the function is: ...
    ZhiZhi
    Nov 24, 2003 at 4:31 pm
    Nov 25, 2003 at 7:09 pm
  • I have a heavily interlinked dom like tree structure of objects. A node will link to many children redundantly and many children will reference parents redundantly. So there are many cycles of ...
    Mark HahnMark Hahn
    Nov 9, 2003 at 11:15 pm
    Nov 17, 2003 at 5:29 pm
  • Hello, according to http://mail.python.org/pipermail/tutor/2001-July/007246.html the order of function definitions does matter in python. Does anyone know a trick to avoid this? Is there a way to ...
    Joerg SchusterJoerg Schuster
    Nov 10, 2003 at 5:34 pm
    Nov 11, 2003 at 4:01 pm
  • def res(): try: a = 1 return finally: print "do I get here?" res() outputs "do I get here?" I can't say why I didn't really expect this, the control flow is a little wierd as the function isn't ...
    Brian KelleyBrian Kelley
    Nov 6, 2003 at 8:55 pm
    Nov 10, 2003 at 5:56 pm
  • This may have been discussed before, but I'm kind of confused as to why Python doesn't support having both an except ~and~ a finally clause, like this: try: raise RuntimeException except: print "What ...
    KefXKefX
    Nov 5, 2003 at 9:05 am
    Nov 9, 2003 at 4:20 pm
  • I invested some time today because I got this crazy idea that if I implemented a simple attribute-getting caching scheme implemented in PyObject_GetAttr / PyObject_SetAttr that would turn out to be ...
    Christos TZOTZIOY GeorgiouChristos TZOTZIOY Georgiou
    Nov 4, 2003 at 1:30 am
    Nov 6, 2003 at 4:28 pm
  • Please reply both here and directly to my email address relee_s at hotmail.com I just found out about Python today and it sounds very interesting, but I'm having trouble finding solid information ...
    Relee SquirrelRelee Squirrel
    Nov 4, 2003 at 3:12 am
    Nov 6, 2003 at 6:14 am
Group Navigation
period‹ prev | Nov 2003 | next ›
Group Overview
grouppython-list @
categoriespython
discussions850
posts4,881
users994
websitepython.org

994 users for November 2003

Alex Martelli: 175 posts Peter Hansen: 144 posts Peter Otten: 104 posts John J. Lee: 94 posts Bengt Richter: 79 posts John Roth: 73 posts Andrew Dalke: 68 posts Stephen Boulet: 59 posts Terry Reedy: 59 posts Erik Max Francis: 57 posts Michele Simionato: 57 posts Ben Finney: 54 posts Martin v. Löwis: 54 posts Fredrik Lundh: 43 posts Ron Adam: 43 posts Aahz: 41 posts Batista, Facundo: 40 posts Francis Avila: 40 posts Michael Hudson: 37 posts Douglas Alan: 35 posts
show more
Archives