You could use Lint to check your code for syntax errors.
On Mon, Nov 5, 2012 at 4:18 PM, Nikolas Stevenson-Molnar <
nik.mol...@consbio.org> wrote:
> I tried copy/pasting the code you linked into PyCharm and it worked fine.
> Gotta be spacing/indentation somewhere.
>
>
> _Nik
>
> On 11/5/2012 1:
I tried copy/pasting the code you linked into PyCharm and it worked
fine. Gotta be spacing/indentation somewhere.
_Nik
On 11/5/2012 1:26 AM, Markus Christen wrote:
> I have tryed your input, but i have always the same problem... i cant
> fix it. it doesent work and i dont know why. (i have it in
I know you checked it, but indentation is the only thing I can think of
that would cause this. The problem isn't necessarily on the line with
the return statement, there may be an earlier line indented incorrectly.
Have you tried PyCharm's "Convert Indents" feature? Edit > Convert
Indents > To Tabs
So the error printout doesn't give the line number of the offending return
statement?
On Mon, Nov 5, 2012 at 4:26 AM, Markus Christen
wrote:
> I have tryed your input, but i have always the same problem... i cant fix
> it. it doesent work and i dont know why. (i have it in pycharm and there
> are
I have tryed your input, but i have always the same problem... i cant fix
it. it doesent work and i dont know why. (i have it in pycharm and there
are only these 2 return problems marked.)
Am Freitag, 2. November 2012 18:44:46 UTC+1 schrieb ke1g:
> Surely the error message included a line num
Surely the error message included a line number?
Also, probably not related, but check that there is no whitespace after
your line ending back-slashes. (Hint it is safer to put the opening triple
quote before the backslash, and safer yet to put the triple quoted string
in a pare of parentheses, t
6 matches
Mail list logo