En Mon, 17 Sep 2007 09:02:38 -0300, BlueBird <[EMAIL PROTECTED]> escribi�:
> Oooooooops. It was a stupid bug in my script: textLine[:- > int(textLine[-1]=='\n')] is not what I want (the real code was not a > one-liner)! The documentation made me think that something wrong was > going on with python but I should have known better. If that expression is supposed to remove the trailing newline, I suggest using textLine = textLine.rstrip('\n') -- Gabriel Genellina -- http://mail.python.org/mailman/listinfo/python-list