Search Discussions
-
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 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 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 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 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 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 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 ...
Looping
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 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 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 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 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 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. 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 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 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 ...
Alacrite
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 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 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. ...
BartlebyScrivener
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 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 ...
Tsaar2003
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 ...
ChaosKCW
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 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 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 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 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á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 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 ...
Fyhuang
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 ...
Sandra-24
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 ...
Seberino
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 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 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 ...
ToddLMorgan
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 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 ...
News
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 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 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 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 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 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 ...
Nephish
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 ...
ToddLMorgan
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 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 ...
Atbusbook
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 ...
Robert
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 ...
Hawkesed
Apr 24, 2006 at 11:33 pm
Apr 26, 2006 at 5:37 pm -
14
Zope 3
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 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)
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 ...
Pythor
Apr 9, 2006 at 1:04 am
Apr 10, 2006 at 1:31 am
Group Overview
group | python-list |
categories | python |
discussions | 868 |
posts | 4,736 |
users | 995 |
website | python.org |
995 users for April 2006
Archives
- September 2015 (591)
- August 2015 (1,058)
- July 2015 (1,440)
- June 2015 (1,704)
- May 2015 (1,841)
- April 2015 (1,231)
- March 2015 (1,717)
- February 2015 (1,612)
- January 2015 (889)
- December 2014 (1,283)
- November 2014 (1,600)
- October 2014 (1,447)
- September 2014 (1,031)
- August 2014 (1,867)
- July 2014 (1,618)
- June 2014 (1,357)
- May 2014 (1,431)
- April 2014 (1,285)
- March 2014 (2,093)
- February 2014 (1,999)
- January 2014 (2,089)
- December 2013 (2,060)
- November 2013 (2,507)
- October 2013 (1,932)
- September 2013 (1,634)
- August 2013 (1,532)
- July 2013 (2,062)
- June 2013 (2,795)
- May 2013 (1,935)
- April 2013 (1,980)
- March 2013 (1,953)
- February 2013 (1,789)
- January 2013 (1,924)
- December 2012 (1,569)
- November 2012 (1,579)
- October 2012 (1,961)
- September 2012 (2,311)
- August 2012 (1,808)
- July 2012 (1,577)
- June 2012 (1,199)
- May 2012 (1,197)
- April 2012 (1,416)
- March 2012 (1,373)
- February 2012 (1,442)
- January 2012 (1,446)
- December 2011 (1,895)
- November 2011 (1,291)
- October 2011 (1,188)
- September 2011 (1,587)
- August 2011 (2,069)
- July 2011 (2,140)
- June 2011 (1,908)
- May 2011 (2,475)
- April 2011 (2,098)
- March 2011 (1,761)
- February 2011 (1,746)
- January 2011 (2,123)
- December 2010 (1,671)
- November 2010 (2,355)
- October 2010 (2,518)
- September 2010 (2,187)
- August 2010 (3,098)
- July 2010 (2,579)
- June 2010 (3,238)
- May 2010 (2,458)
- April 2010 (2,356)
- March 2010 (2,759)
- February 2010 (3,486)
- January 2010 (3,294)
- December 2009 (2,899)
- November 2009 (3,396)
- October 2009 (3,346)
- September 2009 (3,087)
- August 2009 (3,903)
- July 2009 (3,761)
- June 2009 (3,321)
- May 2009 (3,370)
- April 2009 (4,272)
- March 2009 (4,228)
- February 2009 (3,965)
- January 2009 (4,732)
- December 2008 (4,335)
- November 2008 (3,799)
- October 2008 (4,123)
- September 2008 (3,816)
- August 2008 (4,056)
- July 2008 (4,238)
- June 2008 (3,737)
- May 2008 (4,976)
- April 2008 (4,708)
- March 2008 (4,122)
- February 2008 (4,132)
- January 2008 (4,145)
- December 2007 (3,686)
- November 2007 (3,419)
- October 2007 (4,234)
- September 2007 (4,332)
- August 2007 (4,189)
- July 2007 (3,771)
- June 2007 (4,142)
- May 2007 (5,018)
- April 2007 (4,912)
- March 2007 (4,365)
- February 2007 (3,951)
- January 2007 (3,864)
- December 2006 (4,449)
- November 2006 (4,229)
- October 2006 (5,506)
- September 2006 (5,244)
- August 2006 (4,829)
- July 2006 (4,720)
- June 2006 (5,054)
- May 2006 (5,302)
- April 2006 (4,845)
- March 2006 (5,729)
- February 2006 (4,839)
- January 2006 (5,249)
- December 2005 (5,011)
- November 2005 (5,677)
- October 2005 (5,387)
- September 2005 (4,458)
- August 2005 (4,428)
- July 2005 (4,472)
- June 2005 (4,562)
- May 2005 (4,269)
- April 2005 (5,019)
- March 2005 (5,070)
- February 2005 (5,159)
- January 2005 (5,194)
- December 2004 (5,211)
- November 2004 (4,048)
- October 2004 (5,191)
- September 2004 (5,534)
- August 2004 (6,168)
- July 2004 (4,217)
- June 2004 (4,202)
- May 2004 (3,890)
- April 2004 (4,285)
- March 2004 (5,077)
- February 2004 (4,213)
- January 2004 (3,988)
- December 2003 (3,818)
- November 2003 (4,940)
- October 2003 (6,297)
- September 2003 (4,299)
- August 2003 (5,654)
- July 2003 (4,912)
- June 2003 (4,933)
- May 2003 (4,938)
- April 2003 (5,017)
- March 2003 (5,031)
- February 2003 (7,701)
- January 2003 (6,229)
- December 2002 (4,102)
- November 2002 (4,346)
- October 2002 (3,307)
- September 2002 (4,206)
- August 2002 (4,919)
- July 2002 (4,826)
- June 2002 (4,215)
- May 2002 (5,295)
- April 2002 (5,967)
- March 2002 (5,323)
- February 2002 (5,245)
- January 2002 (5,617)
- December 2001 (4,443)
- November 2001 (4,565)
- October 2001 (3,669)
- September 2001 (3,719)
- August 2001 (5,208)
- July 2001 (6,528)
- June 2001 (4,905)
- May 2001 (5,492)
- April 2001 (4,713)
- March 2001 (4,478)
- February 2001 (3,871)
- January 2001 (4,187)
- December 2000 (3,099)
- November 2000 (2,336)
- October 2000 (3,820)
- September 2000 (3,933)
- August 2000 (4,253)
- July 2000 (4,199)
- June 2000 (4,089)
- May 2000 (4,269)
- April 2000 (3,217)
- March 2000 (3,719)
- February 2000 (4,000)
- January 2000 (2,682)
- December 1999 (2,283)
- November 1999 (1,896)
- October 1999 (2,048)
- September 1999 (2,001)
- August 1999 (2,151)
- July 1999 (2,351)
- June 1999 (2,386)
- May 1999 (2,201)
- April 1999 (1,706)
- March 1999 (6)
- February 1999 (1)