Hacker Timesnew | past | comments | ask | show | jobs | submitlogin

> python's syntax is whitespace-sensitive and doesn't have curly braces around blocks

That's a good thing.



Not if you want to try out a copy fragment by copying it from editor into REPL.


jupyter solves this, but also you can prefix it with

    if 1:
and remove all its internal blank lines and add a blank line after it


More tedious editing when I just want to quickly try out a short code fragment. Perfect solution! So pythonic and full of "zen".


i didn't say it was a bad thing

my comment makes no sense if you read it assuming i think it's a bad thing

what it is is a weird thing




Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: