Search Discussions

868 discussions - 4,736 posts

  • Is there any specific reason for not using MinGW to build the official distribution of Python for Win32? A quick Google search did not reveal the answer to my question. If a link is available, please ...
    Srijit Kumar BhadraSrijit Kumar Bhadra
    Apr 24, 2006 at 6:47 am
    Apr 29, 2006 at 7:34 am
  • I tried to clear a list today (which I do rather rarely, considering that just doing l = [] works most of the time) and was shocked, SHOCKED to notice that there is no clear() method. Dicts have it, ...
    Ville VainioVille Vainio
    Apr 11, 2006 at 3:01 pm
    Apr 15, 2006 at 11:06 am
  • Criticism versus Constructive Criticism Xah Lee, 2003-01 A lot intelligent people are rather confused about criticism, especially in our ?free-speech? free-for-all internet age. When they say ...
    Xah LeeXah Lee
    Apr 25, 2006 at 7:21 pm
    May 24, 2006 at 11:43 am
  • I'm coming from a Java background, so please don't stone me... I see that Python is missing "interfaces". The concept of an interface is a key to good programming design in Java, but I've read that ...
    Redefined HorizonsRedefined Horizons
    Apr 17, 2006 at 8:39 pm
    Apr 24, 2006 at 11:20 am
  • Because of my 'novice-ness' in programming, I had always thought that C was replaced by C++ and wasn't really used anymore today. I know that's not the case at all now, but I'm still curious how much ...
    John SalernoJohn Salerno
    Apr 8, 2006 at 8:32 pm
    Apr 11, 2006 at 6:04 pm
  • At the risk of flogging a dead horse, I'm wondering why Python doesn't have any multiline comments. One can abuse triple-quotes for that purpose, but that's obviously not what it's for and doesn't ...
    Edward ElliottEdward Elliott
    Apr 18, 2006 at 11:53 pm
    Apr 20, 2006 at 7:02 pm
  • For Python developers around. The list of base classes in a class definition can now be empty. As an example, this is now legal: class C(): pass nice but why this syntax return old-style class, same ...
    Apr 11, 2006 at 10:49 am
    Apr 25, 2006 at 7:21 am
  • So, I thought I'd tool up to let me build and test Python extensions on Windows (as well as Mac and Linux) -- I'm trying out Parallels Workstation beta on my new Macbook Pro (and so far it seems to ...
    Alex MartelliAlex Martelli
    Apr 23, 2006 at 4:36 pm
    Apr 28, 2006 at 3:42 pm
  • The PEP below should be mostly self explanatory. I'll try to keep the most updated versions available at: http://ucsu.colorado.edu/~bethard/py/pep_create_statement.txt ...
    Steven BethardSteven Bethard
    Apr 6, 2006 at 4:21 am
    Apr 18, 2006 at 11:46 am
  • "Is this the right room for an argument?" http://geosci.uchicago.edu/~tobis/snake.png ok, so my execution is pretty crude, but you can at least see my idea. I trust you to imagine it professionally ...
    Michael TobisMichael Tobis
    Apr 21, 2006 at 2:09 am
    Apr 25, 2006 at 9:51 pm
  • As the only director of the Python Software Foundation to vote against a recent Board motion to implement the change in licensing terms described in ...
    Steve HoldenSteve Holden
    Apr 1, 2006 at 7:14 am
    Apr 10, 2006 at 2:38 pm
  • I was wondering, why you always have to remember to call bases' constructors explicitly from the derived class constructor? Why hasn't this been enforced by the language?
    Cctv StarCctv Star
    Apr 25, 2006 at 10:34 am
    Apr 27, 2006 at 9:07 am
  • When you compile the expression for i in range(1000): pass does Python make an iterator for range(), and then generate the values on the fly? Or does Python actually allocate the list [0, 1, 2, ..., ...
    Steve R. HastingsSteve R. Hastings
    Apr 5, 2006 at 8:02 pm
    Apr 9, 2006 at 8:02 pm
  • Do you wand to install Pyrex on Windows ? Here is a step-by-step guide explaining: A) how to install Pyrex on Windows XP. B) how to compile a Pyrex module. Julien Fiore, U. of Geneva ...
    Julien FioreJulien Fiore
    Apr 19, 2006 at 12:29 pm
    May 27, 2006 at 9:31 am
  • Ok, I finally have a PEP number. Here's the most updated version of the "make" statement PEP. I'll be posting it shortly to python-dev. Thanks again for the previous discussion and suggestions! PEP: ...
    Steven BethardSteven Bethard
    Apr 13, 2006 at 3:53 pm
    Apr 18, 2006 at 6:51 pm
  • Anyone know if there is a book for Ironpython in the works? A good knowledge of .NET and Python is enough to get started but just poking around Ironpython homepage it seems like there are some new ...
    Apr 18, 2006 at 3:03 am
    Apr 20, 2006 at 2:15 pm
  • If I want to create a list of the form [100, 99, 99, 98, 98, 97, 97...] (where each item is repeated twice after the first one), how might I do that most efficiently? Right now I have this: series = ...
    John SalernoJohn Salerno
    Apr 21, 2006 at 2:50 pm
    Apr 24, 2006 at 1:22 pm
  • I've traditionally been a Java developer, although I play around with LISP. I recently migrated to Linux and I was exploring Mono as an option for development on Linux. However, I've had some ...
    Redefined HorizonsRedefined Horizons
    Apr 17, 2006 at 4:14 pm
    Apr 19, 2006 at 7:16 pm
  • I'm still new at this. I can't get this to work as a script. If I just manually insert the values for sys.argv[1] and sys.argv[2] it works fine, but I can't pass the variables from the command line. ...
    Apr 10, 2006 at 2:41 am
    Apr 13, 2006 at 1:05 am
  • I'm starting a programming tutorial for absolute beginners using Python and I would like your opinions. http://programming-crash-course.com Regards, Clodoaldo Pinto
    Clodoaldo PintoClodoaldo Pinto
    Apr 7, 2006 at 7:45 pm
    Apr 11, 2006 at 5:22 pm
  • Hi Pythonians, To begin with I'd like to apologize that I am not very experienced Python programmer so please forgive me if the following text does not make any sense. I have been missing constants ...
    Apr 28, 2006 at 7:08 pm
    May 18, 2006 at 5:27 am
  • Hi I am reading from an oracle database using cx_Oracle. I am writing to a SQLite database using apsw. The oracle database is returning utf-8 characters for euopean item names, ie special charcaters ...
    Apr 3, 2006 at 3:57 pm
    Apr 11, 2006 at 3:32 am
  • I'm trying to import text from an open office document (save as .sxw and read the data from content.xml inside the sxw-archive using elementtree and such tools). The encoding that gives me the least ...
    Anton VredegoorAnton Vredegoor
    Apr 26, 2006 at 11:54 am
    Apr 29, 2006 at 10:08 am
  • If I define a decorator like: def t(x) : def I(x) : return x return I and use it like: @t(X) def foo(a) : # definition of foo... pass or maybe this: @t(X) @(Y) def bar(a) : # The definition of bar... ...
    Chance GingerChance Ginger
    Apr 9, 2006 at 6:57 am
    Apr 12, 2006 at 1:50 pm
  • If I want to make a list of four items, e.g. L = ['C', 'A', 'D', 'B'], and then figure out if a certain element precedes another element, what would be the best way to do that? Looking at the ...
    John SalernoJohn Salerno
    Apr 28, 2006 at 2:53 pm
    Apr 30, 2006 at 3:36 pm
  • Over the time I've seen lots of remarks about python that read like "a lot like lists in lisp" or "like the hashtable in java" or any other form of "like <feature in <language ". Are there any ...
    Wildemar WildenburgerWildemar Wildenburger
    Apr 21, 2006 at 12:57 pm
    Apr 24, 2006 at 1:56 pm
  • For those interested in the simplest, easiest and most pythonic web framework out there, there's a new page in Wikipedia: http://en.wikipedia.org/wiki/Karrigell
    Luis M. GonzálezLuis M. González
    Apr 12, 2006 at 6:37 pm
    Apr 13, 2006 at 9:00 pm
  • Sorry to post here about this again, but the hint forums are dead, and the hints that are already there are absolutely no help (mostly it's just people saying they are stuck, then responding to ...
    John SalernoJohn Salerno
    Apr 12, 2006 at 3:23 pm
    Apr 13, 2006 at 7:02 pm
  • Hello all, I've been wondering a lot about why Python handles classes and OOP the way it does. From what I understand, there is no concept of class encapsulation in Python, i.e. no such thing as a ...
    Apr 10, 2006 at 2:19 pm
    Apr 12, 2006 at 11:10 am
  • Can you create an instance of a subclass using an existing instance of the base class? Such things would be impossible in some languages or very difficult in others. I wonder if this can be done in ...
    Apr 21, 2006 at 8:08 pm
    Apr 29, 2006 at 4:01 pm
  • How can a proprietary software developer protect their Python code? People often ask me about obfuscating Python bytecode. They don't want people to easily decompile their proprietary Python app. I ...
    Apr 17, 2006 at 5:03 pm
    Apr 20, 2006 at 4:16 pm
  • I've updated the PEP based on a number of comments on comp.lang.python. The most updated versions are still at: http://ucsu.colorado.edu/~bethard/py/pep_create_statement.txt ...
    Steven BethardSteven Bethard
    Apr 6, 2006 at 4:01 pm
    Apr 11, 2006 at 4:22 pm
  • Ok, I wrote this all by myself, which explains why it doesn't work. It is meant to take a number and generate the next number that follows according to the Morris sequence. It works for a single ...
    John SalernoJohn Salerno
    Apr 7, 2006 at 2:23 am
    Apr 10, 2006 at 5:33 pm
  • I'm just starting out with python, after having a long history with Java. I was wondering if there were any resources or tips from anyone out there in Python-land that can help me make the transition ...
    Apr 22, 2006 at 7:40 am
    Apr 27, 2006 at 7:38 am
  • I am at my wit's end. I want to generate a certain number of random numbers. This is easy, I can repeatedly do uniform(0, 1) for example. But, I want the random numbers just generated sum up to 1 . I ...
    Anthony LiuAnthony Liu
    Apr 22, 2006 at 2:36 am
    Apr 24, 2006 at 6:35 am
  • Hi everyone, My goal is to pull command switches/options from a file and then assign the values to select variables which would eventually be included in a class object. The data file looks something ...
    Apr 13, 2006 at 12:19 am
    Apr 14, 2006 at 3:28 pm
  • I've been thinking if there's a point in applying some specific OOP techniques in Python as we do in other languages. i.e. we usually define private properties and provide public functions to access ...
    Panos LaganakosPanos Laganakos
    Apr 27, 2006 at 5:16 pm
    May 1, 2006 at 12:32 pm
  • I just purchased a new macbook (os 10.4.6), and I'm trying to install python 2.4 on it. I downloaded and ran the two installers recommended at http://www.python.org/download/mac/. Now I have IDLE, ...
    Thomas NelsonThomas Nelson
    Apr 6, 2006 at 12:41 am
    Apr 11, 2006 at 7:32 pm
  • I'm reading Text Processing in Python right now and I came across a comment that is helping me to see for loops in a new light. I think because I'm used to the C-style for loop where you create a ...
    John SalernoJohn Salerno
    Apr 5, 2006 at 1:54 am
    Apr 6, 2006 at 3:14 am
  • Hi! Out of curiosity, how do I draw functions outside classes with UML? How module could be drawn in this case? More theoretical question is if I create classes on the fly, how UML can reflect that? ...
    Roman SusiRoman Susi
    Apr 4, 2006 at 7:52 am
    Apr 5, 2006 at 6:59 pm
  • Here's what I have: import pickle data = open(r'C:\pickle_data.txt', 'w') image = open(r'C:\peakhell.jpg') pickle.Pickler(data) data.dump(image) data.close() image.close() First off, I'm not sure the ...
    John SalernoJohn Salerno
    Apr 4, 2006 at 3:25 pm
    Apr 4, 2006 at 8:00 pm
  • hey there, i have a script that waits for message packets from a data server over a socket. it goes a little like this: while 1: x+=1 databack = sockobj.recv(158) if databack: print 'caught a message ...
    Apr 22, 2006 at 3:10 pm
    Apr 25, 2006 at 12:42 pm
  • Summary: How should multiple (related) projects be arranged (structured) and configured so that the following is possible: o Sharing common code (one of the projects would be a "common" project ...
    Apr 20, 2006 at 3:26 pm
    Apr 21, 2006 at 4:03 pm
  • Hi. I've been looking everywhere for this and can't find it, apologies if I'm being obtuse: How do I set the max datagram packet size? I'm using the socket module. It seem like it's hardcoded at 255, ...
    Iain KingIain King
    Apr 12, 2006 at 8:26 am
    Apr 13, 2006 at 12:47 pm
  • Programing Languiges Are Ment to be free. That is why i am starting The <i Coo De Tar</i thats french for Blow of state it is a flash/java alternative and if you are going to use a server side ...
    Apr 1, 2006 at 4:59 am
    Apr 10, 2006 at 11:38 am
  • For testing purposes I'm looking for a simple DAV server - best a python thing serving a folder tree. Don't want to install/change/setup the complex apache dav .. Found PyDav ...
    Apr 18, 2006 at 12:53 pm
    May 20, 2006 at 7:43 pm
  • If I have a list, say of names. And I want to count all the people named, say, Susie, but I don't care exactly how they spell it (ie, Susy, Susi, Susie all work.) how would I do this? Set up a ...
    Apr 24, 2006 at 11:33 pm
    Apr 26, 2006 at 5:37 pm
  • I have been developing in PHP for some time now and needed to look into application frameworks to speed up my development. I was looking into Horde and CakePHP before I was introduced to Python. I ...
    Derick van NiekerkDerick van Niekerk
    Apr 25, 2006 at 11:49 am
    Apr 26, 2006 at 7:51 am
  • While testing recursive algoritms dealing with generic lists I stumbled on infinite loops which were triggered by the fact that (at least for my version of Pyton) characters contain themselves.See ...
    WENDUM Denis 47.76.11 (agent)WENDUM Denis 47.76.11 (agent)
    Apr 7, 2006 at 1:50 pm
    Apr 11, 2006 at 1:29 pm
  • I wrote the following code for a personal project. I need a function that will plot a filled circle in a two dimensional array. I found Bresenham's algorithm, and produced this code. Please tell me ...
    Apr 9, 2006 at 1:04 am
    Apr 10, 2006 at 1:31 am
Group Navigation
period‹ prev | Apr 2006 | next ›
Group Overview
grouppython-list @

995 users for April 2006

Fredrik Lundh: 182 posts John Salerno: 110 posts Paul McGuire: 109 posts Bruno: 96 posts Alex Martelli: 81 posts BartlebyScrivener: 77 posts Edward Elliott: 69 posts Kent Johnson: 59 posts Felipe Almeida Lessa: 58 posts John Machin: 56 posts Steven D'Aprano: 54 posts Diez B. Roggisch: 53 posts Peter Hansen: 51 posts Serge Orlov: 51 posts Philippe Martin: 49 posts Steven Bethard: 48 posts Martin v. Löwis: 44 posts Robert Kern: 42 posts Duncan Booth: 41 posts Terry Reedy: 32 posts
show more