On Thursday 07 July 2011 15:36:06 Michael M Mason wrote:
> Maybe you've been editing ex25 and then executing ex26. That'd get you the
> same error in the same place over and over again.
Doh! They do say that there is one born every minute.
Thanks,
Lisi
__
TWO HOURS?? You aren't a Real Programmer
(http://www.catb.org/jargon/html/story-of-mel.html) until you've spent a whole
day debugging something trivial.
Heck, I quite recently spent a day plus trying to figure out why my
microcontroller project wasn't working right. I was using a command line
>Many years ago, in the days of the ark, when men were real men, and
So men in the present day are fake men?
Ramit
Ramit Prasad | JPMorgan Chase Investment Bank | Currencies Technology
712 Main Street | Houston, TX 77002
work phone: 713 - 216 - 5423
This communication is for informational purp
On Thursday 07 July 2011 15:42:12 Michael M Mason wrote:
> > Maybe you've been editing ex25 and then executing ex26. That'd get you
> > the same error in the same place over and over again.
>
> Looks like this might be it. In your earlier post the error reported is in
> ex26:-
>
> : lisi@Tux:~/Pyth
On 07 July 2011 at 15:07 Lisi wrote:
> In error, I downloaded ex26 before I had done ex25. So I left
> it and did ex25.
>
> Having finally given up on ex25, I am now doing ex26. And guess
> what?! Line 10 has a missing colon.
>
> So _how_ did a missing colon in ex26 cause problems in ex25
Michael M Mason wrote on 07 July 2011 at 15:38:-
> > In error, I downloaded ex26 before I had done ex25. So I left
> > it and did ex25.
> >
> > Having finally given up on ex25, I am now doing ex26. And guess
> > what?! Line 10 has a missing colon.
> >
> > So _how_ did a missing colon in ex26 cau
On Thursday 07 July 2011 10:21:59 Walter Prins wrote:
> Do you maybe
> have several copies of the script lying around in different folders?
I _think_ that you may have the answer here - tho' for me it raises almost as
many questions as I had in the first place. The exercise I was having that
i
On Thursday 07 July 2011 11:46:01 Marc Tompkins wrote:
> On Thu, Jul 7, 2011 at 3:15 AM, Lisi wrote:
> > There must have been
>
> something, but I cannot fathom what. What difference does inserting a
> space
>
> > and then deleting it make?
>
> I wonder whether you might have had a stray non-
On Thu, Jul 7, 2011 at 3:15 AM, Lisi wrote:
> There must have been
>
something, but I cannot fathom what. What difference does inserting a space
> and then deleting it make?
>
I wonder whether you might have had a stray non-printing character in
there? I believe that that would explain the
On Thursday 07 July 2011 10:21:59 Walter Prins wrote:
> Hi Lisi
>
> On 7 July 2011 08:52, Lisi wrote:
> > > > You could obviously see something wrong
> > >
> > > The posted error report had no colon.
> >
> > Yes - but the script had one, which was why I included the actual script
> > in my
> > ori
Hi Lisi
On 7 July 2011 08:52, Lisi wrote:
> > > You could obviously see something wrong
> >
> > The posted error report had no colon.
>
> Yes - but the script had one, which was why I included the actual script in
> my
> original post. I seem to have cut too much in this email!
>
The error mes
On Thursday 07 July 2011 00:48:24 Alan Gauld wrote:
> "Lisi" wrote
>
> >> : File "ex26.py", line 10
> >> : def print_first_word(words)
> >> : ^
> >> : SyntaxError: invalid syntax
> >> : lisi@Tux:~/Python/LearnPythonTheHardWay$
> >>
> >> Look at the error.
"Lisi" wrote
: File "ex26.py", line 10
: def print_first_word(words)
: ^
: SyntaxError: invalid syntax
: lisi@Tux:~/Python/LearnPythonTheHardWay$
Look at the error. Look at the error carefully.
I could see nothing that was different.
The error re
Thanks very much Martin. I did "solve" the problem after you kindly emailed -
but the solution has puzzled me more that the original problem.
On Tuesday 05 July 2011 23:23:41 Martin wrote:
> : lisi@Tux:~/Python/LearnPythonTheHardWay$ python ex26.py
> : File "ex26.py", line 10
> : def pr
14 matches
Mail list logo