Search Discussions

570 discussions - 2,332 posts

  • Hi there, is there any replacement(/extension for teh file.readline method? Compared to Perl it is extremely slow. Searching a key in an 100.000 line ASCII file takes 15 seconds. Perl just needs 5 ...
    Harald SchneiderHarald Schneider
    Nov 15, 2000 at 8:35 am
    Dec 22, 2000 at 1:50 am
  • http://www.csse.monash.edu.au/~damian/papers/HTML/Perligata.html I propose Python in Finnish.
    Steve WilliamsSteve Williams
    Nov 10, 2000 at 2:51 am
    Jan 15, 2001 at 5:14 am
  • "Four years"? In the computer industry, and in terms of "Internet time", that's so far beyond anyone's ability to predict that it's an irrelevant claim. Java was announced only five years ago and ...
    Peter HansenPeter Hansen
    Nov 16, 2000 at 2:55 pm
    Nov 22, 2000 at 2:14 am
  • I've been using Python for something slightly more complicated than simple 'Hello World' programs for the first time in my life. I find it very comfortable, but on the other hand I've also got this ...
    Gaute B StrokkenesGaute B Strokkenes
    Nov 5, 2000 at 2:50 pm
    Nov 8, 2000 at 11:14 pm
  • Hello, I propose that objects in some Python 2.x or in 3K have a default __init__. As it is now, base classes must explicitly include an __init__ to be future-proof, which is not obvious. Let me ...
    Andrew DalkeAndrew Dalke
    Nov 13, 2000 at 2:27 pm
    Nov 16, 2000 at 10:13 am
  • Tired of cercular references? Use weak references! http://PyWeakReference.sourceforge.net/ There are no real changes from the previous release, except for better docs. Enjoy! Alex Shindich ...
    Nov 15, 2000 at 1:28 am
    Dec 9, 2000 at 10:36 am
  • Hi, I am using Python 2.0, I downloaded it in the RPM form and I also compiled it from source on both Linux RedHat 6.2 and Solaris. In both cases, when I have the readline module enabled, the ...
    Jan KybicJan Kybic
    Nov 7, 2000 at 8:49 am
    Dec 14, 2000 at 10:22 pm
  • Hey people. If I want to put conditions in a lambda function, how would I go about that? def test(string): if string[:3] == 'yes: return 1 else: return 0 I'd like to make something like this a lambda ...
    Michael P. SoulierMichael P. Soulier
    Nov 3, 2000 at 7:39 pm
    Nov 9, 2000 at 7:27 pm
  • I created the print "Hello,World!" saved as hello.py in my python folder. When using the python command line if I type in python hello.py or hello.py I get a syntax error or name error. So how do I ...
    Brendhan HorneBrendhan Horne
    Nov 7, 2000 at 3:36 pm
    Nov 14, 2000 at 3:50 pm
  • I was quite surprised to discover that the news server I'm using seems to consider some of the posting on c.l.p. (and presumably other newsgroups) to be not worth its while. When I view the newsgroup ...
    Nov 5, 2000 at 6:32 pm
    Nov 10, 2000 at 8:29 am
  • It's easy to recieve events i Python, but what steps do you have to take to export events from a python class and trigger them.
    Syver EnstadSyver Enstad
    Nov 9, 2000 at 1:55 pm
    Nov 14, 2000 at 9:35 pm
  • I have been wondering for some time about the best way to offer configuration data and other global resources to all modules and classes in my application, other than creating a config object and ...
    Boudewijn RemptBoudewijn Rempt
    Nov 12, 2000 at 3:14 pm
    Nov 13, 2000 at 11:31 pm
  • Howdy, There are two matters for which I would like clarification. First of all, I am doing some statistics with a PostgreSQL database, and for this I need to manipulate some dates, ie. add a week to ...
    Martin ChristensenMartin Christensen
    Nov 5, 2000 at 2:08 pm
    Nov 13, 2000 at 6:14 pm
  • 14


    I would like to write a ping program. I'm trying to use Python to ping machines and then generate a web page that displays the ping times. Can anyone point me in a direction towards learning how to ...
    Krister BruhwelKrister Bruhwel
    Nov 15, 2000 at 3:53 pm
    Nov 17, 2000 at 3:31 pm
  • I've been successfully using Perl for web site development, but don't really like it, as it is so baroque. All the different ways it has to achieve the same ends makes it very difficult to follow ...
    Keith MacDonaldKeith MacDonald
    Nov 6, 2000 at 11:15 am
    Nov 7, 2000 at 2:04 pm
  • Has anybody tried both MoinMoin and Zwiki? I'm trying to get a wikiwiki going with a minimum of administrative overhead. Don't need the other Zope features right now, though if Zwiki is roughly ...
    Nov 20, 2000 at 3:29 pm
    Nov 22, 2000 at 6:00 am
  • I even looked for a 'time.py' in Python20\Lib and didn't find one. Is it magic? Below is the session that I recorded. Python 2.0c1 (#7, Oct 9 2000, 18:44:43) [MSC 32 bit (Intel)] on win32 Type ...
    Nov 4, 2000 at 1:23 am
    Nov 10, 2000 at 8:22 pm
  • Hi, I have a List X with N number of items in it. I have another List Y which contains the postion of the elements to be deleted from List X. I cannot do a for loop to delete that because for each ...
    Nov 14, 2000 at 11:59 pm
    Nov 22, 2000 at 12:10 am
  • As a language, I like python more than perl. However, the modules that are available seem lacking in comparison to perl's. Why is this? Is it just because python is not as popular as perl? I can't ...
    Nov 13, 2000 at 7:55 pm
    Nov 15, 2000 at 4:10 am
  • I just discovered something interesting in the German ?Linux Magazin? (12/200 p. 88). It is called Internet C++ which is something like Java just for C++. There is a virtual machine named icvm. It is ...
    Mike MüllerMike Müller
    Nov 17, 2000 at 7:24 am
    Jan 15, 2001 at 6:26 pm
  • Python and EJB (J2EE) ===================== Searching through comp.lang.python newsgroup archive (python-list at python.org) and the zope at zope.org mailing list, I have not been able to find much ...
    Hung Jung LuHung Jung Lu
    Nov 24, 2000 at 8:04 pm
    Nov 27, 2000 at 2:24 am
  • Many game developers use some sort of scripting system for controlling game events, or for giving non-programmers access to the game engine during development. Has anybody used Python for this? Any ...
    Carey MurrayCarey Murray
    Nov 11, 2000 at 9:24 pm
    Nov 20, 2000 at 6:52 pm
  • Anybody who would like to make any recommendation? I have "Learning Python" and "Programming Python on Win32" and was thinking of buying "Programming Python" by Mr. Lutz. Would this be a worthwhile ...
    Simon FosterSimon Foster
    Nov 14, 2000 at 8:03 pm
    Nov 20, 2000 at 10:35 am
  • python uses the stdio subsystem provided by the under- lying platform. on Windows (like on most other platforms), it's based on the Unix model where line vs. character input is a property of the ...
    Fredrik LundhFredrik Lundh
    Nov 12, 2000 at 10:52 am
    Nov 15, 2000 at 4:03 am
  • OK, when setting a variable from program logic is it acceptable to set it directly or should one create a method to set the variable? -- Steve C. Lamb | I'm your priest, I'm your shrink, I'm your ...
    Steve LambSteve Lamb
    Nov 10, 2000 at 7:55 pm
    Nov 14, 2000 at 3:16 pm
  • I have been using computers for 10 years : MAC- WINDOWS- now LINUX I am only now beginning to see the light. Also I beleive Python is the replacement for Visual Basic which was my main language. I am ...
    Nov 7, 2000 at 4:46 am
    Nov 12, 2000 at 12:17 am
  • I have a problem that's more geometry than python per se, but I need a solution in python so I thought I'd ask here. This is for a proprietary web application I'm developing, but I'd be happy to ...
    Paul WinklerPaul Winkler
    Nov 6, 2000 at 2:55 am
    Nov 7, 2000 at 10:39 am
  • admin(8181): File "../Mailman/Cgi/oz_sub.py", line 71 results = results + "Can not subscribe itself!<br " ^ SyntaxError: invalid syntax
    Jack TigerJack Tiger
    Nov 3, 2000 at 2:59 am
    Nov 6, 2000 at 1:50 pm
  • Hi All, I would like users to be able to upload .jpeg files via a web page <input type=file What python code do I need to be able to save the file to a directory on the hard disk? Simon
    Simon FaulknerSimon Faulkner
    Nov 6, 2000 at 10:36 pm
    Dec 6, 2000 at 8:55 pm
  • I have done a bit of programming with Smalltalk and Java (but have never used C or C++) and for the most part you stay within the realm of the respective language. However, looking thru many of the ...
    Daniel KleinDaniel Klein
    Nov 10, 2000 at 3:04 am
    Nov 14, 2000 at 9:15 pm
  • Does anyone know if there is a way to extract information from a M$ Word document or at least how to convert it into something useful (xml, html etc.), on a Unix machine? Sent via Deja.com ...
    Nov 10, 2000 at 3:42 pm
    Nov 13, 2000 at 11:53 pm
  • I'm new to programming, but have successfully created a few working python codes. Now I need to process XML files as an input to my program (my data is in xml format). However, reading the Python ...
    S. HendryS. Hendry
    Nov 9, 2000 at 9:54 pm
    Nov 13, 2000 at 2:34 pm
  • Is there a python compiler somewhere?? maurice ling
    Maurice LingMaurice Ling
    Nov 4, 2000 at 12:46 pm
    Nov 13, 2000 at 2:33 pm
  • Hi Pythoners, Does someone know how to kill a Python thread from another Python thread (in the same process) ? In both thread and threading modules, there is functions to launch such threads, but no ...
    Richard GruetRichard Gruet
    Nov 9, 2000 at 8:57 am
    Nov 11, 2000 at 5:17 pm
  • I was just looking for an opinion about learning Python in association with XML. I am new to programming, and from what I have found it seems either Python or Pearl would be my best bet to begin to ...
    Nov 6, 2000 at 12:00 am
    Nov 7, 2000 at 8:48 pm
  • Is there a package that will read/write XBase, or similar, files? I don't want to use a full featured RDBMS for simple programs. -- Jim Sabatke SuSE 6.3 Linux Kernel - 2.2.13 ...
    Jim SabatkeJim Sabatke
    Nov 5, 2000 at 1:06 am
    Nov 7, 2000 at 8:43 pm
  • Just curious, with the advent of IDLE, is there any reason whatsoever to use the 'interactive' mode anymore? Dan
    Daniel KleinDaniel Klein
    Nov 2, 2000 at 3:28 pm
    Nov 4, 2000 at 4:09 pm
  • i have wriiten a small application in which i need to use the variable which is local to one of the functions in a class , but i am not able to access the variable. class myclass: def entry(): ...
    Nov 7, 2000 at 11:53 am
    Nov 21, 2000 at 2:36 pm
  • I'm considering to use Python for an application that shall - among other things - stimulate some external equipment (via an I/O-card on the PCI-bus) with a frequency of 10 Hz. This frequency should ...
    Bror JohanssonBror Johansson
    Nov 14, 2000 at 8:55 am
    Nov 21, 2000 at 4:44 am
  • I'm sure I'm just being very dumb today...but I was looking for a swap function and can't seem to find anything. I really don't need to do: temp=a b=a a=temp everytime I need this do I???? Thanks! -- ...
    Bob van der PoelBob van der Poel
    Nov 16, 2000 at 12:33 am
    Nov 18, 2000 at 5:06 pm
  • Dear all, I am trying to compile Pyhton2.0 on linux Redhat 7.0. I got the following error: Entering directory `/tsri/python/src/Python-2.0/i86Linux2/Parser' gcc -g -O2 -Wall -Wstrict-prototypes ...
    Nov 15, 2000 at 1:08 am
    Nov 17, 2000 at 8:26 am
  • Can anyone post an example, how to use mmap ? All the best, Harald
    Harald SchneiderHarald Schneider
    Nov 15, 2000 at 7:36 pm
    Nov 16, 2000 at 6:23 pm
  • When the Python team moved to Digital Creations the starship.python.net site changed from being hosted by BeOpen to Digital Creations. However after a recent couple of days of not being able to get ...
    Hamish LawsonHamish Lawson
    Nov 14, 2000 at 11:30 am
    Nov 16, 2000 at 10:22 am
  • Hi, I was wondering if there is already a more or less automatic way out there to build Python interfaces to C++ classes. I want to write the Gui in python and the C++ part interact with this Gui. It ...
    Aviad ArvivAviad Arviv
    Nov 8, 2000 at 4:57 pm
    Nov 9, 2000 at 4:02 pm
  • This is not acceptable for me. Python is able to handle umlauts: C:\home bash ~ $python Python 2.0 (#8, Oct 16 2000, 17:27:58) [MSC 32 bit (Intel)] on win32 Type "copyright", "credits" or "license" ...
    Nov 6, 2000 at 7:44 pm
    Nov 7, 2000 at 8:13 pm
  • I've been looking at using GUID generators in a project, they work fine for Win32 systems (where I use pythoncom.CreateGUID() then convert to a long integer), but I haven't been able to locate a ...
    Mike FletcherMike Fletcher
    Nov 2, 2000 at 9:46 pm
    Nov 6, 2000 at 1:15 pm
  • Hello, I want to transform data into Excel files using Python, not just data but also workbooks, etc.. Is there any module facilitating this? On a Windows-machine I would simply use Excel's COM ...
    Nov 4, 2000 at 11:41 am
    Nov 5, 2000 at 5:54 pm
  • Hi, Can anyone tell me if there is any library function to srot a tuple ind ecending order? if not, can someone supply the code??? thanks Sent via Deja.com http://www.deja.com/ Before you buy.
    Nov 15, 2000 at 1:01 am
    Nov 15, 2000 at 9:01 am
  • isinstance( object, class ) # also checks for sub-classes, so your check would need to be for the subclass, not for the superclass... or if self.__class__ == Spam: # more fragile, since only ...
    Mike FletcherMike Fletcher
    Nov 13, 2000 at 5:23 pm
    Nov 13, 2000 at 6:53 pm
  • ['[abcdefrdofhd]kdeioslkdfj[sdkfj]'] I expected something like ; ['[abcdefrdofhd]','[sdkfj]'] The chances are I've done something wrong, but can't tell what it is yet. What do you say? Best regards, ...
    June KimJune Kim
    Nov 10, 2000 at 11:08 pm
    Nov 11, 2000 at 11:08 pm
Group Navigation
period‹ prev | Nov 2000 | next ›
Group Overview
grouppython-list @

712 users for November 2000

Alex Martelli: 180 posts Fredrik Lundh: 65 posts Peter Hansen: 43 posts Steve Holden: 35 posts Joshua Muskovitz: 27 posts Simon Brunning: 26 posts Aahz Maruch: 25 posts June Kim: 24 posts Michael Hudson: 23 posts Erik Max Francis: 21 posts D-Man: 20 posts Thomas Wouters: 20 posts Martin von Loewis: 19 posts Courageous: 18 posts Dale Strickland-Clark: 18 posts Grant Edwards: 18 posts Andrew Dalke: 17 posts Olivier Dagenais: 17 posts Rodrigo Senra: 17 posts Christian Tismer: 16 posts
show more