Why doesn't input code return 'plants' as in 'Getting Started with Beautiful Soup' text (on page 30) ?

Laura Creighton lac at openend.se
Sun Jul 12 16:29:21 EDT 2015


In a message of Sun, 12 Jul 2015 21:09:22 +0100, Mark Lawrence writes:
>On 12/07/2015 20:47, Laura Creighton wrote:
>> Simon Evans -- what editor are you using to write your Python code with?
>>
>> Laura Creighton
>>
>
>Editor?  His earlier posts clearly show he's using the 2.7.6 32 bit 
>interactive interpreter on Windows.

He's sending us that stuff, but he may be writing it someplace else
first.  And that someplace else may be spitting out combined
spaces and tabs.  If he is pasting that into the interpreter,
that will cause tons of problems like he is seeing.

Laura




More information about the Python-list mailing list