python adds an extra half space when reading from a string or list

Mark Lawrence breamoreboy at yahoo.co.uk
Sat Jun 29 13:00:27 EDT 2013


On 29/06/2013 17:05, Joshua Landau wrote:
> On 29 June 2013 03:07, charles benoit <feather.duster.kung.fu at gmail.com> wrote:
> <STUFF>
>
> 1) You haven't asked a question.
>
> 2) You posted your code twice. That makes it look a lot harder and
> longer than it really is.
>
> 3) Give us a *minimal* reproducible test case. I currently just get:
>
> %~> python2 /tmp/nd.py
> Traceback (most recent call last):
>    File "/tmp/nd.py", line 12, in <module>
>      finale_line2=finale_line
> NameError: name 'finale_line' is not defined
>
> This isn't the only problem.
>
> In other words, you've given us an unsolvable problem. Try again.
>

Why this when the approach to Nick the Incompetant Greek has been to 
roll out the red carpet?

-- 
"Steve is going for the pink ball - and for those of you who are 
watching in black and white, the pink is next to the green." Snooker 
commentator 'Whispering' Ted Lowe.

Mark Lawrence




More information about the Python-list mailing list