FAQ

Search Discussions

239 discussions - 1,195 posts

  • 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'ApranoSteven 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 HowellSteve 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 SmithRoy 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 ...
    NiksNiks
    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. MwebazeJ. 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 ShiDavid 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 ClementsJon Clements
    May 25, 2012 at 10:38 pm
    Jun 15, 2012 at 9:25 pm
  • 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 YuPeng 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 ...
    RurpyRurpy
    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 TawnAndreas 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 TerrakJohn 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 CowderyBob 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 EgglerRon 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 ...
    MarcoMarco
    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 ...
    QiQi
    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 RecruiterPython 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-DanielJean-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 RivetMark 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 HixsonCharles 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', ''] ...
    KsalsKsals
    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 SieglerScott 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 GrommesBob 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 KhanFayaz 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 ...
    GwhiteGwhite
    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
    MarcoMarco
    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 KesselmannAlan 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 ...
    TobiahTobiah
    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. MwebazeJ. 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 ...
    MlangenhovenMlangenhoven
    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 ...
    SherjilOzairSherjilOzair
    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 ...
    HsazizHsaziz
    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 FurmanEthan 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 PorehD 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 GordonJohn 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?
    Alex23Alex23
    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 ...
    PsaffreyPsaffrey
    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 CropperSimon 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 SawyerSteve 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 ...
    CoyoteCoyote
    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 ...
    DeuterosDeuteros
    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'ApranoSteven 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 LandiMatteo 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 LaciJabba 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 ...
    XliivXliiv
    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 SmithRoy 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. WilliamsColin 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 ...
    MsmucrMsmucr
    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 StrombergDan 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 smithDuncan 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 ...
    NfitzkeeNfitzkee
    May 30, 2012 at 8:38 pm
    May 31, 2012 at 9:45 am
Group Navigation
period‹ prev | May 2012 | next ›
Group Overview
grouppython-list @
categoriespython
discussions239
posts1,195
users326
websitepython.org

326 users for May 2012

Chris Angelico: 71 posts Steven D'Aprano: 36 posts Ian Kelly: 35 posts Terry Reedy: 32 posts Paul Rubin: 27 posts Mark Lawrence: 24 posts Jean-Michel Pichavant: 22 posts Alex23: 20 posts Cameron Simpson: 19 posts Dave Angel: 16 posts Devin Jeanpierre: 16 posts Someone: 16 posts Ben Finney: 15 posts Dan Stromberg: 15 posts Stefan Behnel: 15 posts Ethan Furman: 14 posts Tim Chase: 14 posts Chris Rebert: 13 posts Steve Howell: 13 posts Temia Eszteri: 13 posts
show more
Archives