[Tutor] Building Starships -- object of type 'int' has no len()

Marc Tompkins marc.tompkins at gmail.com
Tue Aug 19 20:14:33 CEST 2014


On Mon, Aug 18, 2014 at 1:00 AM, Marc Tompkins <marc.tompkins at gmail.com> wrote:

> Also, looking at the Ninja-IDE website more closely I see that,
> although they do mention compatibility with multiple languages, they
> were designed by and for Python programmers - which makes the
> tab/space issue less likely.  I dunno.

Update: I tried out NinjaIDE myself, and confirmed that copying
four-space indented code from Ninja, then pasting it into a plain-text
compose box in GMail results in flat code/extra newlines; I can only
presume that it's much the same with TBird.  The problem is definitely
not (as I had thought) a space/tab problem; it has something to do
with how Ninja (and GMail, and TBird) deals with the clipboard.

I can copy from Ninja and paste into Notepad++; the indentation is
preserved.  If I then re-copy the same text from Notepad++ and paste
it into the compose box, the indentation is preserved.  But if I go
straight from Ninja to compose - flat!


More information about the Tutor mailing list