Search Discussions

937 discussions - 5,196 posts

  • It appears that the preferred way to make a copy constructor is to define the __copy__ method. In the examples I have seen, __copy__ then creates a new object in the usual way, which invokes ...
    David SmithDavid Smith
    Aug 9, 2001 at 6:55 pm
    Aug 18, 2001 at 9:30 pm
  • I just started playing with python and haven't been able to figure out the following things from the docs I've found: 1) Suppose I have a complex number like a = 3+4j. How do I get the real and ...
    Paul RubinPaul Rubin
    Aug 15, 2001 at 5:59 am
    Aug 27, 2001 at 2:19 pm
  • Just wondering. Can anyone tell me the rationale for leaving the ++/-- operator out of python. It is perhaps my only irritation with python, it is just that I hate to have to write: x = x + 1 when my ...
    Mark RobinsonMark Robinson
    Aug 3, 2001 at 9:15 am
    Aug 24, 2001 at 1:17 am
  • Hello people I've heard about python and i thought that it coulb be a nice language for me to use. is it true that it can be used in every O.S.? I'm programming in vb now, and i'd like to know if ...
    Jeroen paul goudsmitJeroen paul goudsmit
    Aug 28, 2001 at 5:46 pm
    Sep 3, 2001 at 1:45 pm
  • Is there any particular reason Python uses reference counting garbage collection (which leaks memory if there's circular structure) instead of Lisp-style garbage collection? As Python gets used for ...
    Paul RubinPaul Rubin
    Aug 22, 2001 at 9:14 am
    Aug 27, 2001 at 8:58 pm
  • Visual Python is not the same is Python .NET. Visual Python is a plug-in to VisualStudio .NET that helps you develop normal CPython applications. It extends VisualStudio to offer: - Python syntax ...
    Brian QuinlanBrian Quinlan
    Aug 11, 2001 at 4:49 am
    Sep 17, 2001 at 11:36 am
  • is there a data type like the const in c/c++? ive been combing through the doc and it doesnt seem to have one or am i missing something somewhere?
    Aug 17, 2001 at 7:36 pm
    Sep 9, 2001 at 5:48 pm
  • I'm trying to do some file locking on Windows. I'm running Win98, but I hope that the methods in the msvcrt module will work OK on any win32? I thought I understood what I was doing. I had tested a ...
    Sheila KingSheila King
    Aug 25, 2001 at 7:30 pm
    Aug 30, 2001 at 4:56 am
  • I am using the following blecherous code to do a conversion from char*s in the form "<a =<b " to the form {'<a ':(tuple of '<b 's), ...}. I'm sure that there's probably a more straightforward way out ...
    Ignacio Vazquez-AbramsIgnacio Vazquez-Abrams
    Aug 29, 2001 at 11:00 am
    Sep 6, 2001 at 6:02 pm
  • What's the current status of Stackless Python in relation to the developing Python 2.x implementation? I can see that there's a patched version of Stackless Python for version 2.0 ...
    Michael AbbottMichael Abbott
    Aug 28, 2001 at 3:11 pm
    Sep 7, 2001 at 4:50 pm
  • First of all this is not intended as flame-baiting or trolling. I'm genuinly curious about this one weird feature. I've recently started looking at python, as we are about to implement a whole new ...
    Dave SwegenDave Swegen
    Aug 23, 2001 at 2:28 pm
    Aug 30, 2001 at 4:37 am
  • Hi pythoners, You Emacs users, you've been boasting about "X/Emacs's Python mode". First of all, you said you didn't like Vi because it was modal. Secondly, Vim has a Python environment. Ie, with vim ...
    Adam 'Vonlia' SeyfarthAdam 'Vonlia' Seyfarth
    Aug 8, 2001 at 2:53 pm
    Aug 10, 2001 at 11:01 am
  • I have hurt my brain (and those who are unfortunate to sit near me ;)) trying to formulate an algorithm for the following problem. I am sure that someone here must be able to help me out, it seems ...
    Mark RobinsonMark Robinson
    Aug 7, 2001 at 12:48 pm
    Aug 8, 2001 at 5:24 pm
  • Many times I want to extract a sublist and I have the initial position p plus the length n. So I do: v[p:p+n] Many times the initial position p is an expression. Hence, I have to repeat it tediously ...
    Juan ValiñoJuan Valiño
    Aug 23, 2001 at 12:24 pm
    Aug 28, 2001 at 12:29 am
  • I am just wondering, since I am now joining python and it's greatness, why don't the developers of Python make Python just as fast(if not faster) than the older, more low-level lanquage. Yes, there ...
    Aug 23, 2001 at 1:57 am
    Aug 27, 2001 at 9:51 pm
  • 1) normally, you call functions in python like this: name '(' arg { ',' arg } ')' however, 'print' is a special function in that its arguments can be written without enclosing brackets. Wouldn't it ...
    Gerson KurzGerson Kurz
    Aug 30, 2001 at 5:23 am
    Aug 31, 2001 at 9:29 pm
  • Hi I have some simple calculations: a0 b=9 c=a/b and want to store them in a file (as a string): file.write(`c`) Well, it is of course wrong, because 'c' is integer and truncates everything after ...
    Piotr LegieckiPiotr Legiecki
    Aug 28, 2001 at 9:40 am
    Aug 29, 2001 at 9:10 pm
  • Hi, I just installed 2.2a1 and immediately come to 'natural question': Is 'from __future__ import generators' really necessary ? purity-beats-practicality-ly-y'rs, gzeljko
    Aug 8, 2001 at 10:02 pm
    Aug 14, 2001 at 6:52 am
  • I want to work with PyGAME. But, I know I need to spend a little more time with some simple Python programs. But, I have no idea what would be a good program for a novice to work on. This isn't ...
    Aug 18, 2001 at 3:10 am
    Aug 28, 2001 at 6:42 pm
  • Another easy newbie question here... Suppose I have a method that accepts a string (called 'value') as an argument. I want the method to check to see if the contents of the string is all numbers. ...
    Aug 21, 2001 at 1:08 pm
    Aug 28, 2001 at 12:39 pm
  • Let me begin with a caveat: I am zonked out on cold drugs. My reading of the PEP, and writing of this post, might suffer because of this. Throwing caution to the wind, here's my stupid question: What ...
    Russell TurpinRussell Turpin
    Aug 22, 2001 at 7:44 pm
    Sep 4, 2001 at 4:27 pm
  • I've been looking at Python IDEs over the last week, and this is what I've found. On the theory that other people might be interested, here are the results... 1. IDLE - comes with the standard Python ...
    Alan GreenAlan Green
    Aug 17, 2001 at 4:46 am
    Aug 28, 2001 at 2:30 pm
  • Hello, I have a question about the ececl function from the os module. I was trying to write a script to untar a bunch of tarballs in a directory. The script looked like this #!/usr/bin/env python ...
    Aug 27, 2001 at 1:57 pm
    Aug 28, 2001 at 11:20 am
  • hi all, I know that this is a redundant question. I started off with Tkinter from Programming Python book ( explained in detail). I liked it. Then i stumbled across wxPython and the kind of ...
    Learn PythonLearn Python
    Aug 13, 2001 at 7:29 am
    Aug 17, 2001 at 2:12 pm
  • I'm using python for one day now, and the only thing i van do is import sys and exit() and print "hello". I want messageboxes! how?
    Jeroen paul goudsmitJeroen paul goudsmit
    Aug 30, 2001 at 7:08 pm
    Aug 31, 2001 at 8:53 pm
  • I've done a Google search and found that others have had the same problem I'm having. Any upgrade of Python, even from 2.0 to 2.1, breaks extension modules. I'm working on MS-Windows, and the ...
    Bryan OlsonBryan Olson
    Aug 28, 2001 at 8:12 pm
    Aug 31, 2001 at 10:35 am
  • After a couple of Betas, version 3.0 of The SkunkWeb Web Application Server has just been released. The release is available from the SkunkWeb home page at http://skunkweb.sourceforge.net or directly ...
    Drew CsillagDrew Csillag
    Aug 23, 2001 at 4:29 pm
    Aug 28, 2001 at 8:36 pm
  • I've been a Unix system adminstrator for about 7 years now, longer if you count my student admin jobs. With a few, brief exceptions, I have always worked places with small computing budgets. We can't ...
    William AnnisWilliam Annis
    Aug 3, 2001 at 6:25 pm
    Aug 14, 2001 at 9:50 pm
  • I've looked through the archives regarding using smtplib and the numerous MIME related modules for sending email messages with attachments. I've found various solutions, some of which no longer seem ...
    Aug 14, 2001 at 1:26 pm
    Sep 20, 2001 at 7:50 am
  • Hi, Sorry if this question has been done to death but my friend Mr Google Groups wasn't able to point me in the direction of the answer. I'm an undergraduate doing a relatively simple bit of ...
    Michael WilliamsMichael Williams
    Aug 22, 2001 at 12:46 am
    Aug 26, 2001 at 5:06 am
  • Hello, I am new to Python and interested to develop a new website using only Python. I would like to know, few things 1. Is there a simple example out there to print 'Hello World' on web? like the ...
    Aug 6, 2001 at 8:51 pm
    Aug 24, 2001 at 12:10 am
  • We have to convert a large system (10000 lines) written in Python to C++. Does anybody have experience with doing an actual conversion of a working Python prototype to C++? We will probably have to ...
    Henrik EkelundHenrik Ekelund
    Aug 17, 2001 at 12:52 pm
    Aug 23, 2001 at 5:02 pm
  • Go to: http://webware.sourceforge.net/Papers/Templates/ and one will find a growing list of packages designed to provide a means of generating HTML pages using Python in one way or another. These ...
    Graham DumpletonGraham Dumpleton
    Aug 1, 2001 at 11:15 am
    Aug 31, 2001 at 11:38 am
  • Doug FortDoug Fort
    Aug 5, 2001 at 12:39 pm
    Aug 13, 2001 at 10:21 pm
  • I want to be able to dynamically build a hierarchical set of data. (Forgive me if I am not using the proper terminology or if what I mean by a term is completely different from what the rest of you ...
    Jeremy JonesJeremy Jones
    Aug 8, 2001 at 8:20 pm
    Aug 12, 2001 at 7:53 am
  • PySpy does run-time visualization and analysis of Python software. See http://www.malcolmson.com/pyspy for more. Warning in advance - currently this only runs on Windows. I'll watch this thread for ...
    Aug 17, 2001 at 5:16 pm
    Aug 22, 2001 at 7:26 pm
  • Dear kindly snake people, I have read about, and downloaded, some of the Python unit testing frameworks available, but I have never yet been able to actually use any one of them to implement actual ...
    Jesse WJesse W
    Aug 17, 2001 at 1:53 am
    Aug 23, 2001 at 11:44 pm
  • Wouldn't that be a good opportunity to migrate www.python.org away from CNRI to overcome some org. restrictions? Ciao, Michael.
    Michael StröderMichael Ströder
    Aug 1, 2001 at 7:58 am
    Aug 16, 2001 at 2:45 pm
  • [[[As an aside on the topic of bug-tracking systems: I submitted this on sourceforge, and discovered that it escapes HTML tags so that they just show up in your text. So this is the worst of both ...
    Aug 4, 2001 at 3:09 pm
    Aug 9, 2001 at 5:50 pm
  • Sorry if this is a really dumb question, but I believe I did my homework (docs, FATS, Google etc.) and the answer still eludes me : how do I print 246814345 as 246,814,345 (or 246 814 345) ? TIA, fp ...
    Fred PacquierFred Pacquier
    Aug 31, 2001 at 11:33 am
    Sep 3, 2001 at 8:37 am
  • I have a method name (string) and a class object. I'd like to be able to look up the the named unbound method of the class. I know that TheClass.__dict__[<methodname ] will kinda work, but it will ...
    Joseph Andrew KnapkaJoseph Andrew Knapka
    Aug 22, 2001 at 9:01 pm
    Aug 25, 2001 at 3:03 pm
  • Hello! After some time working with Python I noticed that I use "-s and '-s according to the following rule: I use "" quotes when I specify value MANUALLY. That is, in most cases. On the other hand, ...
    Roman SuziRoman Suzi
    Aug 9, 2001 at 11:32 am
    Aug 19, 2001 at 5:27 pm
  • Not paying attention to the headers, I first replied to c.l.py.a to have my posting sent of to some moderator. So let me retry in case the other doesn't make it into c.l.py. Andrew Kuchling wrote: ...
    Carel FellingerCarel Fellinger
    Aug 7, 2001 at 7:26 pm
    Aug 12, 2001 at 2:40 am
  • Hi, I wonder if there is a way to tell if a module is part of the standard library or not, when you scan over Python source code and handle import statement "events"? Note that I'm not interested in ...
    Dinu GhermanDinu Gherman
    Aug 22, 2001 at 11:48 am
    Aug 22, 2001 at 11:10 pm
  • 15


    Can't find a convenient way to check for the end of an input file. I would like to say something like this where fh.eof would return a boolean value for the eof condition. How is this done, or is ...
    Cris A. FugateCris A. Fugate
    Aug 14, 2001 at 8:42 pm
    Aug 16, 2001 at 3:24 am
  • Can anyone advise me the best way to iterate through a list and deleting elements that don't meet a certain criteria. If I use: for x in list: if x y: del x obviously that just deletes a reference to ...
    Mark RobinsonMark Robinson
    Aug 9, 2001 at 2:54 pm
    Aug 10, 2001 at 8:26 am
  • In article <72X97.12093$9i1.972452 at e420r-atl1.usenetserver.com , Brian Marick wrote: It seems to me that if there is any kind of 'official' collaboration between the Perl and Python worlds that ...
    Phil TomsonPhil Tomson
    Aug 7, 2001 at 3:15 am
    Aug 8, 2001 at 6:25 am
  • Hi, I have some webpages that contain FORMS. Each form has input fields and also some hidden fields. How can I easily get urlencoded string from all these fields like ...
    Aug 30, 2001 at 12:03 pm
    Oct 30, 2001 at 6:35 am
  • I want to run a programme, ITS-0/0, which I have downloaded from www.maitint. org. It uses Python, so I downloaded several archives from www.schwertberger.dusnet.de/python.html including !Python, ...
    Mr J C GreenwoodMr J C Greenwood
    Aug 19, 2001 at 8:56 pm
    Sep 12, 2001 at 12:21 am
  • Is there any editor support python?
    Aug 30, 2001 at 5:21 pm
    Sep 9, 2001 at 11:58 pm
Group Navigation
period‹ prev | Aug 2001 | next ›
Group Overview
grouppython-list @

989 users for August 2001

Alex Martelli: 218 posts Skip Montanaro: 142 posts Ignacio Vazquez-Abrams: 134 posts Tim Peters: 128 posts Alex Martelli: 126 posts Paul Rubin: 93 posts Steve Holden: 92 posts Roman Suzi: 91 posts Peter Hansen: 84 posts Markus Schaber: 81 posts Bengt Richter: 63 posts Aahz Maruch: 61 posts Jeff Shannon: 61 posts Guido van Rossum: 60 posts Terry Reedy: 57 posts Maan M. Hamze: 52 posts Richard Jones: 51 posts Marcin 'Qrczak' Kowalczyk: 50 posts Robin Becker: 50 posts Sheila King: 50 posts
show more