Search Discussions
-
Tkinter: The good, the bad, and the ugly! ----------------------------------------- An expose by rantingrick ---------------------- The Good ---------------------- Back in the early days of Python ...
Rantingrick
Dec 29, 2010 at 11:58 pm
Feb 25, 2011 at 11:28 pm -
When I run pychecker through my modules I get the message that comparisons with "False" is not necessary and that it might yield unexpected results. Yet in some situations I need to specifically ...
Harishankar
Dec 2, 2010 at 7:28 am
Dec 9, 2010 at 5:54 pm -
Hi c.l.p folks This is a rather long post, but i wanted to include all the details & everything i have tried so far myself, so please bear with me & read the entire boringly long post. I am trying to ...
Spaceman-spiff
Dec 20, 2010 at 7:34 pm
Jan 14, 2011 at 2:22 am -
Consider this code: def spam(*args, **kwargs): args, kwargs = __pre_spam(*args, **kwargs) # args & kwargs are OK: proceed # ... def __pre_spam(*args, **kwargs): # validate args & kwargs; # return ...
Kj
Dec 14, 2010 at 9:14 pm
Dec 27, 2010 at 1:07 pm -
(This is mostly a style question, and perhaps one that has already been discussed elsewhere. If so, a pointer to that discussion will be appreciated!) When I started learning Python, I wrote a lot of ...
John Gordon
Dec 16, 2010 at 9:49 pm
Dec 21, 2010 at 7:54 pm -
Hello, This is my first post on python mailing list. I've working in code which must run on python 2 and python 3. I am using array.array as data buffers. I am stuck with the following code line, ...
Wander.lairson
Dec 12, 2010 at 1:32 am
Dec 28, 2010 at 3:00 pm -
I'm aggravated by this behavior in python: x = "4" print x < 7 # prints False The issue, of course, is comparisons of incompatible types. In most languages this throws an error (in Perl the types are ...
TomF
Dec 6, 2010 at 4:59 pm
Dec 10, 2010 at 1:55 pm -
Consider the following common exception handling idiom: def func(iterable): it = iter(iterable) try: x = next(it) except StopIteration: raise ValueError("can't process empty iterable") print(x) The ...
Steven D'Aprano
Dec 3, 2010 at 1:04 pm
Dec 13, 2010 at 9:43 pm -
Hi, all, Python critique from strchr.com: http://www.strchr.com/python_critique
Kolo 32
Dec 10, 2010 at 10:31 am
Jan 31, 2011 at 4:48 pm -
Hi all, I need to stop a threaded (using CTR+C or kill) application if it runs too much or if I decide to resume the work later. I come up with the following test implementation but I wanted some ...
Gervaz
Dec 29, 2010 at 11:31 pm
Jan 6, 2011 at 1:25 am -
I would like to design a web site that can be used to help people to find a cat that they can adopt. Note, this is a non-profit project, but one that I believe to be quite important. Here are some of ...
Virgil Stokes
Dec 4, 2010 at 1:32 pm
Dec 18, 2010 at 7:51 pm -
Hello all. Newbie question. Sorry. As part of my process to learn python I am working on two personal applications. Both will do it fine with a simple structure of data stored in files. I now there ...
Jorge Biquez
Dec 4, 2010 at 10:42 pm
Dec 6, 2010 at 6:46 pm -
Hi! I'm trying to solve a computational problem and of course speed and size is important there. Apart from picking the right algorithm, I came across an idea that could help speed up things and keep ...
Ulrich Eckhardt
Dec 27, 2010 at 11:05 am
Dec 29, 2010 at 11:25 am -
Anybody know where I can find a Python Development Environment in the form of a web app for use with Chrome OS. I have been looking for a few days and all i have been able to find is some old ...
Sean
Dec 22, 2010 at 9:43 pm
Dec 26, 2010 at 7:53 pm -
Is there any way to use a true lists (with O(c) insertion/deletion and O(n) search) in python? For example, to make things like reversing part of the list with a constant time.
Dmitry Groshev
Dec 19, 2010 at 6:18 am
Dec 21, 2010 at 11:27 pm -
So I just got an e-mail from O'Reilly and their School of Technology about a Python Certification course... anybody have any experience with this? It also says Steve Holden is involved -- is this ...
Ethan Furman
Dec 15, 2010 at 5:54 pm
Dec 29, 2010 at 11:41 am -
I am trying to understand how much memory is available to a 64 bit python process running under Windows XP 64 bit. When I run tests just creating a series of large dictionaries containing string keys ...
Rob Randall
Dec 8, 2010 at 2:44 pm
Dec 11, 2010 at 2:32 pm -
With Microsoft abandoning Visual FoxPro come 2015, we have 100K developers jumping ship (rough guess), perhaps to dot NET, but not necessarily.** This page is potentially getting a lot of hits (I'm ...
Kirby Urner
Dec 1, 2010 at 8:38 pm
Dec 2, 2010 at 6:51 pm -
discovered this rather late. Google has a AI Challenge: planet wars. http://ai-contest.com/index.php it started sometimes 2 months ago and ended first this month. the winner is G?bor Melis, with his ...
Xah Lee
Dec 2, 2010 at 5:06 pm
Jan 20, 2011 at 8:59 pm -
I'm processing a stream of N numbers and want to keep track of the K largest. There's too many numbers in the stream (i.e. N is too large) to keep in memory at once. K is small (100 would be ...
Roy Smith
Dec 25, 2010 at 3:42 pm
Dec 31, 2010 at 10:52 pm -
Fellows, I'd like to illutrate the fact that comparing strings using identity is, most of the time, a bad idea. However I'm searching a short example of code that yields 2 differents object for the ...
Jean-Michel Pichavant
Dec 16, 2010 at 11:55 am
Dec 17, 2010 at 12:56 am -
Some changes are being proposed to how logging works in default configurations. Briefly - when a logging event occurs which needs to be output to some log, the behaviour of the logging package when ...
Vinay Sajip
Dec 10, 2010 at 12:12 am
Dec 15, 2010 at 9:50 pm -
Hi, I've got a python script that calls a function many times with various arguments and returns a result. What I'm trying to do is run this function each on different processors and compile the ...
Astan Chee
Dec 9, 2010 at 9:54 am
Dec 13, 2010 at 9:51 pm -
Hi, i'm trying to compile Python 2.7.1 on Debian (Virtual Box). Compiling end successfully but readline and curses fail to build. I'm working with virtualenv and I install all my packages in ...
Benedict Verheyen
Dec 22, 2010 at 8:33 am
Dec 24, 2010 at 3:01 am -
Hi, i search for a possibility to access OpenOffoce SpreadSheets from Python with a reasonably new version of Python. Can anybody point me to a package that can do this? Best regards, Torsten.
Torsten Mohr
Dec 17, 2010 at 1:07 am
Dec 18, 2010 at 12:19 am -
In a message (<4cf97c94$0$30003$c3e8da3$5496439d at news.astraweb.com ) on a different thread, Steven D'Aprano tells me: I disagree with your assessment. What you call "little corner cases" I call ...
Kj
Dec 22, 2010 at 2:20 pm
Jan 18, 2011 at 11:53 pm -
Is there anyay to use input masks in python? Similar to the function found in access where a users input is limited to a type, length and format. So in my case I want to ensure that numbers are saved ...
Flebber
Dec 27, 2010 at 4:37 am
Jan 1, 2011 at 9:21 am -
Hi, I'd like to have a reference to an instance attribute as default argument in a method. It doesn't work because "self" is not defined at the time the method signature is evaluated. For example: ...
Ernest
Dec 12, 2010 at 11:35 am
Jan 1, 2011 at 6:43 am -
I want to take a copy of a list a b=a and then do things with b which don't affect a. How can I do this? Dirk
Dirk Nachbar
Dec 10, 2010 at 1:48 pm
Dec 10, 2010 at 8:23 pm -
Hi - PEP8 says lines should not exceed 79 characters in length ( http://www.python.org/dev/peps/pep-0008/ ). So if you've got some code that looks like this : raise fooMod.fooException("Some message ...
Shearichard
Dec 6, 2010 at 3:40 am
Dec 8, 2010 at 6:39 pm -
Hi, I met a situation where I was passing an object created in/with an upper level module class to a lower level module class' instance in one of its __init__ argument and saving a ref of the upper ...
Gst
Dec 7, 2010 at 3:52 pm
Dec 8, 2010 at 3:56 pm -
Hi, Could someone link me to info - I'm sure this is commonly done: "Long ago" with Fortran and Pascal there was a pattern used a lot. It was like: Start Main Global Var Subprogram1 Subprogram2 ...
Goldtech
Dec 1, 2010 at 4:16 pm
Dec 2, 2010 at 3:39 am -
Hi all, I would like to ask you how I can use the more efficient join operation in a code like this: ... def __init__(self, v1, v2): ... self.v1 = v1 ... self.v2 = v2 ... ... txt = "" ... for x in l: ...
Gervaz
Dec 31, 2010 at 3:22 pm
Jan 4, 2011 at 8:36 pm -
I just wanted to put out a question about IDE's but this is NAWIT - not another which ide thread. My question relates to community contribution. My concern arose when recently installing the ...
Flebber
Dec 28, 2010 at 10:26 am
Jan 1, 2011 at 1:08 am -
... <class '__main__.neodict' <type 'dict' Bug? Feature? Genius beyond the grasp of schlubs like me? ~kj
Kj
Dec 24, 2010 at 6:52 pm
Dec 27, 2010 at 12:29 pm -
Hi! When a look att py2exe homepage it is not looking like mutch happen, as a beginner i was thinking to start with Python 3, but i like to now if py2exe will be for 3 too. Is any one have any info ?
Anders Persson
Dec 7, 2010 at 1:23 pm
Dec 9, 2010 at 8:31 am -
This works for me: def sendList(): return ["item0", "item1"] def query(): l=sendList() return ["Formatting only {0} into a string".format(l[0]), l[1]] query() However, is there a way to bypass the ...
Gnarlodious
Dec 1, 2010 at 1:08 am
Dec 1, 2010 at 10:26 pm -
I stumbled upon this. Python 2.6: Python 2.6.6 (r266:84292, Sep 15 2010, 15:52:39) [GCC 4.4.5] on linux2 Type "help", "copyright", "credits" or "license" for more information. 9.9499999999999993 ...
Hrvoje Niksic
Dec 23, 2010 at 6:57 pm
Dec 29, 2010 at 10:52 am -
Hi Folks I have this: url = 'http://docs.python.org/dev/library/stdtypes.html? highlight=partition#str.partition' So I want convert to myList = ...
Macm
Dec 23, 2010 at 5:26 pm
Dec 28, 2010 at 12:55 am -
Dear Python Mates, I have a requirement to send a XML Data to a WEB Service whose URL is of the form http://joule:8041/DteEnLinea/ws/EnvioGuia.jws I also have to read back the response returned as a ...
Anurag Chourasia
Dec 20, 2010 at 6:58 pm
Dec 22, 2010 at 3:24 am -
[python-2.4.3, rh CentOS release 5.5 linux, 24 xeon cpu's, 24GB ram] I have a little data generator that I'd like to go faster... any suggestions? maxint is usually 9223372036854775808(max 64bit ...
Gry
Dec 14, 2010 at 2:50 am
Dec 14, 2010 at 11:59 am -
I'm going to be writing a utility that will be pulling three fields from a MySQL table. I've already got a sample dataset - there's a long int (which is a db key), a short string, and a looong ...
Draeath
Dec 2, 2010 at 10:44 pm
Dec 3, 2010 at 7:15 am -
When I execute this file: #---------------------------------------------------------------------- def nodelfactory(klass): class nodel(klass): def _delitem(self, _): raise TypeError("can't delete") # ...
Kj
Dec 26, 2010 at 5:53 pm
Dec 28, 2010 at 12:41 am -
I want to implement a frozen and ordered dict. I thought I'd implement it as a subclass of collections.OrderedDict that prohibits all modifications to the dictionary after it has been initialized. In ...
Kj
Dec 24, 2010 at 4:24 pm
Dec 25, 2010 at 10:41 pm -
I am using tempfile.mkdtemp() to create a working directory on a remote *nix system through a Samba share. When I use this on a Windows box, it works, and I have full access to the created dir. When ...
Utabintarbo
Dec 7, 2010 at 9:03 pm
Dec 16, 2010 at 6:33 pm -
Attached below is a Tkinter script that demonstrates polling, that is, performing a long-running process in parallel with the GUI. The script asks for an input file name and an output file name and ...
JohnWShipman
Dec 12, 2010 at 9:56 pm
Dec 15, 2010 at 12:55 pm -
ActiveState is pleased to announce ActivePython 2.7.1.3, a complete, ready-to-install binary distribution of Python 2.7. http://www.activestate.com/activepython/downloads What's New in ...
Sridhar Ratnakumar
Dec 13, 2010 at 6:08 pm
Dec 14, 2010 at 12:35 am -
I'm getting bogged down with backslash escaping. I have some text files containing characters with the 8th bit set. These characters are encoded one of two ways: either "=hh" or "\xhh", where "h" ...
Dan M
Dec 6, 2010 at 3:03 pm
Dec 6, 2010 at 5:58 pm -
Hi there, I'm currently writing an application to control and take measurements during an experiments. This is to be done on an embedded computer running XPe so I am happy to have python available, ...
Jack Keegan
Dec 1, 2010 at 2:45 am
Dec 3, 2010 at 4:44 am -
I wrote miscellaneous interactive interpreters and I fall on this. In Python 2.7 (understand Python 2.6), a source code can be compiled with "native" '\r\n' as eol. In Python 3.1, it does not seem to ...
Jmfauth
Dec 29, 2010 at 4:07 pm
Jan 16, 2011 at 10:55 am
Group Overview
group | python-list |
categories | python |
discussions | 300 |
posts | 1,669 |
users | 405 |
website | python.org |
405 users for December 2010
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)