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

Cameron Simpson cs at zip.com.au
Wed Aug 20 00:34:43 CEST 2014


On 19Aug2014 13:29, Marc Tompkins <marc.tompkins at gmail.com> wrote:
>On Tue, Aug 19, 2014 at 1:04 PM, Mark Lawrence <breamoreboy at yahoo.co.uk> wrote:
>> I'm not aware of any problem with Thunderbird or any (semi-)decent mail
>> client.

It may depend a great deal on the source program.

>The original poster uses NinjaIDE and Thunderbird, and his code was
>being persistently flattened when he copied/pasted.  I believe I've
>just tracked it down to an incompatibility between the two (which also
>happens to extend to Ninja/Gmail.)  I'm not sure how Google Groups
>enters into it.

Your experiment with Notepad suggests that it is pasting "rich" text that may 
be the issue. If you paste from the IDE into Notepad it works and then the text 
from Notepad pastes ok into the others. I am imagining that Notepad is plain 
fixed width text? Or just a better-handled formatting when handed to TBird or 
Gmail/GGroups?

Debugging is not helped by the fact that for some things the GMail/GGroups HTML 
looks ok but the associated plain text version that they generate and send is 
usually awful.

Cheers,
Cameron Simpson <cs at zip.com.au>

A ridiculous place!  Leaping from one bump to another, 187 corners or whatever
it was!  The number of times I've thanked God when I finished a lap there!
It gave you amazing satisfaction, no doubt about it, but anyone who says he
loved it is either a liar or wasn't going fast enough!  - Jackie Stewart


More information about the Tutor mailing list