FAQ

Search Discussions

779 discussions - 3,640 posts

  • I observe that the folowing works as some might expect: x = y = 5 Assigns 5 to both x and y. However the expression: y = 5 does not yeild 5 Traceback ( File "<interactive input ", line 1 print y = 5 ...
    Dale Strickland-ClarkDale Strickland-Clark
    Oct 8, 2001 at 11:55 am
    Oct 22, 2001 at 3:44 pm
  • Check out the free Python editor at www.crimsoneditor.com.
    Kemp Randy-W18971Kemp Randy-W18971
    Oct 31, 2001 at 2:08 pm
    Nov 13, 2001 at 10:58 pm
  • are there good references on using Python in a commercial, team development environment? i have been advocating and slowly convincing various people in my company to use Python. i've successfully ...
    Peter WangPeter Wang
    Oct 31, 2001 at 12:45 am
    Nov 9, 2001 at 3:03 am
  • I'm a bit mystified by all the activitiy on conditional expressions that appears to have originated from a post a while ago about curious assignment behaviour. Have I missed something here (quite ...
    Dale Strickland-ClarkDale Strickland-Clark
    Oct 16, 2001 at 1:38 pm
    Oct 30, 2001 at 2:15 pm
  • No update since 2001-05-14 ...
    Goh S HGoh S H
    Oct 27, 2001 at 4:39 am
    Feb 17, 2002 at 3:13 pm
  • Suppose I have a list with an even number of elements in the form [key1, value1, key2, value2, key3, value3] If I were writing Perl I could write my %hash = @array; and it would do the coercion for ...
    Jim CorreiaJim Correia
    Oct 19, 2001 at 3:42 am
    Oct 31, 2001 at 6:02 pm
  • Firstoff, Shouldn't the plural of "mutex" be "mutices"? :-) I am trying to write a multithreaded app in Python on Win32. These threads need to communicate with one another, so they can collaborate. ...
    David BradyDavid Brady
    Oct 23, 2001 at 7:06 pm
    Oct 27, 2001 at 12:17 pm
  • Hi, I need a binary search tree in python that uses classes. I'm trying to count words from a file and spit out the number of times they occur and in alphabetical order. I got bintree[ [key, data], ...
    Christy JChristy J
    Oct 28, 2001 at 6:41 am
    Oct 30, 2001 at 4:07 pm
  • Hello, i just starting to learn python ... so i've two questions: 1. is there a easy way to test, if a file exists? 2. do you have an example to do a template work for cgi? e.g. you have this ...
    Johannes GamperlJohannes Gamperl
    Oct 25, 2001 at 9:21 am
    Oct 26, 2001 at 4:55 pm
  • Following is good clarification from Guido (on Python-Dev) about "the rules" currently implemented by his patch. -----Original Message----- Sent: Monday, October 15, 2001 3:24 PM Subject: Re: ...
    Tim PetersTim Peters
    Oct 15, 2001 at 8:22 pm
    Oct 18, 2001 at 1:05 am
  • Is it? Isn't the above equivalent to ['x value','y value','z value'] = x a = x in which case there is no forcing of type happening at all (syntax errors aside). Tim Delaney
    Delaney, TimothyDelaney, Timothy
    Oct 29, 2001 at 11:42 pm
    Oct 31, 2001 at 6:15 am
  • WARNING! A trojan has been found in an article posted to the following newsgroup(s): comp.lang.javascript, alt.config, comp.lang.perl.misc, comp.lang.python, comp.os.linux.misc Message header ...
    Dr Solomon's Virus PatrolDr Solomon's Virus Patrol
    Oct 9, 2001 at 6:36 pm
    Oct 12, 2001 at 10:49 pm
  • 26

    None

    I want to have a methode of a class that will take the argument of a file object that has previously been opened for write and be able to call it, directing it's output to a file, or directing the ...
    Larry WhitleyLarry Whitley
    Oct 23, 2001 at 6:01 pm
    Oct 30, 2001 at 8:58 am
  • Hi! Time for a periodic frenzy about the standard lib again... ;-) How comes there is no sign() or signum() function in math? I found only one thread in comp.lang.python mentioning such a function ...
    Dinu GhermanDinu Gherman
    Oct 12, 2001 at 9:27 am
    Oct 18, 2001 at 10:05 am
  • Hi, I'm working on a Gnutella client, and were beginning to look a bit at performance. After running it through the profiler module, it seems most of the time is spent in asyncore.dispatcher's ...
    Thomas JensenThomas Jensen
    Oct 17, 2001 at 1:54 am
    Oct 21, 2001 at 6:37 am
  • Scratching my head over what I thought was a simple problem. I'm developing a catalog application (storing its data in a relational database), where catalog entries are categorized by one or more ...
    StephenStephen
    Oct 22, 2001 at 9:18 pm
    Oct 30, 2001 at 12:14 am
  • Is there a Python module that does quaternion math?
    David FeustelDavid Feustel
    Oct 5, 2001 at 11:53 pm
    Oct 10, 2001 at 7:24 pm
  • Anyone know if there are any web client modules written in Python, along the lines of the Perl LWP module? Thanks. Paul
    Paul RubinPaul Rubin
    Oct 14, 2001 at 11:29 am
    Oct 15, 2001 at 6:49 pm
  • A few times I've had Python 2.1.1 crash on me for no apparent reason. Cursory inspection of the core dump doesn't show much-- the interpreter seemed to be innocently evaluating something. Chances are ...
    Paul RubinPaul Rubin
    Oct 28, 2001 at 12:58 am
    Oct 29, 2001 at 8:47 pm
  • hello, my name is chase. I'm very new to programing and to python. I'm having a little trouble in using python. I don't know how to creat a program using it. To be truthful i know nothing at all ...
    Chase TurnerChase Turner
    Oct 1, 2001 at 9:11 pm
    Oct 29, 2001 at 4:03 pm
  • I've been browsing the message archives for some time looking for an answer to this question, but I didn't find anything useful. Maybe you guys could help me out. I'm trying to obtain x number of ...
    Tim PayneTim Payne
    Oct 18, 2001 at 1:04 pm
    Oct 22, 2001 at 12:31 pm
  • A while back there was a discussion here about a possible Python.Net and related matters. I would still like to know if there is any recent information. Below is my perhaps faulty understanding of ...
    Ron StephensRon Stephens
    Oct 28, 2001 at 7:01 pm
    Nov 4, 2001 at 5:19 am
  • [It's not particularly Pythonish question, but I thought you might know] I like Tkinter because it's standard. But there is a big but. While on Windows it looks great, on unices it makes kids laugh. ...
    Artur SkuraArtur Skura
    Oct 3, 2001 at 10:39 am
    Oct 31, 2001 at 8:43 pm
  • I like J2EE but I am also an open source fan. I don't like what I read about Sun and restricting Java - http://www.onjava.com/pub/a/onjava/2001/10/10/osjava.html . Is there anything similar to J2EE ...
    Robin SmithRobin Smith
    Oct 12, 2001 at 10:51 am
    Oct 24, 2001 at 3:53 am
  • Hi, I want to use smtplib module for sending emails. Is there any way how I can test a return code, generated by this module, to see if an email was accepting for delivery, for example? Thank you for ...
    AA
    Oct 20, 2001 at 9:41 pm
    Oct 23, 2001 at 10:06 pm
  • Hi, I've been using php for ages for webdev and I don't like it. It lacks so many simple features, and I can't be bothered using Java to use those features. IMHO java is not suited for specific web ...
    Billy_bill_1Billy_bill_1
    Oct 8, 2001 at 6:32 am
    Oct 11, 2001 at 6:30 pm
  • I'd like to point something that is said in ?4.7.1 of the tutorial: "Important warning: The default value is evaluated only once. This makes a difference when the default is a mutable object such as ...
    SebastienSebastien
    Oct 4, 2001 at 8:56 am
    Oct 5, 2001 at 5:44 pm
  • Hi all, It's been a while that I am working with Python and actually the only thing I really do not like about it is 'self' in the member function definitions as argument. If it has to be there ...
    Schaefer, F.Schaefer, F.
    Oct 31, 2001 at 7:18 pm
    Nov 1, 2001 at 9:08 pm
  • My server need to send 2 strings separeted: s1= 'xxx' s2= 'yyy' My client must received like this: rec1= 'xxx' rec2= 'yyy' The problem is that the Client received s1 and s2 in one only string. How ...
    Hugo MartiresHugo Martires
    Oct 10, 2001 at 11:14 am
    Oct 12, 2001 at 3:35 am
  • Dear Friends, Is anyone here using Python with MySQL using the MySQLdb module? I have been using it for a while in a prototype, and now that I am trying to optimize it for speed I am running into ...
    Leonardo B LopesLeonardo B Lopes
    Oct 3, 2001 at 9:07 pm
    Oct 5, 2001 at 8:24 pm
  • Hello, I am a newbie to python, and remain impressed with the power of the language overall. There are however some little features that I am used to in ReXX (default scripting language for ...
    P AdhiaP Adhia
    Oct 30, 2001 at 8:57 pm
    Nov 15, 2001 at 2:30 pm
  • hi all, I have just been introduced to pyton and find it a very good ( takes off all the bookwork ) language. I was trying to develope a ast prime number generator. I designed the following algo. Can ...
    Rupendra DhillonRupendra Dhillon
    Oct 21, 2001 at 5:39 pm
    Oct 24, 2001 at 5:58 am
  • From the documentation: "The poll() system call, supported on most Unix systems" and my questions: a) is poll supported on Windows? my guess is no, but i hoping for a yes. thanks
    Lucio TorreLucio Torre
    Oct 23, 2001 at 1:51 am
    Oct 23, 2001 at 11:20 pm
  • Hi, I tried to use the Borg Pattern from Alex Martelli (http://aspn.activestate.com/ASPN/Cookbook/Python/Recipe/66531). I have one file containing the Borg class. In another file I defined a second ...
    Jan WenderJan Wender
    Oct 11, 2001 at 12:52 pm
    Oct 15, 2001 at 1:04 am
  • Hi there! Given a string s = "%(foo)s %(spam)s" and two dictionaries d1 = {"foo": "bar"} d2 = {"spam": "eggs"} how would you apply d1 and d2 to s without modifying or explicitly copying one of the ...
    Carsten GaeblerCarsten Gaebler
    Oct 8, 2001 at 8:42 am
    Oct 10, 2001 at 9:06 am
  • A solution I thought I had to using __setattr__ doesn't seem to work. class wibble: def __init__(self): <init code self.__setattr__ = self.set def set(self, attr, value): <assignment code My late ...
    Dale Strickland-ClarkDale Strickland-Clark
    Oct 3, 2001 at 11:35 am
    Oct 4, 2001 at 8:39 pm
  • Did you mean def __unpack__(self): return self.x, self.y Otherwise, what are the x and y referring to? And is Pair(a,b) on the LHS any *callable*? Or must the object Pair be a type object or class ...
    James_AlthoffJames_Althoff
    Oct 30, 2001 at 5:54 pm
    Nov 2, 2001 at 6:48 pm
  • The simplest way I can think of to take items in pairs from two sequences is to use the builtin zip function. [('t', 'd'), ('e', 'u'), ('s', 's'), ('t', 't')] Then it's a simple matter of iterating ...
    Joshua MacyJoshua Macy
    Oct 20, 2001 at 12:15 pm
    Oct 24, 2001 at 9:27 am
  • Hi ! Anyone know how i can create a IF AND statements in python ? ex: IF vars == 1 AND vars2 == 2: ..... in the tutorial papers only have a refers to ELIF. Thx Charles
    CharlesCharles
    Oct 17, 2001 at 6:07 pm
    Oct 23, 2001 at 9:25 pm
  • hello Do you know where can i find python for compaq ipaq pocket pc running Windows CE? And second question: i need a _simple_ ftp client written in python (using ftplib) which will store some files ...
    Karol MakowskiKarol Makowski
    Oct 23, 2001 at 8:22 am
    Oct 23, 2001 at 6:54 pm
  • I constantly miss some nice way to subset lists. As an example suppose I have a list of x y coordinates eg [x0,y0,x1,y1,.....] and wish to perform the operation x- x+v, y- y+w for the co-ordinates in ...
    Robin BeckerRobin Becker
    Oct 16, 2001 at 11:33 am
    Oct 18, 2001 at 2:41 am
  • A long while ago there was a big debate here regarding the desired behavior of the dictionary update method when it is asked to update a key which already exists -- whether it should keep the ...
    Mark JMark J
    Oct 12, 2001 at 1:20 am
    Oct 14, 2001 at 6:39 am
  • I am switching from Perl to Python, and would like to convert string '123abc' to integer 123. foo = int('123abc') # error foo = string.atoi('123abc') #error foo = eval('123abc') # error I tried the ...
    JamesJames
    Oct 2, 2001 at 4:22 am
    Dec 6, 2001 at 3:08 pm
  • Please please please, PythonWin 2.1 have eaten my Python program, does anyone have a suggestion about where to find it? Is there a bug in the saving of files in PythonWin 2.1 ? I have used it for a ...
    Tim Gahnström /BladermanTim Gahnström /Bladerman
    Oct 31, 2001 at 12:44 am
    Oct 31, 2001 at 10:16 pm
  • Hi, I've been experimenting with Python for a short period of time and I really enjoy it. It allows me to do a lot of things that are much harder or even not possible to accomplish in other ...
    Károly LadvánszkyKároly Ladvánszky
    Oct 25, 2001 at 7:39 pm
    Oct 25, 2001 at 10:46 pm
  • Hello, I am writing an app that will (hopefully) expose Python as a scripting/macro language to users, some of whom know little or nothing about programming. A previous version of our software had a ...
    David BradyDavid Brady
    Oct 19, 2001 at 7:21 pm
    Oct 22, 2001 at 8:17 pm
  • There is one additional system of complex numbers (octonians) beyond quaternions. Are there any python implementations of octonians?
    David FeustelDavid Feustel
    Oct 6, 2001 at 11:59 am
    Oct 10, 2001 at 7:26 am
  • I have just begun reading and experimenting with the tutorials from the python website. I have programmed years ago with BASIC and COBOL, so I am not completely in the dark. The problem I am having ...
    LennyLenny
    Oct 6, 2001 at 4:47 am
    Oct 9, 2001 at 1:22 am
  • A 'properly' encapsulated business class tends to involve methods and attributes. However, managing attribute assignment gets very messy with __setattr__ as you need to devise a scheme to distinguish ...
    Dale Strickland-ClarkDale Strickland-Clark
    Oct 2, 2001 at 12:01 pm
    Oct 3, 2001 at 12:02 am
  • Hi, We have written an application written in C, which invokes sometimes the Python interpreter for executing Python methods. So, I am trying to statically link our application with libpython*.*.a., ...
    Olivier DemeOlivier Deme
    Oct 1, 2001 at 12:36 pm
    Oct 1, 2001 at 1:40 pm
Group Navigation
period‹ prev | Oct 2001 | next ›
Group Overview
grouppython-list @
categoriespython
discussions779
posts3,640
users871
websitepython.org

871 users for October 2001

Steve Holden: 141 posts Paul Rubin: 79 posts Tim Peters: 78 posts Oleg Broytmann: 76 posts Skip Montanaro: 72 posts Martin von Loewis: 66 posts Emile van Sebille: 57 posts Cliff Wells: 56 posts Ignacio Vazquez-Abrams: 55 posts Gerhard Häring: 48 posts David Bolen: 44 posts Erik Max Francis: 39 posts Fredrik Lundh: 36 posts Richard Jones: 36 posts John Roth: 33 posts Andrew Dalke: 32 posts Chris Barker: 31 posts Terry Reedy: 31 posts Magnus Lie Hetland: 30 posts Paul Winkler: 29 posts
show more
Archives