Search Discussions

847 discussions - 5,419 posts

  • Hello, I just read this mail by Brett Cannon: http://mail.python.org/pipermail/python-dev/2006-October/069139.html where the "PSF infrastracture committee", after weeks of evaluation, recommends ...
    Giovanni BajoGiovanni Bajo
    Oct 3, 2006 at 8:19 am
    Oct 10, 2006 at 1:25 am
  • The definition of a component model I use below is a class which allows properties, methods, and events in a structured way which can be recognized, usually through some form of introspection outside ...
    Edward Diener No SpamEdward Diener No Spam
    Oct 9, 2006 at 5:59 pm
    Nov 13, 2006 at 4:47 pm
  • I'm a little confused. Why doesn't s evaluate to True in the first part, but it does in the second? Is the first statement something different? False print 'hi' hi Thanks.
    John SalernoJohn Salerno
    Oct 25, 2006 at 6:56 pm
    Oct 30, 2006 at 9:01 am
  • Why can't Python have a reverse() function/method like Ruby? Python: x = 'a_string' # Reverse the string print x[::-1] Ruby: x = 'a_string' # Reverse the string print x.reverse The Ruby approach ...
    Oct 19, 2006 at 3:47 pm
    Oct 23, 2006 at 11:27 pm
  • DiveIntoPython.org was the first book I read on python, and I really got a lot out of it. I need to start learning Java (to maintain a project I've inherited), and was wondering if anyone knew of any ...
    Oct 8, 2006 at 10:30 pm
    Oct 11, 2006 at 9:38 pm
  • Suppose I have this function: def f(var=1): return var*2 What value do I have to pass to f() if I want it to evaluate var to 1? I know that f() will return 2, but what if I absolutely want to pass a ...
    Oct 3, 2006 at 8:16 pm
    Oct 14, 2006 at 5:11 am
  • Recently I've had some problems with PythonWin when I switched to Py2.5, tooka long hiatus, and came back. So now I'm without my god sent helper, and I'm looking for a cool replacement, or some ...
    Oct 25, 2006 at 11:14 pm
    Oct 30, 2006 at 1:18 pm
  • Now i began to learn GUI programming. There are so many choices of GUI in the python world, wxPython, pyGTK, PyQT, Tkinter, .etc, it's difficult for a novice to decide, however. Can you draw a ...
    Jiang HaiyunJiang Haiyun
    Oct 24, 2006 at 5:07 am
    Nov 6, 2006 at 5:07 pm
  • The following line of lightly munged code was found in a publicly available Python library... if schema.elements.has_key(key) is False: Sorry, just had to vent. -- Aahz (aahz at pythoncraft.com) <* ...
    Oct 6, 2006 at 11:27 pm
    Oct 10, 2006 at 5:21 pm
  • I realized that I have a little job on the table that is a fine test of the Python versus Standard Forth code availability and reusability issue. Note that I have little experience with either Python ...
    John DotyJohn Doty
    Oct 11, 2006 at 8:38 pm
    Oct 16, 2006 at 9:11 pm
  • Hi all, I'm sorry about the newbie question, but I've been searching all afternoon and can't find the answer! I'm trying to get this bit of code to work without triggering the IndexError. import ...
    Oct 3, 2006 at 10:10 pm
    Oct 11, 2006 at 4:56 am
  • I'm a Tcl/Tk developer who has been working, slowly, at learning Python, in part because Python has better support for certain kinds of applications that I want to develop than Tcl/Tk does. ...
    Kevin WalzerKevin Walzer
    Oct 19, 2006 at 7:29 pm
    Oct 23, 2006 at 8:18 am
  • Just curious what users of the two big commercial IDEs think of them compared to one another (if you've used both). Wing IDE looks a lot nicer and fuller featured in the screenshots, but a glance at ...
    John SalernoJohn Salerno
    Oct 13, 2006 at 7:00 pm
    Nov 7, 2006 at 12:42 am
  • I'm really worried that python may is doing some things I wasn't expecting... but lets see... if I pass a list to a function def fn(myList): and in that function I modify an element in the list, then ...
    Oct 30, 2006 at 7:22 pm
    Nov 2, 2006 at 11:34 pm
  • Can these operators be overloaded? If so. How?
    Oct 7, 2006 at 9:24 pm
    Oct 13, 2006 at 2:11 pm
  • Ok, not really python focused, but it feels like the people here could explain it for me :) Now, I started programming when I was 8 with BBC Basic. I never took any formal classes however, and I have ...
    Matthew WarrenMatthew Warren
    Oct 5, 2006 at 10:28 am
    Oct 9, 2006 at 11:18 am
  • I cannot connect to starship.python.net: neither http, nor can I login interactively with ssl (and the host key seems to have changed as well). Does anyone know more? Thanks, Thomas
    Thomas HellerThomas Heller
    Oct 13, 2006 at 6:59 am
    Oct 17, 2006 at 6:47 pm
  • Hi, i have client-server application which is written in python using XMLRPC protocol. The existing client is a command line. Now client application we are converting it as Web UI using java. I have ...
    Oct 6, 2006 at 4:52 am
    Oct 9, 2006 at 7:28 pm
  • Hi all -- Compared to the Python I know and love, Ruby isn't quite the same. However, it has at least one terrific feature: "blocks". Whereas in Python a "block" is just several lines of ...
    Oct 14, 2006 at 4:54 am
    Oct 17, 2006 at 11:33 am
  • Below is a simple program that will cause python to intermittently stop executing for a few seconds. it's 100% reproducible on my machine. I'd be tempted to say this is a nasty garbage collection ...
    Charlie straussCharlie strauss
    Oct 1, 2006 at 6:52 am
    Oct 1, 2006 at 8:49 pm
  • Hi Anyone ever done this? It looks like Python2.4 won't take a length arg Mathew
    Oct 23, 2006 at 10:32 pm
    Oct 28, 2006 at 2:06 pm
  • Hi, I have two lists, A and B, such that B is a subset of A. I wish to sort A such that the elements in B are at the beginning of A, and keep the existing order otherwise, i.e. stable sort. The order ...
    Cameron WalshCameron Walsh
    Oct 24, 2006 at 4:12 am
    Oct 27, 2006 at 2:58 am
  • I defined a nested function: def foo(): def bar(): return "bar" return "foo " + bar() which works. Knowing how Python loves namespaces, I thought I could do this: Traceback (most recent call last): ...
    Steven D'ApranoSteven D'Aprano
    Oct 28, 2006 at 7:56 am
    Nov 1, 2006 at 8:55 pm
  • Hi guys. I'm looking for a nicer, more compact way of writing this code. It doesn't have to be anything fancy, just something without the duplication and preferably only one return statement. def ...
    John SalernoJohn Salerno
    Oct 25, 2006 at 6:17 pm
    Oct 26, 2006 at 3:03 pm
  • There's a program, it's result is "unexpected aaa", i want it to be "expected aaa". how to make it work? [code] class C1(object): def v(self, o): return "expected "+o class C2(object): def v(self, ...
    Oct 16, 2006 at 1:39 am
    Oct 18, 2006 at 12:14 pm
  • I wrote this for someone else to take an object and list of types, then check if obj is one of those types, raising an error otherwise. Is it enough to rely on side effects or absence thereof, or ...
    Theerasak PhothaTheerasak Photha
    Oct 11, 2006 at 5:06 am
    Oct 16, 2006 at 9:57 am
  • [For some reason, the newsgroup server seems to not have distributed the messages yet. Thus posting via groups-google now. first message was from 2006-09-27, second message from 2006-09-28, both with ...
    Ilias LazaridisIlias Lazaridis
    Oct 5, 2006 at 9:02 pm
    Oct 7, 2006 at 9:53 am
  • I think that it would be handy for enumerate to behave as such: def enumerate(itrbl, start=0, step=1): i = start for it in itrbl: yield (i, it) i += step This allows much more flexibility than in the ...
    James StroudJames Stroud
    Oct 29, 2006 at 11:32 am
    Oct 31, 2006 at 4:16 pm
  • What do you guys use? Why? What do you like and hate about it? What platform(s) is it avalable on? How much does it cost? etc.
    Oct 13, 2006 at 2:29 pm
    Oct 17, 2006 at 6:40 pm
  • Hi. I was searching for some information regarding a problem and found an interesting post that includes an answer to the problem; thought the post is very helpful it is based on a wrong assumption ...
    Oct 1, 2006 at 5:18 pm
    Oct 13, 2006 at 5:05 pm
  • I'm just building a Python CGI Tutorial and would appreciate any feedback from the many experts in this list. Regards, Clodoaldo Pinto Neto
    Clodoaldo Pinto NetoClodoaldo Pinto Neto
    Oct 4, 2006 at 7:28 pm
    Oct 9, 2006 at 8:36 am
  • I have noticed that in the language shootout at shootout.alioth.debian.org the Python program for the n-body problem is about 50% slower than the Perl program. This is an unusual big difference. I ...
    Peter MaasPeter Maas
    Oct 6, 2006 at 7:43 pm
    Oct 8, 2006 at 9:49 pm
  • Has the addition of a Universe Set object ever been suggested. Like U = set(0), so that any object was a member of U? Maybe this gets into some crazy Cantorian stuff since U is in U. But it seems ...
    Jordan NickJordan Nick
    Oct 4, 2006 at 3:52 am
    Oct 17, 2006 at 9:53 am
  • Where can I find documentation of what Python accepts as the filename argument to the builtin function file? As an example, I'm aware (through osmosis?) that I can use '/' as a directory separator in ...
    Neil CeruttiNeil Cerutti
    Oct 24, 2006 at 2:43 pm
    Oct 26, 2006 at 6:57 pm
  • Hi, We just executed a project with Python using TG. The feedback was to use more python like programming rather than C style code executed in Python. The feedback is from a Python purist and for ...
    Oct 11, 2006 at 3:03 am
    Oct 18, 2006 at 8:35 pm
  • Hi all! I am a 15 year old High School Sophomore. I would like to start programming in Python. In school, we are learning Java (5) and I like to use the Eclipse IDE, I also am learning PHP as well. ...
    Oct 12, 2006 at 11:37 pm
    Oct 15, 2006 at 5:46 am
  • Following the usual cookbook examples, my app parses an open file as follows:: parser = xml.sax.make_parser() parser.setFeature(xml.sax.handler.feature_external_ges,1) # Hopefully the content handler ...
    Edward K. ReamEdward K. Ream
    Oct 4, 2006 at 1:40 pm
    Oct 5, 2006 at 5:12 am
  • I have a system that has a few lists that are very large (thousands or tens of thousands of entries) and some that are rather small. Many times I have to produce the difference between a large list ...
    Chaz GingerChaz Ginger
    Oct 3, 2006 at 11:02 am
    Oct 4, 2006 at 9:15 am
  • hi! i want to build up a simple 3d interactive geometry application in python. Since i want to run it without 3D acceleration (a scene will be quite simple) I was wondering if there was a library in ...
    Nelson -Nelson -
    Oct 31, 2006 at 7:43 am
    Nov 1, 2006 at 11:29 pm
  • Hello, is there a assignement operator, that i can overwrite? class MyInt: def __init__(self, val): assert(isinstance(val, int)) self._val = val a = MyInt(10) # Here i need to overwrite the ...
    Alexander EisenhuthAlexander Eisenhuth
    Oct 17, 2006 at 1:50 pm
    Oct 25, 2006 at 9:12 am
  • If I have a list Mylist=[1,2,3,4,5] I can print it for i in Mylist: print i and results is 1 2 3 4 5 But how can I print it in a reverse order so that I get 5 4 3 2 1 ? Thanks. L
    Oct 20, 2006 at 2:38 pm
    Oct 24, 2006 at 10:19 pm
  • I need to be able to get the name of the currently executed method within that method. I know that the method object does have the __name__ attribute but I know know how to access it from withing the ...
    Mitko HaralanovMitko Haralanov
    Oct 18, 2006 at 8:59 pm
    Oct 20, 2006 at 2:11 am
  • I have a list and I need to do a custom sort on it... for example: a = [1,2,3,4,5,6,7,8,9,10] #Although not necessarily in order def cmp(i,j): #to be defined in this thread. a.sort(cmp) print a ...
    Oct 16, 2006 at 6:13 pm
    Oct 17, 2006 at 4:56 pm
  • I put together the following module today and would like some feedback on any obvious problems. Or even opinions of weather or not it is a good approach. While collating is not a difficult thing to ...
    Ron AdamRon Adam
    Oct 18, 2006 at 6:42 am
    Oct 20, 2006 at 10:59 pm
  • I understand how to create a property like this: class RC(object): def _set_pwm(self, v): self._pwm01 = v % 256 def _get_pwm(self): return self._pwm01 pwm01 = property(_get_pwm, _set_pwm) But what if ...
    Lee HarrLee Harr
    Oct 18, 2006 at 1:02 am
    Oct 19, 2006 at 7:49 am
  • I'm a little confused, but I'm sure this is something trivial. I'm confused about why this works: ('more', 'less'), ('something', 'nothing'), ('good', 'bad')) (('hello', 'goodbye'), ('more', 'less'), ...
    John SalernoJohn Salerno
    Oct 20, 2006 at 7:14 pm
    Nov 7, 2006 at 11:11 am
  • I'm attempting to create a lobby & game server for a multiplayer game, and have hit a problem early on with the server design. I am stuck between using a threaded server, and using an event driven ...
    Oct 29, 2006 at 11:19 am
    Nov 5, 2006 at 1:36 pm
  • I am a mere hobbyist. Spent several hours trying to make a class, because I think this is an occasion where I need one. But I can't make it work. This code "works" (only because of the global c, ...
    Oct 20, 2006 at 6:00 am
    Oct 22, 2006 at 10:34 am
  • One thing that's kept me from even looking at IDEs is that to the best of my knowledge none of them will integrate properly with external editors like Emacs or vi. I know lots of tools support ...
    Oct 13, 2006 at 5:04 pm
    Oct 16, 2006 at 11:10 am
  • In the announcement for Python-2.3 http://groups.google.com/group/comp.lang.python/msg/287e94d9fe25388d?hl=en it says "raw_input(): can now return Unicode objects". But I didn't see anything about ...
    Stuart McGrawStuart McGraw
    Oct 9, 2006 at 11:36 pm
    Oct 12, 2006 at 12:47 pm
Group Navigation
period‹ prev | Oct 2006 | next ›
Group Overview
grouppython-list @

970 users for October 2006

Fredrik Lundh: 392 posts Steve Holden: 168 posts Theerasak Photha: 121 posts Ben Finney: 110 posts Gabriel Genellina: 98 posts John Salerno: 93 posts Bruno Desthuilliers: 90 posts Paul McGuire: 87 posts Martin v. Löwis: 86 posts Diez B. Roggisch: 64 posts John Machin: 59 posts Neil Cerutti: 58 posts Tim Chase: 53 posts James Stroud: 52 posts Hendrik van Rooyen: 51 posts Skip: 51 posts Robert Kern: 46 posts Steven D'Aprano: 46 posts Paul Boddie: 45 posts BearophileHUGS: 42 posts
show more