[Mostly OT] Feedback on Python homework using Canvas LMS

MRAB python at mrabarnett.plus.com
Tue Mar 17 11:05:01 EDT 2020


On 2020-03-16 21:49, Grant Edwards wrote:
> On 2020-03-16, Irv Kalb <Irv at furrypants.com> wrote:
> 
>> I like both suggestions, and will probably go with the non-breaking
>> space (Option space on my Mac).  I tested that and it works well.
> 
> Until somebody tries to cut/paste the snippets you post into a .py
> file and run them.  At that point the "distance learning" setup is
> definitely good, because you really don't want to hear the names
> you'll be called.  ;)
> 
I've just tried using non-breaking spaces at the Python prompt in a 
Windows 10 console window. It treated them like spaces!

However, it complained when I used them in a file.

Are there actually any programming languages that will accept 
non-breaking spaces as an alternative to "normal" spaces?


More information about the Python-list mailing list