On 22 April 2013 02:35, Jim Mooney wrote:
> I'm reading a book that suggests finding EOF when the readLine == ""
>
> But wouldn't that end erroneously on blank lines, that really contain
> '\n', in which case more lines might follow? What 'empties' are
> considered equal in Python? I'm coming f
I have no idea on Wing, but I'm using Eclipse with the PyDev plugin, and
I'm able to associate projects with either Python 2.7 or 3.2 in Windows.
It checks for correct grammar in each, and if I tell it to run as a Python
script, it uses the correct executable.
So if you're not tied to Wing, you m
On Sun, 21 Apr 2013, Steven D'Aprano wrote:
On 21/04/13 04:32, Jim Mooney wrote:
I was looking at google pengine for python and it only supports 2.7. I've
installed 3 and would rather not go back (I kept doing Print without the
parentheses for awhile and it was really annoying ;')
So the quest
Okay, what am I doing wrong here? I'm generating primes from a list
and getting "list index out of range," but since the for loops
controls the indexes I don't see how that's happening. I thought it
was the list append, but I commented that out and put in a print
statement, and I still got the line
On 04/22/2013 09:47 PM, Jim Mooney wrote:
Okay, what am I doing wrong here? I'm generating primes from a list
and getting "list index out of range," but since the for loops
controls the indexes I don't see how that's happening. I thought it
was the list append, but I commented that out and put in
On 04/22/2013 09:47 PM, Jim Mooney wrote:
Okay, what am I doing wrong here? I'm generating primes from a list
and getting "list index out of range," but since the for loops
controls the indexes I don't see how that's happening. I thought it
was the list append, but I commented that out and put in