Search Discussions
-
return ";".join(["%s=%s" % (k, params[k]) for k in params.keys()]) every day python seems to be moving closer to the line noise aspect of coding.
Sean 'Shaleh' Perry
Mar 1, 2001 at 10:32 pm
Apr 17, 2001 at 12:47 pm -
Ok, I can see maybe division having problems. But why does addition of the two numbers below: 5.01+5.54 give me this? 10.550000000000001 I hope its some setting that can take care of this. I am using ...
Costas
Mar 12, 2001 at 9:34 pm
Mar 21, 2001 at 3:01 am -
... for a Python programmer? I'm going to have to bite the bullet and learn a bit of C. I'd at least like to learn the *right* way to do it. -- Cheers, Simon Brunning sbrunning at bigfoot.com
Simon Brunning
Mar 5, 2001 at 10:14 am
Apr 5, 2001 at 3:03 am -
Who would be interested in using his/her brain (and his computer) to solve the following? Steve Graham === Einstein's Riddle Albert Einstein wrote this riddle this century [ed. 20th century]. He said ...
Steve Graham
Mar 11, 2001 at 6:49 pm
Mar 23, 2001 at 1:51 am -
Please have a look at the PEP below. It is intended to replace the __future__ import suggested in PEP 236. Regards, Martin PEP: XXX Title: The directive statement Version: $Revision$ Author: Martin ...
Martin von Loewis
Mar 20, 2001 at 10:42 am
Mar 24, 2001 at 10:46 pm -
Sure; Bruce "Mr. Java" Eckel says Python's his favorite language. That was last week's news. What would you think if the former editor of the *C++ report* gave his prediction for this decade: Keep an ...
Cameron Laird
Mar 13, 2001 at 10:05 pm
Mar 19, 2001 at 4:05 pm -
Know of substantial apps written in Python? Preferably something one could download for examination. Source code would be nice, but not essential. I'm operating under the theory that whatever the ...
Dry Ice
Mar 30, 2001 at 8:02 pm
Apr 12, 2001 at 9:49 am -
To selectively activate nested scopes in Python 2.1, PEP 236 proposes the "future" statement. That means that you have to write from __future__ import nested_scopes Even though this looks like an ...
Martin von Loewis
Mar 1, 2001 at 11:00 am
Mar 10, 2001 at 1:10 am -
Please have a look at the PEP below, it is intended to be a light-weight solution to "typing" based on programmer intent. Regards, Clark Evans PEP: XXX Title: Query Interface Protocol Version: ...
Clark C. Evans
Mar 20, 2001 at 11:43 pm
Apr 4, 2001 at 1:39 pm -
Reply-to: sender Okay, nested scopes are a good idea. Having the feature "disabled by default" in 2.1 is a good idea. But this "from __future__" stuff isn't so hot. First, it's ugly. Second, owing ...
Jason Orendorff
Mar 18, 2001 at 6:04 pm
Mar 26, 2001 at 5:38 pm -
Hey Alex, congrats on landing "Python In A Nutshell" book deal. One problem. I went down to the book store and it's not there. What gives? <wink Don
Don Tuttle
Mar 9, 2001 at 2:22 pm
Mar 19, 2001 at 3:22 pm -
32
Good Editor?
Can someone recomend a good editor to write python in? Im just getting started learning python and dont know which ones support python. thanksFjs
Mar 22, 2001 at 7:00 am
Mar 25, 2001 at 2:28 pm -
Hi, I was just wondering if any knew what < does....I've got some sample code and can't figure out what's happening eg. x if x < 10: .... thanks Victor
Victor Louie
Mar 7, 2001 at 6:57 am
Mar 12, 2001 at 3:12 pm -
This is probably an elementary question and the answer is probably writ large in multiple places in the Python documentation, but... ...can an instance of a class determine the name of the variable ...
Tim CHURCHES
Mar 8, 2001 at 6:48 am
Mar 26, 2001 at 10:18 am -
Can anyone tell me some of the things that Python offers which are not available in Java? I like Python's syntax, but what can Python do that Java can not do? Any comments are helpful. Kyle Wayne ...
Kyle Wayne Kelly
Mar 4, 2001 at 3:17 am
Mar 13, 2001 at 4:45 pm -
Okay, sure this has been asked again and again, but I've never really seen a clear answer to this question: Can Python replace Visual Basic? Should it? As far as I can see, they both seem close to ...
Brad Bollenbach
Mar 6, 2001 at 4:23 am
Mar 9, 2001 at 10:57 pm -
Hello. From the perspective of someone who already has programming experience, would anyone know if O'reillys "Learning Python" book would be better than say Prentice Hall's "Core Python ...
Benjamin.Altman
Mar 21, 2001 at 6:02 pm
Mar 28, 2001 at 4:55 pm -
24
learning C
Greetings from Sweden: I think that objecting to using C because pointers and strings are hard is akin to objecting to using a scalpel because it is sharp and you can cut yourself. Now if the ...Laura Creighton
Mar 7, 2001 at 1:45 pm
Mar 13, 2001 at 9:05 pm -
I understand that the 'from foo import *' syntax will be deprecated some day soon. How will this affect things like thr gtk python binding which has many many functions, defines, etc? Will I have ...
Sean 'Shaleh' Perry
Mar 2, 2001 at 9:06 pm
Mar 6, 2001 at 7:57 am -
I have a couple of style questons regarding larger Python programs. I'd be interested in comments. 1. I have a class that handles communications with a remote service. It is fairly complex, having to ...
Cary O'Brien
Mar 16, 2001 at 3:25 pm
Apr 6, 2001 at 7:40 am -
I was wondering if there is any rationale as to why Python classes do not have static methods? I was also wondering if it would make sence to allow None to be used as self? For example: class ...
Clark C. Evans
Mar 23, 2001 at 9:51 pm
Mar 26, 2001 at 10:52 am -
I want to make the following: variableOne = 500 myVariable = variableOne + "cool" But I get the following error: "unsupported operand types for +" Does someone know how to solve the problem?
Zamurai
Mar 5, 2001 at 2:25 pm
May 2, 2001 at 4:14 pm -
In the dog days of DOS, I was a brief guy. Now I use CodeWright. It's the best editor I've used (and I've used vi, although not too extensively). Why do people want syntax colouring? I can't stand ...
John Schmitt
Mar 22, 2001 at 8:10 pm
Apr 8, 2001 at 10:17 am -
if that is in a loop, it should be fine: while 1: f = open(file) # every time the loop repeats, f gets closed and opened # again # do things to f
Sean 'Shaleh' Perry
Mar 15, 2001 at 10:27 pm
Apr 2, 2001 at 2:00 pm -
I have an object-oriented numerical code written in Python. It has come to the stage where the speed of the code is seriously impeding progress. Profiling reveals (surprise, surprise) that most of ...
Jacek Generowicz
Mar 12, 2001 at 11:13 am
Mar 16, 2001 at 7:18 pm -
Hi! I'm the author of PEP 245, a framework and syntax for interface objects in Python. http://python.sourceforge.net/peps/pep-0245.html It has just recently been made a PEP, and I'd like to solicite ...
Michel Pelletier
Mar 23, 2001 at 7:02 am
Mar 30, 2001 at 2:59 pm -
a funny thing happened at IPC9. a bunch of were sitting in the lounge (bar) talking, and one person mentioned that he was going to study kendo while in japan this year. i asked if he had previous ...
Garry Hodgson
Mar 26, 2001 at 4:48 pm
Mar 29, 2001 at 5:02 am -
18
re.match
Hey people. Could someone explain the purpose of the match function in the re module? If it's only difference from search is to match at the beginning of the line, why does it exist? That's what the ...Michael P. Soulier
Mar 20, 2001 at 3:22 pm
Mar 23, 2001 at 10:09 pm -
17
Cookies
Short version: Is it possible for a stand-alone python application to read a cookie without the help of a browser?" Long version: I have a web page W and a client side python script P. I want W to ...Ken Seehof
Mar 16, 2001 at 12:01 am
Mar 21, 2001 at 4:45 pm -
Why do we need a new // operator to do the divide operation. If we want to do an integer divide with two reals why wont people just use int(a/b). For example: 2 2 The only difference with what is ...
Gordon Williams
Mar 16, 2001 at 3:39 pm
Mar 20, 2001 at 4:49 am -
I have been involved with the types-sig for a long time and it has consumed countless hours out of the lives of many brilliant people. I strongly believe that it will only ever work if we change some ...
Paul Prescod
Mar 11, 2001 at 11:23 pm
Mar 18, 2001 at 5:48 pm -
Just out of my curiosity, have any of you ladies and gentlemen experienced a need for an equivalent of C++/Java static method? Because I have, but it is impossible add them to Python classes -- all ...
Alex Shindich
Mar 4, 2001 at 10:22 pm
Mar 10, 2001 at 9:30 am -
What is the method for returning the file name of the running script? Thanks in advance. Stadel
Stadel
Mar 5, 2001 at 1:55 am
Mar 10, 2001 at 12:43 am -
The purpose of this code is to return a list of dictionary values sorted by key, resulting in 'templist'. templist.append(d[n]) ['z', 'a', 'b', 'd'] Of course when I have this in its best form, it ...
Daniel Klein
Mar 3, 2001 at 6:08 pm
Mar 6, 2001 at 11:34 pm -
Hi. I have written a GPS program in Python for Linux. I'm sure that someone could port it to run under Windows, but I have no interest in doing so. I haven't done a real release of the software yet, ...
Russell Nelson
Mar 27, 2001 at 4:25 am
Apr 4, 2001 at 7:43 am -
Hello, I'm new to python and, while learning about inheritance, I've run into what seems to be broken behavior with multiple inheritance. Here is the code: ... def angle(self): return "variable" ... ...
Jonathan Claggett
Mar 28, 2001 at 5:30 pm
Mar 30, 2001 at 2:21 pm -
Hello, i'm a bit confused with so many language ;-) theres the story, i like to learn a programming language for 2 reasons 1- i want to be able to make some script on my web site (i heard about zope, ...
Yvon Boulianne
Mar 22, 2001 at 5:12 pm
Mar 24, 2001 at 3:21 pm -
I'm lost for words... This summarizes a lot of concerns that sometimes I find so hard to explain. Anyone who has actually *read* Christopher Alexander's books on design should know that the best ...
Carlos Ribeiro
Mar 20, 2001 at 1:49 am
Mar 23, 2001 at 2:40 am -
I'm looking for some resources on using python with wsh generally. Specifically, I'm trying to use .wsf files with python. For example, given a "one liner" in (say) hello.py: WScript.Echo("hello") ...
Mike Carifio
Mar 14, 2001 at 1:36 pm
Mar 20, 2001 at 9:42 pm -
In several articles I read that Python/Jython imporoves the programmers performance many times. Why? I am considering to use Jython for my job as Java programmer. How should I use it to achieve this ...
Andreas Freier
Mar 22, 2001 at 10:48 am
Mar 26, 2001 at 10:15 pm -
Le me try to summarize what I've seen on the past ten days or so on this list, regarding the awful lot of "enhancements" proposed to the Python language. 1) Proposing "syntactic sugar" changes to ...
Carlos Ribeiro
Mar 19, 2001 at 3:19 am
Mar 20, 2001 at 11:24 pm -
The list.sort(cmp) docs for Python 2.0 state: The sort() method takes an optional argument specifying a comparison function of two arguments (list items) which should return -1, 0 or 1 depending on ...
Harri Pasanen
Mar 16, 2001 at 2:15 pm
Mar 20, 2001 at 3:12 am -
Just a question. I did some search around at google and found a few messages that were exchanged while PEP203 was being discussed, but no followup. Relevant messages: ...
Carlos Alberto Reis Ribeiro
Mar 30, 2001 at 4:26 pm
Apr 12, 2001 at 1:03 am -
Hi everybody, I'm wondering if the last books on Python are good. Thanks for your points of view. I'm especially thinking about : 1/Programming Python 2nd edition @ O'reilly 2/ Core Python ...
TM
Mar 22, 2001 at 1:44 am
Mar 26, 2001 at 7:28 pm -
How is calling print from more than one thread looked upon?
Syver Enstad
Mar 26, 2001 at 8:54 am
Mar 31, 2001 at 10:08 pm -
12
diff lists
Hi, I've got following two lists: ['a', 'b', 'c', 'd', 'e', 'f'] ['e', 'c', 'f'] I'd like to have the result: ['a', 'b', 'd'] The list need not to be ordered. ['d', 'a', 'b'] will also be ok. What is ...Oliver Vecernik
Mar 28, 2001 at 12:47 pm
Mar 30, 2001 at 12:30 pm -
12
no subject
sir, i learnt from your website a lot about python.i was given a job to work on python.i have to work on database.please make me wise how to create a database which is having more than 2 columns ...Neelima g
Mar 6, 2001 at 4:51 am
Mar 29, 2001 at 2:36 pm -
Hi, is there a possibilty to check if a variable refers to an object of type x? Does a typeof-command exist in Python: if a typeof list: #Commands only useable with list I read the Python Tutorial, ...
Markus Reitz
Mar 21, 2001 at 11:47 am
Mar 23, 2001 at 12:40 pm -
I have a Python application (which uses the wxPython extension) that I have packaged for distribution with py2exe. The dfistributed app works on my own computer, and on another machine I have, which ...
Parzival Herzog
Mar 1, 2001 at 6:12 am
Mar 2, 2001 at 11:40 pm -
Using Python 2.0 on Win32. Am I the only person to be depressed by the following behavior now that __getitem__ does the work of __getslice__? Python 2.0 (#8, Oct 16 2000, 17:27:58) [MSC 32 bit ...
Robin Thomas
Mar 1, 2001 at 3:58 am
Mar 2, 2001 at 4:57 pm
Group Overview
group | python-list |
categories | python |
discussions | 858 |
posts | 4,429 |
users | 963 |
website | python.org |
963 users for March 2001
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)