[Tutor] problem with str.count and str.split

Alan Gauld alan.gauld at blueyonder.co.uk
Fri May 7 04:41:26 EDT 2004


Hi Tim,

>     Visual Inspection:
>           If I look at this line in an editor that allows
>           TABS to be visible, I can manually count 75 TAB
characters.

Any chance we can have the same insight? ie Can you  post such a
line for us to look at.

My immediate suspician is that there is a newline character or
somesuch in the middle of the line that fools Python. But
without seeing it I can't tell.

Alan G




More information about the Tutor mailing list