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

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".




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

Search: