Search Discussions
-
Hi, I've been thinking about Python vs. Lisp. I've been learning Python the past few months and like it very much. A few years ago I had an AI class where we had to use Lisp, and I absolutely hated ...
63q2o4i02
Feb 19, 2006 at 4:41 am
Mar 1, 2006 at 7:42 am -
Howdy all, PEP 354: Enumerations in Python has been accepted as a draft PEP. The current version can be viewed online: <URL:http://www.python.org/peps/pep-0354.html Here is the reStructuredText ...
Ben Finney
Feb 27, 2006 at 2:49 am
Mar 3, 2006 at 9:19 am -
Yes, silly question, but it keeps me up at night. :) I know it comes from the suffix -tuple, which makes me think it's pronounced as 'toople', but I've seen (at m-w.com) that the first pronunciation ...
John Salerno
Feb 13, 2006 at 3:51 am
Feb 16, 2006 at 2:21 am -
Someone asked me to write a brief essay regarding the value-add proposition for Python in the Fortran community. Slightly modified to remove a few climatology-related specifics, here it is. I would ...
Michael Tobis
Feb 14, 2006 at 5:13 pm
Mar 9, 2006 at 7:58 pm -
I have just started to learn python. Some said that its slow. Can somebody pin point the issue. Thans
Diffuser78
Feb 11, 2006 at 8:49 pm
Mar 16, 2006 at 6:43 pm -
Having read previous discussions on python-dev I think I'm not the only Python programmer who doesn't particularly like python's "self" parameter: class Foo: def bar(self, a,b): return a+b ...
N Estner
Feb 2, 2006 at 10:08 pm
Feb 14, 2006 at 7:50 am -
Hi - I'm running Python 2.4.2 (#67, Sep 28 2005, 12:41:11) [MSC v.1310 32 bit (Intel)] on win32, and have a script that makes numerous checks on text files, (configuration files), so discrepancies ...
Slogging_away
Feb 7, 2006 at 4:40 pm
Feb 13, 2006 at 9:11 am -
I contacted my domain host about how Python is implemented on their server, and got this response: ------------------- Hello John, Please be informed that the implementation of python in our server ...
John Salerno
Feb 22, 2006 at 12:42 am
Feb 24, 2006 at 9:18 pm -
Greetings, I have a rough classification of languages into 2 classes: Zen languages and tool languages. A tool language is a language that is, well, a *tool* for programming a computer. C is the ...
John Coleman
Feb 25, 2006 at 2:09 pm
Mar 1, 2006 at 1:47 pm -
Buenos dias, amigos! I have to write _simple_ gui library, for embedding into game. My first attempt was to use XML: isn't it cute to describe ui in such a way: <window <title Hello World!</title ...
Gregory Petrosyan
Feb 13, 2006 at 7:26 pm
Feb 23, 2006 at 12:44 am -
When I run the following code in a terminal with the encoding set to UTF-8 I get garbage on the first line, but the correct output on the second. import curses s = curses.initscr() s.addstr('\xc3\x85 ...
Ian Ward
Feb 7, 2006 at 8:42 pm
Feb 10, 2006 at 8:14 pm -
Hi, My app runs in a loop looking for changes in a database, and like a good boy I call time.sleep(1) inside the loop. Unfortunately this sometimes runs for 200 seconds or so, presumably while my OS ...
Paul Probert
Feb 23, 2006 at 9:26 pm
Mar 1, 2006 at 12:41 pm -
I'm relatively new to object oriented programming, so get confused about its usage once in a while. Suppose there is a class Image that has a number of methods, rotate, open, verify, read, close, ...
Daniel Nogradi
Feb 1, 2006 at 10:40 pm
Feb 6, 2006 at 4:51 pm -
I know this is probably a stupid question, but I'm learning Python, and am trying to get the if function to work with letters/words. Basicly, I'm trying to write a script that when run, says Please ...
Byte
Feb 5, 2006 at 3:52 pm
Feb 6, 2006 at 4:14 pm -
Hello, I have two lists, one with strings (filenames, actually), and one with a real-number rank, like: A=['hello','there','this','that'] B=[3,4,2,5] I'd like to sort list A using the values from B, ...
Brian Blais
Feb 26, 2006 at 4:04 pm
Feb 28, 2006 at 7:12 pm -
Hi All. I was wondering why defining a __call__ attribute for a module doesn't make it actually callable. I don't have any reason for doing so, I was just wondering if it worked, and found out it ...
Adam johnson
Feb 8, 2006 at 2:38 am
Feb 11, 2006 at 12:03 am -
Hi there, I've got a reasonably sized list of objects that I'd like to pull out all combinations of five elements from. Right now I have a way to do this that's quite slow, but manageable. I know ...
Swroteb
Feb 8, 2006 at 8:50 pm
Feb 17, 2006 at 4:06 am -
...with a twist. I'm undertaking my first semi-substantial Python GUI application after a long time dabbling with the language. I'm fairly experienced with Tcl/Tk, so Tkinter seems the obvious choice ...
Kevin Walzer
Feb 11, 2006 at 12:16 am
Feb 13, 2006 at 8:29 pm -
Problem: You have a list of unknown length, such as this: list = [X,X,X,O,O,O,O]. You want to extract all and only the X's. You know the X's are all up front and you know that the item after the last ...
Markscala
Feb 10, 2006 at 5:57 pm
Feb 13, 2006 at 6:56 pm -
# Spaces are present before and after the XXX filename = ' XXX ' new_filename = filename.strip() if new_filename != filename: print filename Macs allow these spaces in file and folder names. Which is ...
Rtilley
Feb 23, 2006 at 6:20 pm
Mar 2, 2006 at 10:31 am -
I miss being able to do something like this in Python 1f (I = a.find("3")) != -1: print "It's here: ", I else: print "No 3's here" where I gets assigned the index returned by find() AND the if ...
Bob Greschke
Feb 23, 2006 at 6:40 pm
Feb 26, 2006 at 2:08 am -
Has anyone recompiled the Scientific Computing package using NumPy instead of Numeric? I need a least squares algorithm and a Newton Rhaphson algorithm which is contained in Numeric but all the ...
Mclaugb
Feb 6, 2006 at 11:29 am
Feb 28, 2006 at 9:04 am -
Hi ! I have a problem. I have a little tool that can get data about filesystems and wrote it in python. The main user asked me a GUI for this software. This user is needed a portable program, so I ...
Durumdara
Feb 21, 2006 at 9:14 am
Feb 23, 2006 at 1:08 am -
... '''Small one man craft that can only harm other fighters on their own.''' ... def __init__(self,statsTuple=(50,5,0,(2,4),1)): ... self.fuel = statsTuple[0] ... self.life = statsTuple[1] ... ...
Zefria
Feb 20, 2006 at 8:35 am
Feb 20, 2006 at 9:57 pm -
Is it possible to embed a Python application within Internet explorer? If so how do people recommend going about it. As for the application it has to be able display simple animated graphics such as ...
Rodmc
Feb 14, 2006 at 3:14 pm
Feb 16, 2006 at 2:13 pm -
Hi all! I use python for writing terminal applications and I have been bothered by how hard it seems to be to determine the terminal size. What is the best way of doing this? At the end I've included ...
Joel Hedlund
Feb 5, 2006 at 1:30 pm
Feb 15, 2006 at 5:52 pm -
Which is Faster in Python and Why? jc = {}; m = [] x = [ [1,2,3,4,5,6,7,8,9],[..],.......] # upwards of 10000 entries def mcountb(): for item in x: b = item[:]; b.sort(); bc = 0 for bitem in b: bc += ...
Farel
Feb 15, 2006 at 4:14 am
Feb 23, 2006 at 1:56 pm -
This decision appears to have been made nearly six years ago. It would be a good idea to revisit the decision, particularly since the reasons for rejection are not clearly spelled out. The ...
Colin J. Williams
Feb 19, 2006 at 8:43 pm
Feb 22, 2006 at 1:04 pm -
I figured someone out there must have written a minimal code size prime number generator. I did not find one after a bit of searching around. For primes up to 100 the best I could do was 70 ...
Swisscheese
Feb 11, 2006 at 10:03 am
Feb 13, 2006 at 5:49 pm -
19
Compiling
Pardon me if this has been done to death but I can't find a simple explanation. I love Python for it's ease and speed of development especially for the "Programming Challenged" like me but why hasn't ...Simon Faulkner
Feb 3, 2006 at 5:01 pm
Feb 7, 2006 at 8:59 am -
Hi, I'm thinking about writing a system for DJing in python, but I'm not sure if Python is fast enough to handle the realtime audio needed for DJing, could a guru shed some light on this subject and ...
Levi Campbell
Feb 3, 2006 at 12:16 am
Feb 6, 2006 at 11:08 am -
18
Newbie
Is this a good place to post python questions from newbie's, or would you suggest another board? ThxLittlePython
Feb 12, 2006 at 4:07 pm
Feb 28, 2006 at 7:06 am -
Hello, I need a regularexpression, which trims trailing whitespaces. While with unix line endings, it works; but not with Window (Dos) CRLF's: 1) Windows 1 'erewr \r\nafjdskl' 2) Unix 2 ...
Franz Steinhaeusler
Feb 23, 2006 at 1:46 pm
Feb 27, 2006 at 9:46 am -
Hello all, I'm trying to detect line endings used in text files. I *might* be decoding the files into unicode first (which may be encoded using multi-byte encodings) - which is why I'm not letting ...
Fuzzyman
Feb 6, 2006 at 2:35 pm
Feb 8, 2006 at 12:10 pm -
I'm a little confused about what's out there for database modules at: http://python.org/topics/database/modules.html What I'd like to do is use Python to access an Oracle 9.X database for exporting a ...
Dananrg
Feb 24, 2006 at 10:02 pm
Mar 3, 2006 at 3:01 pm -
Hello at all sorry for my english but i'm Italian. I use pyserial to communicate via rs232 with an extarnal device called smartmouse. I write the exact line that i want , but when i read i read only ...
Luca72
Feb 16, 2006 at 4:05 pm
Mar 2, 2006 at 3:03 pm -
Hi,all as we know, we can override the operator of one object(for example __eq__). my question is, how to override the basic operator? for example, for any object comparison operator(including ...
Kanchy kang
Feb 22, 2006 at 3:23 am
Feb 23, 2006 at 4:29 pm -
I would like to be able to define a loop statement (nevermind why) so that I can write something like loop 10: do_something instead of for i in range(10): do_something Possible? If so, how? Thanks, ...
David Isaac
Feb 16, 2006 at 8:05 pm
Feb 22, 2006 at 4:00 pm -
Hi, Is it true that that "Python 3000" is dead ? Honestly I think that e.g. changing 5/2 to be 2.5 (instead of 2) would just break to much code :-( On the otherhand I'm using Python as "Matlab ...
Seb Haase
Feb 13, 2006 at 5:53 am
Feb 20, 2006 at 7:36 pm -
What editor shall I use if my Python script must contain utf-8 characters? I use XP Thank you for reply l.b.
Lad
Feb 8, 2006 at 2:48 pm
Feb 13, 2006 at 8:15 am -
I was wondering if python is a good language to build a web crawler with? For example, to construct a program that will routinely search x amount of sites to check the availability of a product. Or ...
Tempo
Feb 7, 2006 at 4:33 pm
Feb 10, 2006 at 12:33 pm -
I have a program running several threads. One of them must be done every (Specified time, usually 1 second). The whole point to having a thread is do this. However, I've noticed the following. When ...
Tuvas
Feb 2, 2006 at 8:31 pm
Feb 7, 2006 at 8:21 pm -
It seems that lots of people don't like having to prefix self. in front of instance variables when writing methods in Python. Of course, whenever someone suggests doing away with 'self' many people ...
Paullanier
Feb 28, 2006 at 11:54 pm
Mar 1, 2006 at 6:57 pm -
Hi to all, I want to print a PDF right from my python app transparently. With "transparently" I mean that no matter what program handles the print petition, the user shouldn't be noticed about it. ...
Daniel Crespo
Feb 17, 2006 at 2:02 pm
Feb 21, 2006 at 3:26 pm -
Hello. I try to open file with pathname length 282 bytes: E:\files\..................\something.dat On MSDN ...
Sergey
Feb 14, 2006 at 11:29 am
Feb 15, 2006 at 7:40 pm -
Hello, Is there a *direct* way of doing set operations on lists which preserve the order of the input lists ? For Ex. l1 = [1, 5, 3, 2, 4, 7] l2 = [3, 5, 10] and (l1 intersect l2) returns [5, 3] .... ...
Amit Khemka
Feb 10, 2006 at 4:58 pm
Feb 13, 2006 at 7:30 am -
I'm trying to implement a bookmark-url program, which accepts user input and puts the strings in a dictionary. Somehow I'm not able to iterate myDictionary of type Dict{} When I write print ...
Cruella DeVille
Feb 27, 2006 at 7:53 pm
Mar 1, 2006 at 7:26 pm -
Hi all. I would like to ask how I can implement string-like class using tuple or list. Does anyone know about some example codes of pure python implementation of string-like class? Because I am ...
Akihiro KAYAMA
Feb 25, 2006 at 1:26 am
Feb 26, 2006 at 10:49 pm -
Can anyone tell me how complicated it might be to install Python on my server so I can use it for web apps? Is it a one-time process, or something to maintain? Thanks.
John Salerno
Feb 10, 2006 at 8:22 pm
Feb 14, 2006 at 8:15 pm
Group Overview
group | python-list |
categories | python |
discussions | 790 |
posts | 4,786 |
users | 983 |
website | python.org |
983 users for February 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)