Re: Passing a list into a list .append() method

2014-09-08 Thread Frank Millman
"JBB" wrote in message news:loom.20140909t073428-...@post.gmane.org... >I have a list with a fixed number of elements which I need to grow; ie. add > rows of a fixed number of elements, some of which will be blank. > > e.g. [['a','b','c','d'], ['A','B','C','D'], ['', 'aa', 'inky', ''], ['', > 'b

Passing a list into a list .append() method

2014-09-08 Thread JBB
I have a list with a fixed number of elements which I need to grow; ie. add rows of a fixed number of elements, some of which will be blank. e.g. [['a','b','c','d'], ['A','B','C','D'], ['', 'aa', 'inky', ''], ['', 'bb', 'binky', ''], ... ] This is a reduced representation of a larger list-of-li

Re: pip install PyOpenGL have problem

2014-09-08 Thread Michael Torrie
On 09/08/2014 08:18 PM, Michael Torrie wrote: > On 09/06/2014 11:15 PM, วรรณพงษ์ ภัททิยไพบูลย์ wrote: >> pip install -U PyOpenGL PyOpenGL_accelerate >> :( > > I don't recognize that particular error message... > > If you require assistance you need to copy and paste the output from the > command

Re: weakref, memory management and execution slow down in PyQt4

2014-09-08 Thread kjs
Thanks for the consideration Michael. If you do get the data, and are able to run the code, let me know if you notice anything interesting. Michael Torrie: > On 09/07/2014 02:39 PM, kjs wrote: >> The code is minimal[0]. The only other widgets are a start button that >> fires off the plotting and

Re: Installing Python 3

2014-09-08 Thread Ned Deily
In article , Ashley Forman wrote: > My name is Ashley Forman, and I am emailing because I cannot install > python onto my Mac laptop! I have installed Active-TCl 8.5 along with > Python 3.3 and tried with 3.4, and couldn't figure out a solution to my > problem. When I click on IDLE to open, it

Re: pip install PyOpenGL have problem

2014-09-08 Thread Michael Torrie
On 09/06/2014 11:15 PM, วรรณพงษ์ ภัททิยไพบูลย์ wrote: > pip install -U PyOpenGL PyOpenGL_accelerate > :( I don't recognize that particular error message... If you require assistance you need to copy and paste the output from the command so people can know exactly what failed. -- https://mail.p

Re: Newer Debian versions of python on older Debian distros?

2014-09-08 Thread Chris Angelico
On Tue, Sep 9, 2014 at 5:04 AM, Travis Griggs wrote: > Does anyone have experience with using newer versions of python debian > packages (in particular, python3 and python3-bson-ext from ‘testing’) on > older stable versions (‘wheezy’ in this case)? If someone’s figured out how > to do this eas

Re: weakref, memory management and execution slow down in PyQt4

2014-09-08 Thread Michael Torrie
On 09/07/2014 02:39 PM, kjs wrote: > The code is minimal[0]. The only other widgets are a start button that > fires off the plotting and a stop button that calls sys.exit(). Unfortunately there are no data files in your git repository so I can't run it. > > Lines 112-114 appear to be causing the

Installing Python 3

2014-09-08 Thread Ashley Forman
Hello, My name is Ashley Forman, and I am emailing because I cannot install python onto my Mac laptop! I have installed Active-TCl 8.5 along with Python 3.3 and tried with 3.4, and couldn't figure out a solution to my problem. When I click on IDLE to open, it does not open at all. Therefore, if y

Newer Debian versions of python on older Debian distros?

2014-09-08 Thread Travis Griggs
(I realize that this may be seen as off topic for as a general python question, but given my historical experience with the Debian community’s predilection to answer all questions with a grumpy “go read the very very very very large and ever shifting fine manual”, I’m hoping for better luck here

Re: "We made from water every living thing"...

2014-09-08 Thread David H. Lipman
From: "Chris Angelico" On Mon, Sep 8, 2014 at 10:41 PM, Joshua Landau wrote: I don't think allowing people to be disrespectful because they accessed the forum in a different way is a good idea. I'd rather we all just be nice. May I just point out that lots of us didn't even see the original

Re: "We made from water every living thing"...

2014-09-08 Thread Grant Edwards
On 2014-09-08, Gene Heskett wrote: > On Monday 08 September 2014 09:06:46 Chris Angelico did opine > And Gene did reply: >> On Mon, Sep 8, 2014 at 10:41 PM, Joshua Landau wrote: >> >> > I don't think allowing people to be disrespectful because they >> > accessed the forum in a different way is a

Re: "We made from water every living thing"...

2014-09-08 Thread Gene Heskett
On Monday 08 September 2014 09:06:46 Chris Angelico did opine And Gene did reply: > On Mon, Sep 8, 2014 at 10:41 PM, Joshua Landau wrote: > > I don't think allowing people to be disrespectful because they > > accessed the forum in a different way is a good idea. I'd rather we > > all just be nice.

Re: "We made from water every living thing"...

2014-09-08 Thread Mark Lawrence
On 08/09/2014 14:06, Chris Angelico wrote: On Mon, Sep 8, 2014 at 10:41 PM, Joshua Landau wrote: I don't think allowing people to be disrespectful because they accessed the forum in a different way is a good idea. I'd rather we all just be nice. May I just point out that lots of us didn't eve

Re: "We made from water every living thing"...

2014-09-08 Thread Chris Angelico
On Mon, Sep 8, 2014 at 10:41 PM, Joshua Landau wrote: > I don't think allowing people to be disrespectful because they > accessed the forum in a different way is a good idea. I'd rather we > all just be nice. May I just point out that lots of us didn't even see the original post? If "Tony the Tig

Re: "We made from water every living thing"...

2014-09-08 Thread Joshua Landau
On 8 September 2014 12:54, David H. Lipman wrote: > From: "Ned Batchelder" >> On 9/7/14 5:41 PM, Tony the Tiger wrote: >> >>> Now, kindly get the fuck outta here, you fucking retard! >>> >> That was unnecessary, ineffective, and totally outside the bounds of this >> community's norms: http://www.

Re: "We made from water every living thing"...

2014-09-08 Thread David H. Lipman
From: "Ned Batchelder" On 9/7/14 5:41 PM, Tony the Tiger wrote: Now, kindly get the fuck outta here, you fucking retard! /Grrr That was unnecessary, ineffective, and totally outside the bounds of this community's norms: http://www.python.org/psf/codeofconduct Behave. He posted via

Re: How to turn a string into a list of integers?

2014-09-08 Thread Terry Reedy
On 9/8/2014 1:44 AM, Marko Rauhamaa wrote: Chris Angelico : The original question was regarding storage - how PEP 393 says that strings will be encoded in memory in any of three ways (Latin-1, UCS-2/UTF-16, or UCS-4/UTF-32). But even in our world, that is not what a string *is*, but only what i

Re: weakref, memory management and execution slow down in PyQt4

2014-09-08 Thread kjs
Michael Torrie: > On 09/07/2014 01:11 PM, kjs wrote: >> Thanks for the advice. I commented out the graph generation and PyQt call >> > self.app.processEvents() >> >> where in the class __init__ >> > self.app = QtGui.QApplication(sys.argv) >> >> This stopped the weakref proliferation. All