Search Discussions
-
A.k.a. "we had to destroy the project in order to save it". http://technogems.blogspot.com.au/2012/05/pyjamas-hijacked.html Seriously, this was a remarkably ham-fisted and foolish way to "resolve" a ...
Steven D'Aprano
May 8, 2012 at 3:54 am
May 15, 2012 at 9:37 pm -
This is slightly off topic, but I'm hoping folks can point me in the right direction. I'm looking for a fairly lightweight key/value store that works for this type of problem: ideally plays nice with ...
Steve Howell
May 3, 2012 at 2:14 am
May 7, 2012 at 4:39 pm -
What's the smallest/cheapest/lowest-power hardware platform I can run Python on today? I'm looking for something to use as a hardware controller in a battery-powered device and want to avoid writing ...
Roy Smith
May 26, 2012 at 3:34 pm
Jun 2, 2012 at 10:31 pm -
Hello everyone.. I am new to asp.net... I want to use Regular Expression validator in Email id verification.. Can anyone tell me how to use this and what is the meaning of this ...
Niks
May 24, 2012 at 12:32 pm
May 25, 2012 at 10:28 pm -
I have several lists with approx 1172026 entries. I have been trying to sort the records, but have failed.. I tried lists.sort() i also trired sorted python's inbuilt method. This has been running ...
J. Mwebaze
May 6, 2012 at 3:57 pm
May 8, 2012 at 6:15 am -
Can anyone tell me how to call and exectute C code in Python? Regards. David From: "python-list-request at python.org" <python-list-request at python.org To: python-list at python.org Sent: Friday, ...
David Shi
May 13, 2012 at 1:25 pm
May 16, 2012 at 9:52 pm -
Hi All, Normally use Google Groups but it's becoming absolutely frustrating - not only has the interface changed to be frankly impractical, the posts are somewhat random of what appears, is posted ...
Jon Clements
May 25, 2012 at 10:38 pm
Jun 15, 2012 at 9:25 pm -
17
When convert two sets with the same elements to lists, are the lists always going to be the same?
Hi, list(a_set) When convert two sets with the same elements to two lists, are the lists always going to be the same (i.e., the elements in each list are ordered the same)? Is it documented anywhere? ...Peng Yu
May 4, 2012 at 12:36 am
May 5, 2012 at 4:17 pm -
In python2, "\u" escapes are processed in raw unicode strings. That is, ur'\u3000' is a string of length 1 consisting of the IDEOGRAPHIC SPACE unicode character. In python3, "\u" escapes are not ...
Rurpy
May 30, 2012 at 6:52 am
Jun 16, 2012 at 2:14 am -
Say I've got a class... class test(object): def __init__(self): self.foo = 1 self.bar = 2 self.baz = 3 I can say... def __str__(self): return "foo: {0}\nbar: {1}\nbaz: {2}".format(self.foo, self.bar, ...
Andreas Tawn
May 10, 2012 at 1:33 pm
May 14, 2012 at 5:15 pm -
Hi Sorry for such a naive question. I couldnt find anywhere in the documentation that int() can throw a ValueError. I checked the "The Python Language Reference", and the "The Python Standard Library ...
John Terrak
May 11, 2012 at 5:55 am
May 12, 2012 at 10:53 pm -
Hi all, I've been a long time user of Python and written many extensions but this problem has me stumped. I've written a straight forward extension that wraps a vendors SDK for a video capture card ...
Bob Cowdery
May 5, 2012 at 7:33 pm
May 10, 2012 at 10:10 pm -
Hoi, I'm trying to connect to a serial port and always get the error "serial.serialutil.SerialException: Port is already open." whcih is untrue. I have no serial port open yet, my code looks like ...
Ron Eggler
May 18, 2012 at 9:53 pm
May 22, 2012 at 10:00 pm -
Hi all, because "There should be one-- and preferably only one --obvious way to do it", there should be a difference between the two methods in the subject, but I can't find it: (True, True) ?123 ...
Marco
May 16, 2012 at 3:48 pm
May 17, 2012 at 1:32 pm -
Hi guys, I have an application that embedding Python into C++. When any exception occurred in C++ code, PyErr_SetString will be called to propagate the exception to Python. The problem is, some unit ...
Qi
May 31, 2012 at 7:57 am
Jun 1, 2012 at 2:06 pm -
Can any one help? I am looking for a Senior Python Developer - Linux, AppScript, Adobe Illustrator - Bradford, Yorkshire - ?45,000 Our marketing and design client is looking to recruit an experienced ...
Python Recruiter
May 22, 2012 at 9:30 am
May 24, 2012 at 1:22 am -
Hello, I have a long list of n date intervals that gets added or suppressed intervals regularly. I am looking for a fast way to find the intervals containing a given date, without having to check all ...
Jean-Daniel
May 12, 2012 at 12:17 pm
May 21, 2012 at 4:46 pm -
I have a copy of this book and was wondering how relevant the content is considering the publish date is 2000. Are people still using this information? Anyone have any experience with this book? I ...
Mark R Rivet
May 17, 2012 at 3:55 am
May 20, 2012 at 2:42 pm -
class Node: def __init__(self, nodeId, key, value, downRight, downLeft, parent): dirty = True dlu = utcnow() self.node = [nodeId, downLeft, [key], [value], [downRight], parent, dirty, dlu] Note that ...
Charles Hixson
May 8, 2012 at 3:15 am
May 8, 2012 at 10:59 pm -
Please help a newbe. I have a string returned from an esygui multchoicebox that looks like this: ('ksals', '', 'alsdkfj', '3', '') I need to convert this to this: ['ksals', '', 'alsdkfj', '3', ''] ...
Ksals
May 1, 2012 at 8:18 pm
May 3, 2012 at 4:29 am -
Hello, I am an experienced programmer but a beginner to python. As such, I can figure out a way to code most algorithms using more "C" style syntax. I am doing something now that I am sure is a more ...
Scott Siegler
May 24, 2012 at 8:22 pm
May 29, 2012 at 7:48 pm -
Noob alert: writing my first Python class library. I have a straightforward class called Utility that lives in Utility.py. I'm trying to get a handle on best practices for fleshing out a library. As ...
Bob Grommes
May 13, 2012 at 7:11 pm
May 16, 2012 at 12:50 am -
***TRIVIAL ISSUE***, but this has been irking me for a while now. The main logging.Handler class' __init__ accepts a level argument while none of its children do. The poor minions seem to be stuck ...
Fayaz Yusuf Khan
May 17, 2012 at 10:07 am
May 29, 2012 at 2:41 pm -
Hi, I am a newbie running the latest pythonxy (2.7.2.1) & spyder and python 2.7.2. I suspect my questions are mostly basic to python, and not specific to Spyder or iPython. Note: Up until now, I ...
Gwhite
May 17, 2012 at 1:45 am
May 18, 2012 at 9:55 pm -
Is it normal the str.isnumeric() returns False for these Cuneiforms? '\U00012456' '\U00012457' '\U00012432' '\U00012433' They are all in the Nl category. Marco
Marco
May 17, 2012 at 7:32 pm
May 18, 2012 at 5:06 pm -
Hello I tried using one compiled library and got this error: ImportError: /home/alan/Downloads/pdftron/PDFNetC64/Lib/ _PDFNetPython2.so: undefined symbol: PyUnicodeUCS2_AsUTF8String I googled around ...
Alan Kesselmann
May 15, 2012 at 10:01 am
May 16, 2012 at 10:29 am -
I'd like to send MIDI events from python to another program. I'd like advice as to how to accurately time the events. I'll have a list of floating point start times in seconds for the events, and I'd ...
Tobiah
May 9, 2012 at 3:52 pm
May 10, 2012 at 9:31 am -
I have multiple objects, where any of them can serve my purpose.. However some objects might not have some dependencies. I can not tell before hand if the all the dependencies exsit. What i want to ...
J. Mwebaze
May 2, 2012 at 7:51 pm
May 3, 2012 at 2:54 pm -
I would like to pass something like this into a function test(val1,val2,' =') and it should come back with True or False. Is there a way to dynamically compare 2 values like this or will I have to ...
Mlangenhoven
May 24, 2012 at 2:14 pm
May 25, 2012 at 10:44 pm -
def adder(): s = 0 def a(x): s += x return sum return a pos, neg = adder(), adder() for i in range(10): print pos(i), neg(-2*i) This should work, right? Why does it not? Checkout slide no. 37 of a ...
SherjilOzair
May 25, 2012 at 1:23 am
May 25, 2012 at 3:16 pm -
I am trying to join an online class that uses python. I need to brush up on the language quickly. Is there a good book or resource that covers it well but does not have to explain what an ...
Hsaziz
May 23, 2012 at 11:45 pm
May 24, 2012 at 7:13 pm -
Just hit a snag: In cPython the deterministic garbage collection allows me a particular optimization when retrieving records from a dbf file -- namely, by using weakrefs I can tell if the record is ...
Ethan Furman
May 16, 2012 at 9:33 pm
May 19, 2012 at 1:31 pm -
folks hi, I am going to learn python for some plot issues. which book or sources, do you recommend please? Cheers, Dave
D Poreh
May 8, 2012 at 6:16 pm
May 16, 2012 at 8:35 pm -
I'm trying to come up with a scheme for organizing exceptions in my application. Currently, I'm using a base class which knows how to look up the text of a specific error in a database table, keyed ...
John Gordon
May 8, 2012 at 8:05 pm
May 9, 2012 at 12:21 pm -
Anyone else following the apparent hijack of the pyjs project from its lead developer?
Alex23
May 3, 2012 at 11:52 am
May 6, 2012 at 3:19 am -
I am writing a screen scraping application using BeautifulSoup: http://www.crummy.com/software/BeautifulSoup/ (which is fantastic, by the way). I have an object that has two methods, each of which ...
Psaffrey
May 30, 2012 at 4:01 pm
May 31, 2012 at 12:59 pm -
Hi, There has been some discussion on this list regarding GUI toolkits and it reinvigorated my search for one to meet my needs. I would like to create windows with grids (AKA rows and column of a ...
Simon Cropper
May 18, 2012 at 12:52 am
May 23, 2012 at 1:54 pm -
Brand-new to Python (that's a warning, folks) Trying to write a routine to import a CSV file into a SQL Server table. To ensure that I convert the data from the CSV appropriately, I"m executing a ...
Steve Sawyer
May 14, 2012 at 4:01 pm
May 17, 2012 at 4:01 pm -
Folks, I am migrating to Python after a 20+ year career writing IDL programs exclusively. I have a really simple question that I can't find the answer to in any of the books and tutorials I have been ...
Coyote
May 11, 2012 at 3:25 pm
May 15, 2012 at 9:26 am -
I'm using regular expressions to split a string using multiple delimiters. But if two or more of my delimiters occur next to each other in the string, it puts an empty string in the resulting list ...
Deuteros
May 1, 2012 at 4:50 am
May 2, 2012 at 6:37 am -
Namespaces are one honking great idea -- let's do more of those! Inspired by this, I have a decorator that abuses function closures to create a namespace type with the following properties: - all ...
Steven D'Aprano
May 24, 2012 at 8:50 am
Jun 5, 2012 at 9:41 am -
Hi list, recently I started to work on an application [1] which makes use of the Tkinter module to handle interaction with the user. Simply put, the app is a text widget displaying a file filtered by ...
Matteo Landi
May 27, 2012 at 10:21 pm
Jun 3, 2012 at 8:15 am -
Hi, I would like to do some parallel programming with Python but I don't know how to start. There are several ways to go but I don't know what the differences are between them: threads, ...
Jabba Laci
May 10, 2012 at 12:14 pm
May 29, 2012 at 4:06 pm -
Like the topic, more details in followed links.. http://stackoverflow.com/questions/10637450/how-to-hide-console-with-popen-on-windows ...
Xliiv
May 18, 2012 at 8:22 am
May 22, 2012 at 3:59 pm -
I've got this code in a django app: CHOICES = [ ('NONE', 'No experience required'), ('SAIL', 'Sailing experience, new to racing'), ('RACE', 'General racing experience'), ('GOOD', 'Experienced ...
Roy Smith
May 21, 2012 at 12:37 pm
May 21, 2012 at 3:31 pm -
Is there some way to ensure that a .pyc file is produced when executing a .py file? It seems that for small files the .pyc file is not produced. Colin W.
Colin J. Williams
May 13, 2012 at 9:27 pm
May 20, 2012 at 1:55 pm -
Hello, i would like to ask you for some information regarding Carbon Event Manager ( Carbon.CarbonEvt ) library in Python. I need to recieve and work with few Carbon events in my program. I've ...
Msmucr
May 15, 2012 at 7:06 pm
May 15, 2012 at 11:06 pm -
A while back I did a sort algorithm runtime comparison for a variety of sorting algorithms, and then mostly sat on it. Recently, I got into a discussion with someone on stackoverflow about the ...
Dan Stromberg
May 1, 2012 at 5:25 am
May 1, 2012 at 10:19 pm -
Hello, I have been attempting to speed up some code by using an sqlite database, but I'm not getting the performance gains I expected. The use case: I have text files containing data which may or may ...
Duncan smith
May 31, 2012 at 1:57 am
May 31, 2012 at 5:05 pm -
Hi all, For various reasons, I would like to maintain multiple copies of python on my (Ubuntu 12.04) linux system. This is primarily for scientific software development; several modules require ...
Nfitzkee
May 30, 2012 at 8:38 pm
May 31, 2012 at 9:45 am
Group Overview
group | python-list |
categories | python |
discussions | 239 |
posts | 1,195 |
users | 326 |
website | python.org |
326 users for May 2012
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)