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

In VS code, .py file can work like a notebook. VS Code treats #%% as start of a cell, while being a plain comment when running the it as .py file. VS code can also convert an existing jupyter notebook to .py with this format


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

Search: