Search Discussions

798 discussions - 4,414 posts

  • Python is wonderful except that it has no real private and protected properties and methods. Every py object has dict so that you can easily find what fields and methods an obj has, this is very ...
    Could ildgCould ildg
    Sep 28, 2005 at 7:10 am
    Oct 8, 2005 at 6:40 pm
  • Hi, after Guido's pronouncement yesterday, in one of the next versions of Python there will be a conditional expression with the following syntax: X if C else Y which is the same as today's (Y, ...
    Reinhold BirkenfeldReinhold Birkenfeld
    Sep 30, 2005 at 1:09 pm
    Oct 16, 2005 at 6:27 pm
  • A Moronicity of Guido van Rossum Xah Lee, 200509 On Guido van Rossum's website: http://www.artima.com/weblogs/viewpost.jsp?thread�196 dated 20050826, he muses with the idea that he would like to ...
    Xah LeeXah Lee
    Sep 29, 2005 at 2:24 pm
    Oct 12, 2005 at 7:01 am
  • A work colleague circulated this interesting article about reducing software bugs by orders of magnitude: http://www.spectrum.ieee.org/WEBONLY/publicfeature/sep05/0905ext.html Some methods they talk ...
    Sep 12, 2005 at 5:17 pm
    Sep 19, 2005 at 1:54 pm
  • On Slashdot there is a discussion about the future C#3.0: http://developers.slashdot.org/developers/05/09/18/0545217.shtml?tid9&tid=8 http://msdn.microsoft.com/vcsharp/future/ There are many ...
    Sep 18, 2005 at 1:22 pm
    Sep 26, 2005 at 5:01 am
  • Given a list of N arbitrarily permutated integers from set {1..N}. Need to find the ordering numbers of each integer in the LONGEST increasing sequence to which this number belongs. Sample: List: [4, ...
    Sep 7, 2005 at 4:48 pm
    Sep 26, 2005 at 11:59 am
  • After considering several alternatives and trying out a few ideas with a modified list object Bengt Richter posted, (Thank You), I think I've found a way to make slice operation (especially far end ...
    Ron AdamRon Adam
    Sep 4, 2005 at 8:32 pm
    Sep 9, 2005 at 11:03 pm
  • Fuzzyman, your post reminded me of something I can't stop thinking about. Please don't take this as a critique on your work. I place myself on the same side of yours. I just wanted to share this ...
    Stefano MasiniStefano Masini
    Sep 9, 2005 at 3:17 pm
    Sep 18, 2005 at 4:36 pm
  • Hi! I was wondering if someone can recommend a good encryption algorithm written in python. My goal is to combine two different numbers and encrypt them to create a new number that cann't be traced ...
    Sep 7, 2005 at 2:00 pm
    Sep 16, 2005 at 3:18 pm
  • Greetings, all. I have a program I'm trying to speed up by putting it on a new machine. The new machine is a Compaq W6000 2.0 GHz workstation with dual XEON processors. I've gained about 7x speed ...
    John BrawleyJohn Brawley
    Sep 4, 2005 at 6:05 pm
    Sep 12, 2005 at 1:54 pm
  • After nine months of hard work, I am proud to introduce my baby to the world: an experimental Python-to-C++ compiler. It can convert many Python programs into optimized C++ code, without any user ...
    Mark DufourMark Dufour
    Sep 10, 2005 at 10:36 pm
    Sep 18, 2005 at 8:10 pm
  • Firstly, this topic is NOT intended for trolling or starting any flame wars. I want to know if anyone has experience with these frameworks, and if so, how do they compare? Which one do you prefer? ...
    Sep 6, 2005 at 2:06 am
    Sep 26, 2005 at 1:09 am
  • Please read/comment/vote. This circulated as a pre-PEP proposal submitted to c.l.py on August 10, but has changed quite a bit since then. I'm reposting this since it is now "Open (under ...
    Micah ElliottMicah Elliott
    Sep 26, 2005 at 10:35 pm
    Oct 3, 2005 at 10:08 pm
  • Hi, I am trying to understand how cElementTree's clear works: I have a (relatively) large XML file, that I do not wish to load into memory. So, naturally, I tried something like this: from ...
    Igor V. RafienkoIgor V. Rafienko
    Sep 25, 2005 at 5:54 pm
    Sep 26, 2005 at 11:56 am
  • Hi all I am writing a multi-user accounting/business system. Data is stored in a database (PostgreSQL on Linux, SQL Server on Windows). I have written a Python program to run on the client, which ...
    Frank MillmanFrank Millman
    Sep 12, 2005 at 1:34 pm
    Sep 14, 2005 at 3:19 pm
  • Hi all. I'm sorry for a noob question like this but I'll try to ask it anyway. One of the greatest problem that may discourage a new user to choose Python language is it's interpreted nature. Another ...
    Sep 5, 2005 at 6:36 pm
    Sep 11, 2005 at 12:48 am
  • Hi guys, My situation is as follows: 1)I've developed a service that generates content for a mobile service. 2)The content is sent through an SMS gateway (currently we only send text messages). ...
    Sep 28, 2005 at 4:19 pm
    Oct 27, 2005 at 10:03 am
  • Hi I need to browse the socket-module source-code. I believe it's contained in the file socketmodule.c, but I can't locate this file... Where should I look? regards tores
    Tor Erik SønvisenTor Erik Sønvisen
    Sep 29, 2005 at 7:46 pm
    Oct 8, 2005 at 8:28 am
  • suppose i'm calling two system processes, one to unzip, and one to ?tail? to get the last line. How can i determine when the first process is done? Example: ...
    Xah LeeXah Lee
    Sep 7, 2005 at 9:58 am
    Sep 8, 2005 at 10:50 pm
  • Hi, while working on something in my current project I have made several improvements to the logging package in Python, two of them are worth mentioning: 1. addition of a logging record field ...
    Sep 5, 2005 at 3:47 pm
    Sep 15, 2005 at 3:23 pm
  • Greetings! I'm new to Python and am struggling a little with "and" and "or" logic in Python. Since Python always ends up returning a value and this is a little different from C, the language I ...
    James H.James H.
    Sep 19, 2005 at 12:20 am
    Sep 23, 2005 at 6:01 pm
  • What would people think about adding sys to __builtins__ so that "import sys" is no longer necessary? This is something I must add to every script I write that's not a one-liner since they have this ...
    Michael HoffmanMichael Hoffman
    Sep 1, 2005 at 7:09 pm
    Sep 26, 2005 at 7:06 pm
  • I'm using pygame to write a game called Bombz which needs to save some data in a directory associated with it. In Unix/Linux I'd probably use "~/.bombz", in Windows something like "C:\Documents And ...
    Tony HoughtonTony Houghton
    Sep 20, 2005 at 10:03 pm
    Sep 23, 2005 at 5:57 pm
  • Can anyone explain why this does not work? and instead I have to go: to initialize a dictionary with the given list of pairs? when an analagous operation on strings works fine: Seems inconsistent. ...
    Sep 8, 2005 at 11:03 pm
    Sep 11, 2005 at 7:27 pm
  • OK, I'm a newbie... I'm trying to learn Python & have had fun with it so far. But I'm having trouble following the many code examples with the object "self." Can someone explain this usage in plain ...
    Wayne SuttonWayne Sutton
    Sep 23, 2005 at 1:36 am
    Sep 27, 2005 at 5:20 pm
  • I've a list with duplicate members and I need to make each entry unique. I've come up with two ways of doing it and I'd like some input on what would be considered more pythonic (or at least best ...
    Sep 14, 2005 at 11:38 am
    Sep 17, 2005 at 5:55 am
  • I'm slowly getting tired maintaining py2exe. It is far from perfect, although it has interesting features (I would say). The problem, apart from the work, is that it is good enough for me - I can do ...
    Thomas HellerThomas Heller
    Sep 20, 2005 at 4:36 pm
    Sep 26, 2005 at 7:22 pm
  • Hi group, I came across some of these online sudoku games and thought after playing a game or two that I'd better waste my time writing a solver than play the game itself any longer. I managed to ...
    Sep 16, 2005 at 8:45 pm
    Sep 22, 2005 at 12:57 pm
  • I'm confused, I want to read/write XML files but I don't really understand what library to use. I've used DOM-based libraries in other languages, is PyXML the library to use?
    Kalle AnkeKalle Anke
    Sep 13, 2005 at 5:23 pm
    Sep 19, 2005 at 9:37 am
  • On behalf of the Python development team and the Python community, I'm happy to announce the release of Python 2.4.2 (final). Python 2.4.2 is a bug-fix release. See the release notes at the website ...
    Anthony BaxterAnthony Baxter
    Sep 28, 2005 at 12:44 pm
    Oct 2, 2005 at 7:20 pm
  • Popen from subprocess module gives me access to stdout, so I can read it. Problem is, that I don't know how much data is available... How can I read it without blocking my program? example: ...
    Jacek PopławskiJacek Popławski
    Sep 12, 2005 at 8:07 am
    Sep 16, 2005 at 9:07 am
  • Hi Gurus, I want to find the expiration date of stock options (3rd Friday of the month) for an any give month and year. I have tried a few tricks with the functions provided by the built-in module ...
    Sep 2, 2005 at 7:15 pm
    Sep 15, 2005 at 2:11 am
  • Although I realize the perils of even suggesting polluting the Python namespace with a new keyword, I often think that it would be useful to consider defining an operator for testing whether or not ...
    Talin at acm dot orgTalin at acm dot org
    Sep 1, 2005 at 7:52 am
    Sep 7, 2005 at 3:16 pm
  • py2exe 0.6.1 released ==================== py2exe is a Python distutils extension which converts python scripts into executable windows programs, able to run without requiring a python installation. ...
    Thomas HellerThomas Heller
    Sep 5, 2005 at 7:55 pm
    Sep 8, 2005 at 9:46 pm
  • Hello, My department has switched from vmware to wine/cxoffice. I have been playing with this all morning, and I've gotten this far. If someone has done this, could you point me in the right ...
    James StroudJames Stroud
    Sep 13, 2005 at 9:31 pm
    Oct 26, 2005 at 11:46 am
  • I'm looking at a tutorial with the code below from wxPython.wx import * class MyApp(wxApp): def OnInit(self): frame = wxFrame(NULL, -1, "winApp", size = (800,640)) frame.Show(true) ...
    Sep 30, 2005 at 2:15 pm
    Oct 19, 2005 at 11:58 pm
  • Hello People. I've have a very tight inner loop (in a game app, so every millisecond counts) which I have optimised below: def loop(self): self_pool = self.pool self_call_exit_funcs = ...
    Sep 5, 2005 at 3:49 am
    Sep 14, 2005 at 10:52 pm
  • this script should create individual threads to scan a range of IP addresses, but it doesnt, it simple ... does nothing. it doesnt hang over anything, the thread is not being executed, any ideas ...
    Sep 19, 2005 at 4:13 am
    Sep 19, 2005 at 8:51 pm
  • hi, there are 2 versions of a simple code. which is preferred? === if len(line) = (n+1): text = line[n] else: text = 'nothing' === === try: text = line[n] except IndexError: text = 'nothing' === ...
    Sep 12, 2005 at 10:52 am
    Sep 17, 2005 at 9:57 pm
  • I've been reading about how "lambda" is going away in Python 3000 (or at least, that's the stated intent), and while I agree for the most part with the reasoning, at the same time I'd be sad to see ...
    Talin at acm dot orgTalin at acm dot org
    Sep 6, 2005 at 8:49 am
    Sep 7, 2005 at 10:09 am
  • Is it possible to have a default value associated python objects? I.e. to flag an attribute in such a way that the assignment operator for the object returns the default attribute instead of the ...
    Sep 20, 2005 at 7:31 pm
    Sep 22, 2005 at 8:40 am
  • Hi I have a class A, with metaclass M_A, and class B, subclass of A, with metaclass M_B, subclass of M_A. A class C, subclass of B must have M_B or a subclass of it as metaclass, but what if I need ...
    Pedro WerneckPedro Werneck
    Sep 17, 2005 at 12:31 am
    Sep 19, 2005 at 10:13 am
  • I guess questions like this come all the time here ... well: I a looking for a python IDE for gnu/linux that : - has decent sytax highlighting (based on scintilla would be neat) - has basic name ...
    Thomas JollansThomas Jollans
    Sep 15, 2005 at 7:39 pm
    Sep 19, 2005 at 9:01 am
  • Let's say I have the following data: 500 objects: -100 are red -300 are blue -the rest are green Is there some python package which can represen the above information in a pie chart? Thanks Thierry
    Thierry LamThierry Lam
    Sep 15, 2005 at 3:10 pm
    Sep 16, 2005 at 2:53 pm
  • Why did round() change in Python 2.4? $ python2.3 Python 2.3.5 (#2, Jun 19 2005, 13:28:00) [GCC 3.3.6 (Debian 1:3.3.6-6)] on linux2 0.023 '0.023' $ python2.4 Python 2.4.1 (#2, Jul 12 2005, 09:22:25) ...
    Nils GrimsmoNils Grimsmo
    Sep 13, 2005 at 1:17 pm
    Sep 15, 2005 at 11:16 am
  • I'm just starting out on Python but my primary goal is to provide applications with some user interface (GUI). Can someone point me to a good comparison of whether I should use wxPython (with wxGlade ...
    Rod WRod W
    Sep 13, 2005 at 5:21 am
    Sep 15, 2005 at 6:42 am
  • Hi all! I could not find out whether this has been proposed before (there are too many discussion on join as a sequence method with different semantics). So, i propose a generalized .join method on ...
    David MurmannDavid Murmann
    Sep 30, 2005 at 2:22 am
    Oct 8, 2005 at 12:17 pm
  • One of my friends has recently taken up Python, and was griping a bit about the language (it's too "prescriptive" for his tastes). In particular, he didn't like the way that Python expressions were a ...
    Peter CorbettPeter Corbett
    Sep 29, 2005 at 9:53 am
    Oct 1, 2005 at 11:43 pm
  • A week ago I posted a simple little hi-score routine that I was using to learn Python. I've only just managed to examine the code, and the responses that people gave, and I'm now seriously struggling ...
    Sep 25, 2005 at 6:37 pm
    Sep 26, 2005 at 1:22 am
  • Is it possible to implement some sort of "lazy" creation of objects only when the object is used, but behaving in the same way as the object? For instance: class Foo: def __init__(self, val): """This ...
    Jeremy SandersJeremy Sanders
    Sep 22, 2005 at 8:40 pm
    Sep 24, 2005 at 12:03 am
Group Navigation
period‹ prev | Sep 2005 | next ›
Group Overview
grouppython-list @

969 users for September 2005

Fredrik Lundh: 172 posts Steve Holden: 123 posts Terry Reedy: 82 posts Peter Hansen: 81 posts Robert Kern: 80 posts Mike Meyer: 69 posts Steven D'Aprano: 58 posts Bengt Richter: 50 posts Ron Adam: 50 posts Paul McGuire: 44 posts Terry Hancock: 44 posts Diez B. Roggisch: 42 posts Grant Edwards: 42 posts Phill Atwood: 41 posts N00m: 36 posts Bruno modulix: 35 posts James Stroud: 35 posts Larry Bates: 33 posts Reinhold Birkenfeld: 33 posts Thomas Heller: 32 posts
show more