Help using Thread (or other method)

2016-02-08 Thread Brendan Simon (eTRIX)
Hi. Need some urgent help. I have a python app that uses `select` to wait for data from an arm embedded linux kernel interrupt (every second). The mainloop of the app then grabs data from some memory mapped area, processes it and then does a http post to a server. The problem is the http post c

Re: Abandoning Python

2011-05-22 Thread Brendan Simon (eTRIX)
On 23/05/11 7:17 AM, python-list-requ...@python.org wrote: > Subject: > Re: Abandoning Python > From: > John Lee > Date: > Sun, 22 May 2011 21:13:44 + (UTC) > > >> > >> > Have you looked at Falcon (http://www.falconpl.org/)? It seems to have a >> > lot >> > of what you are looking for. > I

Re: [ANN] Python 2.5.6 Release Candidate 1

2011-04-18 Thread Brendan Simon (eTRIX)
On 19/04/2011 9:05 AM, python-list-requ...@python.org wrote: Am 18.04.2011 09:59, schrieb Werner F. Bruhin: > On 04/17/2011 11:57 PM, "Martin v. Löwis" wrote: >>http://www.python.org/2.5.6 If there is an official release of source (e.g. 2.5.5 and 2.5.6) why aren't binaries produced (

Python3 "designed right" (was: PYTHONPATH)

2011-04-18 Thread Brendan Simon (eTRIX)
On 19/04/2011 2:15 AM, python-list-requ...@python.org wrote: Subject: Re: PYTHONPATH From: MRAB Date: Mon, 18 Apr 2011 16:31:31 +0100 To: python-list@python.org On 18/04/2011 05:37, harrismh777 wrote: [snip] In retrospect, in many ways this is why I am relatively patient with the Python3 dev

Python benefits over Cobra

2011-04-05 Thread Brendan Simon (eTRIX)
I just came across the Cobra language, which appears to be heavily influenced by Python (and other languages). The pitch sounds great. It's supposed to have: 1. Quick, expressive coding 2. Fast execution 3. Static and dynamic binding 4. Language level support for quality http:/

Re: wxPython in the context of Eclipse

2011-02-20 Thread Brendan Simon (eTRIX)
On 20/02/2011 10:00 PM, python-list-requ...@python.org wrote: Subject: wxPython in the context of Eclipse From: Fred Marshall Date: Sat, 19 Feb 2011 23:22:44 -0800 To: python-list@python.org I asked earlier: How do I use wxPython or wxGlade in the context of Eclipse? A link to a howto would

Re: WxPython versus Tkinter.

2011-01-26 Thread Brendan Simon (eTRIX)
Since it seems the python motto is "Batteries included", then it would seem to me that wxPython is the natural fit as it also has "Batteries included" (e.g. accessibility, native look-n-feel, mature and evolving, can produce simple or complex gui programs, etc, etc). -- Brendan Simon www.etrix

Re: Whining about "struct"

2010-10-14 Thread Brendan Simon (eTRIX)
On 14/10/10 5:17 PM, python-list-requ...@python.org wrote: > Subject: > Whining about "struct" > From: > Tim Roberts > Date: > Wed, 13 Oct 2010 21:30:38 -0700 > > To: > python-list@python.org > > > I have a bad memory. I admit it. Because of that, the Python "help" > system is invaluable to me.

Re: [Python-list] if the else short form

2010-09-29 Thread Brendan Simon (eTRIX)
On 29/09/10 9:20 PM, python-list-requ...@python.org wrote: > Subject: > if the else short form > From: > Tracubik > Date: > 29 Sep 2010 10:42:37 GMT > > To: > python-list@python.org > > > Hi all, > I'm studying PyGTK tutorial and i've found this strange form: > > button = gtk.Button(("False,", "T

Re: Can't find elements using ElementTree find method

2010-08-31 Thread Brendan Simon (eTRIX)
, then search for './component', './component/name' and so on. It's a bit ugly, but heaps better than using minidom :) Cheers, Brendan. On 31/08/10 6:57 PM, Nitin Pawar wrote: > Try using getroot() > > I think your root is components so its searching in root

Can't find elements using ElementTree find method

2010-08-31 Thread Brendan Simon (eTRIX)
I am trying to use ElementTree (with Python 2.7) and can't seem to find elements at the top level. The find() and findall() methods seem to find elements within the top level, but not if it the elements are at the top level. How do I find top level elements ?? Here is my code. import xml.et