Search Discussions
-
There is also a constructive proof based on the Fundamental Theorem of Arithmetic, that is little more complex. But I am at a complete loss to know why you need to be able to prove that there are an ...
Nick Maclaren
Apr 4, 2000 at 12:58 pm
May 30, 2000 at 12:11 am -
Before I launch into another question and gripe, I'd like to thank everyone who offered comments and suggestions on the advanced Python books that are out there. Now something I can't quite figure ...
Lewst
Apr 5, 2000 at 5:39 am
Jun 3, 2000 at 7:49 pm -
A brief article in today's NY Times discusses a new (Feb 2000) paper explores the economics of open source software: http://www.nytimes.com/library/financial/columns/042000econ-scene.html (The ...
Jeremy Hylton
Apr 20, 2000 at 5:23 pm
May 2, 2000 at 2:56 pm -
I am two weeks plus into learning Python and have started on a first real project. Amazing language. BUT, now that I've gotten going with classes, I'm finding I hate seeing all those "self." prefixes ...
Louis M. Pecora
Apr 27, 2000 at 9:06 pm
May 5, 2000 at 3:06 pm -
Garbage collection for Python: http://www.enme.ucalgary.ca/~nascheme/python/gc.html I think I have all of the wrinkles ironed out of this patch. Reference cycles involving lists, tuples, instances, ...
Neil Schemenauer
Apr 8, 2000 at 4:17 am
Apr 18, 2000 at 7:58 am -
Well, starting to use Python, there are two Algol 68 constructions that I sorely miss. Here is an example of them in C: if ((x = non_trivial_expression) != NULL) { do_something_using_x; } elif ((x = ...
Nick Maclaren
Apr 8, 2000 at 8:38 am
Apr 19, 2000 at 4:57 pm -
New Features in Python 1.6 ========================== With the recent release of Python 1.6 alpha 1, a lot of people have been wondering what's new. This short note aims to explain the major changes ...
Guido van Rossum
Apr 1, 2000 at 5:00 pm
Apr 8, 2000 at 6:56 pm -
I've just started fooling with python. I've looked around the python site and a number of the other sites referenced there and am a bit puzzled. Umm... how does one go about using python for web ...
Charley Horse
Apr 18, 2000 at 7:23 am
Jun 2, 2000 at 12:37 pm -
This is not an [intentional] flame bait, nor an April Fool's message, but think about it: Python has two "sequence" data types, lists and tuples, which from the Python programmer's perspective are ...
Bob Alexander
Apr 3, 2000 at 3:24 pm
Apr 10, 2000 at 10:54 pm -
Does anyone know why it is not a type error to compare a string and an int with ' ' ? For example, I just spent over an hour debugging code that essentially did this: Of course, the '0' was a ...
Mark H.H. Montague
Apr 10, 2000 at 3:32 pm
May 2, 2000 at 6:16 pm -
What's going on here? Exception except.AttributeError: "'None' object has no attribute 'time'" in <met hod lwdb_base.__del__ of lwdb_hash instance at 5de410 ignored Exception except.AttributeError: ...
Warren Postma
Apr 18, 2000 at 7:13 pm
Apr 21, 2000 at 7:29 am -
Why does the second example return false? 1 Sent via Deja.com http://www.deja.com/ Before you buy.
Jeff_islay
Apr 22, 2000 at 11:49 am
Apr 24, 2000 at 7:51 pm -
Hi, I'm just trying to familiarize myself with Python. In Magnus Lie Hatland's Instant Python, he mentions that `all parameters in Python are passed by reference'. So I tried the following code: ...
Jacek Generowicz
Apr 3, 2000 at 9:30 am
Apr 11, 2000 at 2:11 pm -
Hi All-- I'm finally getting a chance to use Python at work. I have two questions: 1) Is there a way to run silent (i.e., we determine where things go and the customer never sees any wizards) ...
Ivan Van Laningham
Apr 4, 2000 at 9:34 pm
Apr 9, 2000 at 10:29 pm -
Hi All, I have this: [[], [], []] [[1.23], [1.23], [1.23]] I only want to append 1.23 to entire_list[0]. Why did it also append it to entire_list[1] and entire_list[2]? Thanks for your help, Matt
Matthew Hirsch
Apr 24, 2000 at 3:19 pm
Apr 28, 2000 at 2:19 pm -
Having finished "Learning Python", I'm now looking for an advanced Python text. ORA's "Programming Python" is a natural choice, but I can't bear buying this outdated book when the 2nd edition is due ...
Lewst
Apr 4, 2000 at 4:09 am
Apr 5, 2000 at 9:34 pm -
Hello all, I'm relatively new to Python and am trying to gain support for it at my work place. To that end, I'm giving a brief (overview) presentation. One of the items I have been asked to consider ...
J vickroy
Apr 19, 2000 at 1:46 pm
May 5, 2000 at 5:43 am -
Okay, another quick question. If it is quicker to do: import random from random import randint for i in range(1,1000000): print randint(1,10) than this: import random for i in range(1,1000000): print ...
Jeff Massung
Apr 17, 2000 at 3:22 pm
Apr 28, 2000 at 1:14 pm -
This might seem an odd way to choose a GUI, but if you had the choice between scripting Gnome/Gtk or KDE/Qt-based components using Python, which would you go for? Thanks peeps Alex
Alex Thomas
Apr 14, 2000 at 8:46 pm
Apr 27, 2000 at 10:17 pm -
If i PyErr_SetString(PyExc_TypeError,"Invalid command value for IOCTL"); in my c/c++ program, how would python script get that error string? Thanx Sent via Deja.com http://www.deja.com/ Before you ...
Arinté
Apr 17, 2000 at 4:18 pm
May 19, 2000 at 4:09 pm -
Does anyone know python's language level? I did not find it in the list at: http://www.spr.com/library/0langtbl.htm I would guess that it would be somewhere between 15 and 30. This is an important ...
Chuck Meyers
Apr 4, 2000 at 4:42 pm
Apr 10, 2000 at 7:25 pm -
15
Metaclasses?
Hi, I read an old post about metaclasses (included on the cd-rom with the book "Mit Python programmieren"), and got very interested, because I imagine that by making a new metaclass, I could maybe ...Robb Shecter
Apr 25, 2000 at 7:40 pm
Apr 29, 2000 at 2:03 am -
Can Python be used for writing device drivers? I just got BeOS 5 and it doesn't support some video cards. I'd like to write one for the Cirrus Logic card and I want a language that's clear and ...
Dave
Apr 22, 2000 at 1:10 am
Apr 29, 2000 at 1:39 am -
15
Pythonwin?
Hello, I've just started with Pythonwin and I want to create a main application with many dialogs and stuff like that. But how do I create a main Window? With the example down here, it doesn't shows ...A[r]TA
Apr 19, 2000 at 4:37 pm
Apr 21, 2000 at 6:35 am -
I'm trying to create a converter from our own internal language (horrid) into python.? My only problem so far is that the original language uses *LOTS* of goto's.? Is there any way that this can be ...
Richard Jones
Apr 19, 2000 at 7:09 am
Apr 20, 2000 at 4:35 am -
Hi All, Let's say I have four variables: a=1 b=2 c=3 d=4 And I have a function that adds these variables together: def add(a,b,c,d): return a+b+c+d But now let's say I have twenty variables that I ...
Matthew Hirsch
Apr 3, 2000 at 7:16 pm
Apr 7, 2000 at 2:35 pm -
I've searched the docs and my "Learning Python" book and I can't find anything on printing to a real printer. Through trial and error I finally made the following work: printer = open('/dev/lp0', ...
Albert Wagner
Apr 13, 2000 at 5:03 pm
May 10, 2000 at 4:20 am -
Is there a Python "read-partner" for the write(string) function, e.g., fileobject.write(" %e %e %d" % (1.2, -3.5, 10)) in the sense that the C functions fprintf and fscanf are partners. I've looked ...
Louis M. Pecora
Apr 28, 2000 at 9:00 pm
May 2, 2000 at 4:53 pm -
i've come to the point where i can't get by even the simplest python project without dumping this code into my files. it is a simple class that handles the "while 1: .... break" carnival for reading ...
Pete Shinners
Apr 24, 2000 at 11:00 pm
Apr 27, 2000 at 3:53 am -
I've been playing around with the Unicode support in Python 1.6. IDLE uses a Unicode enabled text widget so a script like the following: print "hi ?" works well. There is a good chance this didn't ...
Neil Hodgson
Apr 3, 2000 at 1:25 am
Apr 4, 2000 at 12:46 pm -
Hi again, other trivial (looking) question: I cannot find the hook to get back the name of 'dd' as a string. Why? Cause I need the names for code generation :-) like estimated any hacks available? ...
Spex66
Apr 26, 2000 at 3:13 pm
Apr 29, 2000 at 10:45 pm -
Hi, I can't access the www.pythonware.com webpages since yesterday evening. Does someelse also have the problems or is it just me? Bye, Oliver
Oliver Andrich
Apr 19, 2000 at 1:42 pm
Apr 22, 2000 at 1:10 pm -
There's got to be a better way. Is there a Python idiom I'm missing? I want to do search-and-replace of multiple symbols on each line of a file. But the simple-minded code below takes a while. It ...
Randall Hopper
Apr 12, 2000 at 2:08 pm
Apr 16, 2000 at 4:04 am -
Just a quick question, im writing a small webbot for a python learning experience and it comes across some sites that will make it hang for a while, if the site is down or extremely slow etc, is ...
Darrell
Apr 11, 2000 at 5:28 pm
Apr 14, 2000 at 10:47 am -
Hello! I want a filtering web proxy. I can write one myself, but if there is a thing already... well, I don't want to reinvent the wheel. If there is such thing (free and opensourse, 'course), I'll ...
Oleg Broytmann
Apr 17, 2000 at 2:20 pm
May 12, 2000 at 5:02 pm -
Okay, I've been looking all over the net and the documentation that came with the MacPython distribution, but can't seem to find the answers to these questions. Hopefully someone else out there on a ...
Jeff Massung
Apr 19, 2000 at 3:04 pm
Apr 30, 2000 at 2:14 pm -
If shoe is None then len(shoe) raises an exception. Would be nice if len(None) was 0 and NOT raise an exeption. Example: (Python 1.5.2) def show_shoe_wear_to_complaint_dept(name): if name == "Idle": ...
Musingattheruins
Apr 13, 2000 at 4:20 pm
Apr 15, 2000 at 5:26 am -
Hi All, Let's say I had something like: number_of_variables=int(raw_input('Enter number of variables: ')) if number_of_variables==1: variable1=[] elif number_of_variables==2: variable1=[] ...
Matthew Hirsch
Apr 6, 2000 at 2:44 pm
Apr 7, 2000 at 8:12 pm -
Hi, Consider the expression str(1.14 * 200). In CPython it yields 228.0 In JPython it yields 227.99999999999997 Shouldn't this result in consistent values across variuos implementation? If so, which ...
Venkatesh Prasad Ranganath
Apr 30, 2000 at 10:04 pm
May 2, 2000 at 4:09 am -
Hi I have quite a big problem. I have two different files, where I in one file want to declare a variable and then in the other file be able to access and use this variable (no need to change it), ...
Thomas Rasmussen
Apr 26, 2000 at 7:37 pm
Apr 27, 2000 at 3:04 pm -
Hi y'all, I'm experimenting with Python for a number of purposes (an embedded language for simulations, a tool for exploring experimental data, a good first programming language) and so I've cobbled ...
Paul-Michael Agapow
Apr 13, 2000 at 8:10 am
Apr 19, 2000 at 2:22 pm -
how do I define a propper global variable that works in all functions in all modules? I have tried simply defining one outside of any function in the main module, I have tried using the global ...
Anders Eggers-Krag
Apr 12, 2000 at 5:28 pm
Apr 13, 2000 at 2:36 am -
... if x: ... z['x'] = x ... if y: ... z['y'] = y ... print str(z) ... {'x': 'a'} {'x': 'b'} {'x': 'b', 'y': 'c'} {'x': 'a', 'y': 'c'} I don't get it. Why isn't the dictionary reset to {'x':'a'} when ...
Roger Baklund
Apr 11, 2000 at 12:34 pm
Apr 12, 2000 at 3:14 pm -
Hi, asa side effect, I happened to observe the following rounding bug. It happens in Stackless Python, which is built against the pre-unicode CVS branch. Is this changed for 1.6, or might it be my ...
Christian Tismer
Apr 6, 2000 at 9:22 pm
Apr 7, 2000 at 7:18 pm -
I just had an idea. Using the Emacs python-mode, would it be possible to somehow hide the function-bodies? Sometimes it would be useful to get an overview of the functions provided by a class. vr
Vetle Roeim
Apr 1, 2000 at 10:24 am
Apr 3, 2000 at 8:02 am -
Hi, people. Bruno Haible is convincing me to put `recode' in an open source environment, like `sourceforge', say. I have been reluctant to CVS so far (for various reasons), and if I was doing such a ...
François Pinard
Apr 25, 2000 at 11:46 pm
Aug 6, 2000 at 6:07 am -
I am working on a helicopter simulation user-interface that takes commands such as: I would like to add scripting capabilities to this user-interface, so I am attempting to extend and embed Python. I ...
Mdefreitas
Apr 27, 2000 at 6:19 pm
May 4, 2000 at 6:29 am -
What are the performance issues when using Python for ASP, as opposed to JScript (and dare I say VBScript). What are the other advantages/disadvantages Sent via Deja.com http://www.deja.com/ Before ...
Gdeering_telstra
Apr 18, 2000 at 10:10 pm
May 4, 2000 at 2:24 am -
Examples of multi-valued returns: (head, tail); (quotient, remainder); (left, right); (prologue, body, epilogue); (data, code); (CAR, CDR); (count, size); (handle, status); (decomposition; ...
Cameron Laird
Apr 20, 2000 at 7:37 pm
May 2, 2000 at 3:42 am -
Hi! I want to concatenate a string containing both strings and integers like: strTemp = 'I make test number: ' + iMyNumber + ' once again' It doesn't work, how should I do this? BR Joacim
JJ
Apr 27, 2000 at 1:46 pm
Apr 28, 2000 at 9:16 am
Group Overview
group | python-list |
categories | python |
discussions | 716 |
posts | 3,180 |
users | 802 |
website | python.org |
802 users for April 2000
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)