Re: Strange problem when running python code

2006-04-05 Thread Steve Juranich
Dennis Lee Bieber wrote: > As an occassional dabbler in the Tarot, I can assure you that cards > are NOT used for "mind-reading"; they merely offer up a possible future > which must be interpreted in light of the querant's situation... (or, > since I typically read for myself -- the allow my subco

Re: Strange problem when running python code

2006-04-05 Thread Steven D'Aprano
On Tue, 04 Apr 2006 12:01:12 -0700, ishtar2020 wrote: > I must add, when the python interpreter displays the traceback, with > the line that is producing the error, it doesn't look like the one I > got in the code. I sometimes get that problem when I'm running code, I make a change in the source

Re: Strange problem when running python code

2006-04-05 Thread Fredrik Lundh
"ishtar2020" wrote: > It's quite puzzling. And if I change some lousy thing, like inserting a > newline between the sentences, the interpreter will find another error > somewhere else, even when that part of the code was working flaw- > lessly in previous runs what Python version are you using ?

Re: Strange problem when running python code

2006-04-04 Thread sushant . sirsikar
Are U Using any IDE for Python? If yes then check out the setting and make sure that u are running same code. -- http://mail.python.org/mailman/listinfo/python-list

Re: Strange problem when running python code

2006-04-04 Thread Christopher Weimann
On 04/04/2006-12:01PM, ishtar2020 wrote: > This is the line where the interpreter finds the error > >if text.list[i].toString() in limits:list)): <- Here is where That line has two extra close parens before the : Can you show the traceback? -- http://mail.python.org/mailman/listinfo

Re: Strange problem when running python code

2006-04-04 Thread James Stroud
ishtar2020 wrote: > Hi everybody > > I've been writing my very first application in Python and everything is > running smoothly, except for a strange problem that pops up every once > in a while. I'm sure is the kind > of newbie thing every seasoned programmer knows. > > Sometimes a receive stran

Re: Strange problem when running python code

2006-04-04 Thread Steve Juranich
Roy Smith wrote: > ishtar2020 <[EMAIL PROTECTED]> wrote: >>I've been writing my very first application in Python and everything is >>running smoothly, except for a strange problem that pops up every once >>in a while. I'm sure is the kind >>of newbie thing every seasoned programmer knows. > > Nob

Re: Strange problem when running python code

2006-04-04 Thread ishtar2020
I must add, when the python interpreter displays the traceback, with the line that is producing the error, it doesn't look like the one I got in the code. This is the line where the interpreter finds the error if text.list[i].toString() in limits:list)): <- Here is where the error is foun

Re: Strange problem when running python code

2006-04-04 Thread Roy Smith
ishtar2020 <[EMAIL PROTECTED]> wrote: >I've been writing my very first application in Python and everything is >running smoothly, except for a strange problem that pops up every once >in a while. I'm sure is the kind >of newbie thing every seasoned programmer knows. Nobody here has a crystal ball.

Re: Strange problem when running python code

2006-04-04 Thread Fredrik Lundh
"ishtar2020" wrote: > Sometimes a receive strange Syntax Errors from parts of code that > worked perfectly minutes ago. What's even more puzzling is that those > errors are pointed to another part of the module when I do some random, > innofensive changes in the code (like inserting a line or dele

Re: Strange problem when running python code

2006-04-04 Thread John Salerno
ishtar2020 wrote: > Hi everybody > > I've been writing my very first application in Python and everything is > running smoothly, except for a strange problem that pops up every once > in a while. I'm sure is the kind > of newbie thing every seasoned programmer knows. > > Sometimes a receive stran

Re: Strange problem when running python code

2006-04-04 Thread Brian Beck
For certain errors like Syntax Errors, you'll get a much more helpful response if you post some actual code. Strip it down if you have to, but make sure we can reproduce the errors. -- Brian Beck Adventurer of the First Order -- http://mail.python.org/mailman/listinfo/python-list

Strange problem when running python code

2006-04-04 Thread ishtar2020
Hi everybody I've been writing my very first application in Python and everything is running smoothly, except for a strange problem that pops up every once in a while. I'm sure is the kind of newbie thing every seasoned programmer knows. Sometimes a receive strange Syntax Errors from parts of cod