FAQ

Search Discussions

779 discussions - 3,695 posts

  • Included in this email is a PEP which I am putting together dealing with the idea of introducing a conditional expression into Python. I would welcome any discussion, suggestions, and/or help, sent ...
    Michael ChermsideMichael Chermside
    Sep 9, 2001 at 2:42 pm
    Sep 20, 2001 at 11:25 pm
  • I looked into Python in 1998 and think it's great. I've also read glowing reviews about the language. But I remember searching Python on Dice.com in 1998 and coming up with 8 results. Today the ...
    TszetoTszeto
    Sep 24, 2001 at 12:14 am
    Oct 12, 2001 at 4:51 pm
  • and-if-it's-good-enough-for-Moses-it's-good-enough-for-Tim-Peters-<wink - Bite your tongue! What has Moses done for me lately?
    Brian QuinlanBrian Quinlan
    Sep 15, 2001 at 7:51 pm
    Oct 9, 2001 at 10:14 pm
  • Since I can invoke string methods using string.method() notation, or go <type 'str' why is it that 3.__class__ or 3.__add__(4) are syntax errors. It looks ugly maybe, but no one says you have to use ...
    Kirby UrnerKirby Urner
    Sep 17, 2001 at 7:39 am
    Oct 13, 2001 at 7:14 am
  • I love programming in Python, but there are some things I have not found the easy way to do. I understand that Python is supposed to be good at text parsing, but I am having trouble with this simple ...
    Bruce DawsonBruce Dawson
    Sep 26, 2001 at 5:42 am
    Oct 5, 2001 at 2:14 am
  • I'm actually very used to the PHP interpreter as I've done a few large websites with it. It's not powerful enough for my needs and I need to go to something with higher performance, scalability, ...
    Ken EgervariKen Egervari
    Sep 9, 2001 at 4:10 pm
    Sep 20, 2001 at 5:56 pm
  • Is there any way to create xls or some other format that MS Excel can read excluding CSV. I am using Linux so I think that COM is not an option. -- Joonas
    Joonas PaalasmaaJoonas Paalasmaa
    Sep 6, 2001 at 4:26 pm
    Sep 12, 2001 at 8:34 am
  • I don't know anything about DCOP but my guess is that it's closer to COM than CORBA. Most people considered CORBA too heavyweight for connecting desktop apps and were surprised that ORBit (the Gnome ...
    Paul RubinPaul Rubin
    Sep 1, 2001 at 1:08 am
    Sep 11, 2001 at 10:11 am
  • hey there! how do I execute "shellcommands" in python??? do I need to use the os module and the system command? Is there any simplier way to do it?? /Mike
    Mike SMike S
    Sep 21, 2001 at 4:40 pm
    Sep 26, 2001 at 5:48 am
  • It seems almost unnatural that given two arrays of the same type of element and the same length, I can't say "a = b + c" and get the arrays added together element-wise. There's various algorithms I'd ...
    Paul RubinPaul Rubin
    Sep 24, 2001 at 9:01 am
    Oct 2, 2001 at 8:02 am
  • I heard about Python briefly a few years ago when I just got out of school and started programming professionally. Now that I have a good command of some other languages and I see that there is a ...
    SteveSteve
    Sep 12, 2001 at 1:41 pm
    Sep 18, 2001 at 8:57 pm
  • Hi, in my Code, I very often have constructs like class A: def m(self, value): self.value = value # some other work to be done This is annoying especially when having lots of parameters, which often ...
    Markus SchaberMarkus Schaber
    Sep 24, 2001 at 4:57 pm
    Oct 17, 2001 at 1:00 am
  • 1. You are pretty bitchy to people who are trying to help you 2. Python doesn't care about the context that a symbol is used in until it can retrieve it. And are you sure that the exception indicated ...
    Brian QuinlanBrian Quinlan
    Sep 17, 2001 at 5:06 am
    Oct 31, 2001 at 8:59 pm
  • Dear List, It was suggested that I see what type of interest there might be in this idea before posting it as a PEP. *** I would like to see an additional syntax added to the round function. At ...
    Christopher SmithChristopher Smith
    Sep 10, 2001 at 9:49 pm
    Sep 18, 2001 at 7:14 pm
  • Hi all, I just took another look at: http://musi-cal.mojam.com/~skip/python/fastpython.html specifically, the loops section: """ Loops Python supports a couple of looping constructs. The for ...
    Chris BarkerChris Barker
    Sep 5, 2001 at 6:12 pm
    Sep 12, 2001 at 3:46 pm
  • Hello, Was wondering if Python supported 'Interfaces' (something akin to Java interfaces)? Or if there's a workaround to get the same thing. Thanks, Ted
    TszetoTszeto
    Sep 26, 2001 at 1:32 am
    Oct 1, 2001 at 9:16 pm
  • Hey guys, I'm new to python, as of last week. I know several other OO langauges though. Anyway, I am having trouble getting a hierarchy of "modules" to behave as I would like them to. I guess I have ...
    Justin DubsJustin Dubs
    Sep 9, 2001 at 1:38 am
    Sep 18, 2001 at 5:44 am
  • Hi, I'm a PHP man looking to migrate to Python for a change of scenery. I've skimmed over the specs, but missed a few PHP constructs that I find essential. Can anyone tell me the Python equivalents ...
    Rick ShinRick Shin
    Sep 2, 2001 at 11:12 pm
    Jun 1, 2002 at 5:34 pm
  • how am i able to determine types of variables? i have come up with the type() function but am unsuccessful in using it. this is the code in which im using the provided function: def convert(): if ...
    Adonis VargasAdonis Vargas
    Sep 1, 2001 at 5:51 pm
    Sep 9, 2001 at 10:47 pm
  • [1, [1, '1j'], '1j'] Traceback (most recent call last): File "<input ", line 1, in ? TypeError: cannot compare complex numbers using <, <=, , = This came up in the context of building the ...
    Michael James BarberMichael James Barber
    Sep 17, 2001 at 10:09 am
    Sep 21, 2001 at 10:17 pm
  • Hello, my friends. It was an holiday yesterday, and I dived into writing `pymacs'. This tool allows for using Python as if it were part of Emacs LISP. I merely revisited a good idea from Cedric ...
    François PinardFrançois Pinard
    Sep 4, 2001 at 3:14 pm
    Sep 9, 2001 at 10:21 pm
  • (My apologies for the off-topic post. Python-list at python.org is the only large mailing list/newsgroup I read with any regularity, so this subject is only germane to me in this context.) More and ...
    Skip MontanaroSkip Montanaro
    Sep 29, 2001 at 4:57 am
    Oct 8, 2001 at 10:34 pm
  • Python's builtin 3-argument pow() exists because, e.g., 2L can be done very much faster, and with much less memory, than 2L There isn't any compelling use I know of for 3-arg pow() given float ...
    Tim PetersTim Peters
    Sep 3, 2001 at 7:05 am
    Sep 12, 2001 at 8:03 am
  • Nested scopes seem like a nice addition (of course!) but there are some weird things about it. Take a look: ... def b(): ... k = x ... print k ... x = 1 ... b() ... 1 Right, this is what you would ...
    Scott LongScott Long
    Sep 7, 2001 at 4:20 pm
    Sep 10, 2001 at 12:11 am
  • Why not to define __repr__ and __str__? __repr__ = hexdigest def str(self): return "%s(%s)" % (self.__class__.__name__, self.hexdigest()) What about processing files? I think it is very common ...
    Oleg BroytmannOleg Broytmann
    Sep 21, 2001 at 10:35 am
    Oct 1, 2001 at 7:19 am
  • Cool idea (read on /.) for those who seek interesting project: http://robocode.alphaworks.ibm.com/home/home.html - this is probably what edu-sig can consider to boost CP4E ;-) And Python is nicer ...
    Roman SuziRoman Suzi
    Sep 10, 2001 at 1:46 pm
    Sep 15, 2001 at 1:16 pm
  • does any one as analyze the pro and cons (functionalities, performances, ...) between Berkley DB3 (bsddb3) and ZODB ? Thanks
    Vincent delftVincent delft
    Sep 20, 2001 at 8:22 am
    Sep 28, 2001 at 9:57 am
  • This would help me produce Perl code after developing it in Python. Thanks to all for answering. Weet
    Weet VanniksWeet Vanniks
    Sep 27, 2001 at 7:15 am
    Oct 3, 2001 at 1:34 am
  • I am, in middle school, therefore, I may be childish in saying this... ??!!?!!!WHY IS SPAM NOT REFERENCED IN PYTHON BOOKS??!!!?!! The O'Reilly books have no mention of spam. The Idiot guides DO NOT ...
    Andrew NguyenAndrew Nguyen
    Sep 16, 2001 at 11:20 pm
    Sep 30, 2001 at 11:44 pm
  • I've never posted a "notice" before, so I don't know if this is appropriate; if it's not please let me know and I won't do it again! I've written a Python-based Webmail program tentatively called ...
    Aaron FransenAaron Fransen
    Sep 15, 2001 at 1:06 am
    Sep 24, 2001 at 2:16 am
  • When using "self" for the initial method argument, I found myself choosing short attribute names to offset the five characters taken up by "self.". (Otherwise my code lines got larger than I like.) I ...
    Greg WeeksGreg Weeks
    Sep 27, 2001 at 8:11 pm
    Oct 4, 2001 at 1:29 am
  • Hi there, Can you help to advise how to run python script from Unix Shell? What I am doing is: 1)chmod +x script name 2)put #!/usr/bin/python at first line 3)when I type the script name under Shell, ...
    DavidDavid
    Sep 7, 2001 at 2:18 am
    Sep 17, 2001 at 11:35 am
  • Hi, I wrote this script and saved it as index.cgi, but it doesn't work. Idea? #! /usr/bin/python print "<html " print "<head " print "<title Aramedis.com</title " print "<meta http-equiv="refresh" ...
    Michael LandmannMichael Landmann
    Sep 14, 2001 at 6:27 pm
    Sep 17, 2001 at 2:08 am
  • Hi. I've Started learning Python, and can't find how can I do something like $a = \$b or $a = \*$b in Perl. Generally, I want to define a referce to an integer, or to the identifier, that holds it. ...
    Anton LavrikAnton Lavrik
    Sep 12, 2001 at 3:48 pm
    Sep 14, 2001 at 11:38 am
  • Hi there I am trying to use Python as an embedded interprenter. Whilst it is quite easy to understand the C interface, I have found it _very_ hard to figure out what flags I need to pass to the ...
    Mads Bondo DydensborgMads Bondo Dydensborg
    Sep 28, 2001 at 10:06 pm
    Oct 4, 2001 at 4:50 pm
  • Wouldn't it be nice if this would work: d = {'x': 1} print d.x i.e. every entry in a dictionary is also an attribute of the dictionary itself. Is there a class wrapper for that somewhere available? ...
    Harald KirschHarald Kirsch
    Sep 6, 2001 at 9:54 am
    Sep 6, 2001 at 7:19 pm
  • I said in an earlier note that I didn't want to get into the whole issue of "sameness" and how Python "got it wrong". Well, I changed my mind. I'll first admit that "got it wrong" is a poor choice of ...
    Greg WeeksGreg Weeks
    Sep 30, 2001 at 6:54 pm
    Oct 6, 2001 at 4:56 am
  • Hi, I've spent the last weeks studying Enterprise Java Beans (EJB) and J2EE. It takes a lot of time and code to achieve very little. Features beeing wonderful in theory just don't address complex ...
    Eike KockEike Kock
    Sep 18, 2001 at 2:38 pm
    Sep 28, 2001 at 8:25 am
  • Hi, I want to write a script (Windows NT) which deletes all files in a directory with the same extension, i.e. all .dat files. Is there something like os.remove('*.dat') or how can I achieve this ...
    Markus FaustMarkus Faust
    Sep 24, 2001 at 10:25 am
    Sep 27, 2001 at 11:59 am
  • Hi list, I'm new here and for one good reason: I don't know Python, and I'd like to know more :-) In fact I already used Python but that was way back before, when I just wanted to learn programming. ...
    AurelienAurelien
    Sep 6, 2001 at 7:14 pm
    Sep 26, 2001 at 5:15 am
  • Dear friends, I am running Linux Suse 7.2 and have recently installed the Numeric extensions to Python, but when I import the Numeric library the Python interpreter cannot find the library. I suppose ...
    Carl Johan RehnCarl Johan Rehn
    Sep 23, 2001 at 4:31 pm
    Sep 25, 2001 at 7:18 pm
  • Hi all, I was just asked if it would be hard to write a script that would take the output from an MS word: "save as text" operation, and re-format it so it was wrapped to 80 character lines. I said ...
    Chris BarkerChris Barker
    Sep 21, 2001 at 10:23 pm
    Sep 24, 2001 at 8:52 pm
  • I'm confused. I'm a relative newbie, but am still surprised that I can't make this work. What I want to do is to have my test module set "stuff" in one of the other modules, do its tests, and then ...
    Sam FalknerSam Falkner
    Sep 19, 2001 at 4:05 pm
    Sep 21, 2001 at 7:24 pm
  • Hi, I'm primarily a Java programmer but I dabble in Python on a regular basis. My current project is a low- and high-level interface to IRC which can be re-used to write IRC clients and bots. My ...
    Gordon TylerGordon Tyler
    Sep 30, 2001 at 6:20 pm
    Oct 3, 2001 at 12:21 am
  • Yes, I know, a string is a sequence... I'm thinking of writing a function which can take either a string, or a sequence of strings, as an argument. A simplified example would be treating a single ...
    Paul MoorePaul Moore
    Sep 28, 2001 at 1:43 pm
    Sep 29, 2001 at 9:02 pm
  • It is possible in python to get private class members by using names beginning with 2 underscores, and finished by at least 1 underscore. I personnally tend to use class member names beginning with ...
    Alexandre FayolleAlexandre Fayolle
    Sep 12, 2001 at 9:16 am
    Sep 17, 2001 at 6:18 am
  • After much trial and error, a co-worker of mine got some code to work (Python 2.0). Unfortunately, neither of us actually knows why. Our understanding suggests other things should have worked, but ...
    Garth GrimmGarth Grimm
    Sep 13, 2001 at 12:43 am
    Sep 13, 2001 at 10:05 pm
  • I am brand new to Python, but have been writing Perl scripts for the last 10 yrs. or so. I want to see how Python compares to Perl and if it lives up to its hype. Anyway, I installed Python version ...
    RjbermanRjberman
    Sep 7, 2001 at 1:28 pm
    Sep 12, 2001 at 1:07 pm
  • I don't understand the differenence Alex points to. For example, the below cases seem awfully similar: [128, '\x80', u'\x80', 'a'] Traceback (most recent call last): File "<stdin ", line 1, in ? ...
    Lulu of the Lotus-EatersLulu of the Lotus-Eaters
    Sep 3, 2001 at 7:18 pm
    Sep 5, 2001 at 9:32 am
  • Hi all! I'm newbie at programming and especially Python langauge. What do you think when someone put return, break or continue command in half of a function. I think that commands are like ``goto'' ...
    Brian LeeBrian Lee
    Sep 27, 2001 at 1:44 am
    Sep 29, 2001 at 3:28 am
Group Navigation
period‹ prev | Sep 2001 | next ›
Group Overview
grouppython-list @
categoriespython
discussions779
posts3,695
users850
websitepython.org

850 users for September 2001

Ignacio Vazquez-Abrams: 191 posts Alex Martelli: 154 posts Skip Montanaro: 78 posts Martin von Loewis: 77 posts Oleg Broytmann: 77 posts Markus Schaber: 72 posts Roman Suzi: 69 posts Tim Peters: 68 posts Peter Hansen: 56 posts Chris Barker: 54 posts Marcin 'Qrczak' Kowalczyk: 45 posts Maan M. Hamze: 42 posts Paul Rubin: 38 posts Aahz Maruch: 35 posts Boyd Roberts: 35 posts Emile van Sebille: 35 posts Fredrik Lundh: 32 posts Cliff Wells: 30 posts Terry Reedy: 29 posts Carlos Gaston Alvarez: 28 posts
show more
Archives