Search Discussions

1,029 discussions - 5,594 posts

  • Found in a pamphlet at a pre-school: --------------------------------------- Reading improves vocabulary Reading raises cultural literacy through shared knowledge Reading develops writing skills ...
    Raymond HettingerRaymond Hettinger
    Aug 12, 2003 at 6:57 am
    Aug 16, 2003 at 10:47 pm
  • Hi, I was looking for a guidance about how to code MACROs in python. any offer ? thx B
    Bill LorenBill Loren
    Aug 12, 2003 at 8:42 am
    Aug 13, 2003 at 5:34 pm
  • """ Dear Amazon.com Customer, We've noticed that customers who have purchased books by Mark Lutz often enjoy the books of Sedi 200. So you might like to know that Sedi 200's newest book, Earth's Core ...
    Aug 31, 2003 at 12:38 pm
    Sep 2, 2003 at 7:59 pm
  • I have the following function that compares two filenames based on their basename only: _basenameCmp = lambda self, *pair: cmp(*map(os.path.basename, pair)) This is so that I can sort a list of ...
    Aug 30, 2003 at 11:25 pm
    Aug 31, 2003 at 9:37 pm
  • import os, string print " " setpath = raw_input("Enter the path: ") def find_replace(setpath): for root, dirs, files in os.walk(setpath): fname = files for fname in files: find = ...
    Aug 26, 2003 at 11:22 pm
    Aug 27, 2003 at 4:41 pm
  • import sys Hi all, At the beginning there is a table (database) with different columns. So I create a search operator to look for regular expressions. First I start the search only in one column and ...
    Wiebke PätzoldWiebke Pätzold
    Aug 12, 2003 at 8:11 am
    Aug 20, 2003 at 1:10 am
  • I installed Python-2.3 into c:\Program Files\Python23 on a new W2K SP4 computer. When I write a Python script and run it from the command prompt, I get the following error: C:\ python ...
    Aug 17, 2003 at 5:27 pm
    Aug 19, 2003 at 1:20 pm
  • I've got an array.array of unsigned char and would like to make a slice of that array (e.g. a[0:4]) become one long like I would in "C" : l = ((unsigned long *) (&a[0]))[0]; I have been getting what ...
    William S. HuizingaWilliam S. Huizinga
    Aug 8, 2003 at 3:30 pm
    Aug 11, 2003 at 8:30 am
  • just a suggestion -- next time the core RNG is changed, I think it would be useful to have an -oldrandom switch. It is common practice in simulation projects to depend on the fact that your random ...
    Aug 7, 2003 at 6:30 pm
    Aug 10, 2003 at 6:17 am
  • Given the following code,,, class Dead(object): def __init__(self, adeadthing): self.deadthing = adeadthing def getthing(self): return self.deadthing class Parrot(object): def __init__(self, ...
    Daniel KleinDaniel Klein
    Aug 31, 2003 at 3:55 am
    Sep 3, 2003 at 5:38 pm
  • Hello, I've got a Red Hat Linux 9 system with Python 2.2.2 and I would like to update to Python 2.3. I got the 2.3 source and built and installed it. Python 2.3 itself works but it doesn't have ...
    Jay BromleyJay Bromley
    Aug 29, 2003 at 6:40 am
    Sep 1, 2003 at 9:22 pm
  • A while back (a long while actually) I was a participant in a long argument over decimal and rational numbers, and their inclusion into the core of Python. Last night in a dream I came up with an ...
    Chris GonnermanChris Gonnerman
    Aug 27, 2003 at 1:00 pm
    Aug 29, 2003 at 2:11 am
  • Hi, i'm trying to compile a .py script using py2exe into a win .exe file. In that script i'm using xml.dom.minidom to parse an xml file (with the iso8859-1 encoding) i've included in the setup ...
    Alessandro Crugnola *sephiroth*Alessandro Crugnola *sephiroth*
    Aug 7, 2003 at 1:25 pm
    Aug 7, 2003 at 8:18 pm
  • How would I determine if a filename is greater than a certain number of characters and then truncate it to that number? For example a file named XXXXXXXXX.txt would become XXXXXX fname = files if ...
    Aug 3, 2003 at 2:15 am
    Aug 4, 2003 at 12:23 pm
  • *The Chronicle of Higher Education*, which is more-or-less authoritative for US university administrations, is spon- soring a discussion on the place of open-source in universities ("... are such ...
    Cameron LairdCameron Laird
    Aug 1, 2003 at 4:21 pm
    Aug 3, 2003 at 5:09 pm
  • Dear friends, just by chance, I got into the position to try out Zope 2.7.0 beta 1/2, and since it needs Python 2.2.3 at least, and Stackless 3.0 was just ported to that, I tried to build Zope with ...
    Christian TismerChristian Tismer
    Aug 27, 2003 at 11:55 pm
    Sep 3, 2003 at 11:23 am
  • Hello. I am relatively new to Python and I have a strange problem with some code. In a class the __call__ method gets parameters like this: class WhatsUp: __call__ ( self, var1, var2 = '', *moreVars, ...
    Andreas NeudeckerAndreas Neudecker
    Aug 29, 2003 at 2:33 pm
    Sep 1, 2003 at 4:36 pm
  • My husband and I are writing a program that does a lot of math behind the scenes (c++) with a gui front (python/Tkinter). We've decided that we want the c++ to be the "driver", and so we want to ...
    Zora HoneyZora Honey
    Aug 25, 2003 at 5:03 pm
    Aug 30, 2003 at 8:51 pm
  • Good people I am writing my first python program, so be gentle :-) This program needs to r/w UTF16LE files. When I run the program I get the following error Traceback (most recent call last): File ...
    Derek / nulDerek / nul
    Aug 21, 2003 at 1:47 am
    Aug 23, 2003 at 12:53 am
  • Hi all, I've been searching old posts for ideas, and can't quite come up with anything. In short I need an application that will continuously ping 11 different hosts and track the status of the ...
    Aug 18, 2003 at 11:46 pm
    Aug 22, 2003 at 7:58 pm
  • I confess that I have not used sets for anything beyond testing. I love the concept, but I just haven't had the need yet (especially in something where I want to require 2.3). The mention of ...
    David MertzDavid Mertz
    Aug 16, 2003 at 4:26 pm
    Aug 18, 2003 at 3:43 pm
  • Hi all I am relatively new to Python but have som programming experience. I am experimenting wit a POP3-program and it's fairly easy. I want to read the mails into an array of lists so I later can ...
    Bertel Lund HansenBertel Lund Hansen
    Aug 31, 2003 at 2:29 pm
    Sep 1, 2003 at 3:49 pm
  • HI all, I appear to have found a bug with win32 open and utf-16 files. utf-16 file available at www.sgrail.org/files/dash9.eng the program ...
    Derek / nulDerek / nul
    Aug 23, 2003 at 2:36 pm
    Aug 28, 2003 at 3:07 am
  • Hi, a year or so back some students of mine and I wrote some software which made use of the rexec module to run untrusted user code relatively safely. (We were creating a prototype of a mobile-code ...
    Colin Coghill (SFive)Colin Coghill (SFive)
    Aug 26, 2003 at 10:28 am
    Aug 28, 2003 at 12:25 am
  • Hi all, I've recently been very interested in learning Python but I seem to lack direction while reading the tutorials. I understand the syntax and everything concerning the language itself but the ...
    Aug 18, 2003 at 7:26 pm
    Aug 24, 2003 at 1:33 am
  • python.org has a page of "Python vs. X" language comparisons at <http://www.python.org/doc/Comparisons.html . They're all pretty outdated, and often unfair because they're written by a person who ...
    A.M. KuchlingA.M. Kuchling
    Aug 21, 2003 at 1:51 am
    Aug 22, 2003 at 4:55 am
  • Sometimes I find myself simply wanting the length of an iterator. For example, to collect some (somewhat useless ;)) statistics about a program of mine, I've got code like this: objs = ...
    Jeremy FincherJeremy Fincher
    Aug 7, 2003 at 7:10 am
    Aug 19, 2003 at 4:29 pm
  • What's better about Rattlesnakes than Python. I'm sure there's something. What is it? This is not a troll. I'm a snake shooping and I want people's answers. I don't know beans about Rattlesnakes or ...
    ForHimself Every ManForHimself Every Man
    Aug 18, 2003 at 3:39 am
    Aug 19, 2003 at 1:10 am
  • Hi I would like to take this opportunity to announce the release of Rekall for Windows and Linux. Rekall is an attempt to produce an application to rival Microsoft Access, without the huge price tag. ...
    Aug 9, 2003 at 10:01 pm
    Aug 12, 2003 at 9:02 am
  • I'll be quick. Here's a transcript: C:\usr\WConio-1.5 python setup.py build --compiler=mingw32 running build running build_py running build_ext building '_WConio' extension writing ...
    Chris GonnermanChris Gonnerman
    Aug 6, 2003 at 12:53 pm
    Aug 8, 2003 at 11:19 pm
  • Imagine I have a dict looking something like this: myDict = {"key 1": ["value 1", "value 2", "value 3", "value 4"], "key 2": ["value 1", "value 2"], "key 3": ["value2", "value 3", "value 4"], "key ...
    Robin CullRobin Cull
    Aug 7, 2003 at 1:59 pm
    Aug 8, 2003 at 2:33 pm
  • I've downloaded both source distro, and binary installer. Installed python with the binary installer, when I attempted to compile mxDateTime (mxBase) for 2.3 with MSVC 6.0 I got an error that seemed ...
    Syver EnstadSyver Enstad
    Aug 5, 2003 at 7:18 pm
    Aug 8, 2003 at 8:18 am
  • How do I check if a variable has been defined?? The following don't appear to work: if variable: if variable is None: I have only one (ugly) solution: try: variable except NameError: ... which works, ...
    Dan RawsonDan Rawson
    Aug 6, 2003 at 10:47 am
    Aug 6, 2003 at 2:39 pm
  • Hi, I downloaded Python-2.3.exe but when I used winzip it kept asking me if I wanted to replace old files with new ones, and in some instances, new files with old ones. I've never ...
    John LatterJohn Latter
    Aug 1, 2003 at 12:57 pm
    Aug 2, 2003 at 6:05 pm
  • Hi, I'm trying to discover a memory leak on a program of mine. I've taken several approaches, but the leak still resists to appear. First of all, I've tried to use the garbage collector to look for ...
    Debian UserDebian User
    Aug 29, 2003 at 10:59 am
    Sep 3, 2003 at 1:14 pm
  • Is there a method to create a dict from a list of keys and a list of values ? TIA Tertius
    Aug 28, 2003 at 9:14 pm
    Aug 29, 2003 at 7:42 pm
  • hi, at the company where i'm working we have to rewrite a part of our java-based application in a different language. there were many options, at the end python and c++ remained. our program is quite ...
    Aug 22, 2003 at 2:42 pm
    Aug 25, 2003 at 12:47 am
  • There are 2 ways to indicate private members of classes, by prepending 1 or 2 underscore characters, the latter causing name mangling. My question is: When would I use which kind to indicate privacy? ...
    Daniel KleinDaniel Klein
    Aug 21, 2003 at 12:38 pm
    Aug 23, 2003 at 7:38 am
  • I'm making a 2D game with a simple "adjacent freeform territories" map. I need to make save files for this. I figure I could store the data in either binary or text. The amount of data to be stored ...
    Brandon J. Van EveryBrandon J. Van Every
    Aug 17, 2003 at 9:09 am
    Aug 18, 2003 at 5:43 pm
  • I'm working on a windows machine I've written a Tkinter-app (sort of game) which consists mainly of an animation which is driven by a while True: ... loop. If I close the App's window by clicking the ...
    Gregor LinglGregor Lingl
    Aug 16, 2003 at 9:44 am
    Aug 16, 2003 at 7:44 pm
  • I'm having a devil of a time with signal handling under BSD 4.4 with Python and I was hoping that this might ring a bell with someone. Using the Webware Application Server (a multi-threaded Python ...
    Elf M. SternbergElf M. Sternberg
    Aug 12, 2003 at 9:57 pm
    Aug 16, 2003 at 3:29 am
  • ... a.remove(b) ... [2, 4] An HTML attachment was scrubbed... URL: http://mail.python.org/pipermail/python-list/attachments/20030808/0ae07429/attachment.html
    Aug 8, 2003 at 8:11 am
    Aug 13, 2003 at 9:57 am
  • I posted a looong time ago regarding this COM stuff (see the pasted post at the end) and I am still beating my head against the wall on this. I have been trying to debug this further and I think the ...
    Markus WankusMarkus Wankus
    Aug 7, 2003 at 1:55 am
    Aug 12, 2003 at 1:19 am
  • Hi, First of all, I'm new in Python... I have worked with manu langs and IDEs, like Delphi, VB, JBuilder, Eclipse, Borland C++, Perl, etc... Then, today I think IDEs like Delphi have a excelent ...
    Aug 6, 2003 at 2:11 pm
    Aug 9, 2003 at 8:45 am
  • Is there any conceptual reason why "ABCDEF".split("") shouldn't equal ["A", "B", "C", "D", "E", "F"]? The error says empty seperator, but the result makes sense given that fact and the fact that: ...
    Brian KelleyBrian Kelley
    Aug 6, 2003 at 6:22 pm
    Aug 7, 2003 at 11:36 pm
  • Some time ago I wrote a portable file system browser, twander, that, when runnning on Win32, will make use of the Win32All extensions if they are present on the target system. ...
    Tim DaneliukTim Daneliuk
    Aug 5, 2003 at 6:06 am
    Aug 7, 2003 at 3:30 am
  • Hello , I'm tring Python 2.3 ( on source and binary distribution , on Linux and Windows ) and i think the command history doesn't work . When i use the Up-Arrow in Python2.3 started in an xterm i get ...
    Nicola MingottiNicola Mingotti
    Aug 3, 2003 at 3:35 pm
    Aug 6, 2003 at 12:25 am
  • I'm trying to change a base class of a big class hierarchy. The hierarchy in question is 4DOM (from PyXML). 4DOM has an FtNode class that defines __getattr__ and __setattr__ that I need to override. ...
    John J. LeeJohn J. Lee
    Aug 3, 2003 at 11:31 am
    Aug 5, 2003 at 4:15 pm
  • Hi all! Could somebody help me with a task? import sys import Mk4py import re db = Mk4py.storage("c:\\datafile.mk",1) vw = db.view("people") class PatternFilter: def _init_(self, pattern): ...
    Wiebke PätzoldWiebke Pätzold
    Aug 4, 2003 at 10:30 am
    Aug 5, 2003 at 11:55 am
  • i'm having trouble building the pyrex demos. i also can't compile a simple hello word example. i keep getting this '__pyx_f' unknown size error. here's the error i'm getting when executing the ...
    Aug 2, 2003 at 5:35 am
    Aug 5, 2003 at 12:16 am
Group Navigation
period‹ prev | Aug 2003 | next ›
Group Overview
grouppython-list @

1,203 user for August 2003

Andrew Dalke: 139 posts John J. Lee: 130 posts Alex Martelli: 125 posts Michael Peuser: 105 posts Peter Hansen: 91 posts Skip Montanaro: 86 posts Bengt Richter: 85 posts Brandon J. Van Every: 84 posts Terry Reedy: 80 posts Michael Hudson: 74 posts John Roth: 67 posts Christos TZOTZIOY Georgiou: 64 posts Michele Simionato: 64 posts Gerhard Häring: 62 posts Yun Mao: 60 posts Aahz: 58 posts Erik Max Francis: 56 posts Raymond Hettinger: 52 posts Thomas Heller: 44 posts Jacek Generowicz: 41 posts
show more