18 ms·
I'd propose reading data from stdin. Seeing this is about python, one could even consider using fileinput [0] to manage multiple files. [0]: https://docs.pytho
by pxndx 8y ago
I'd propose reading data from stdin. Seeing this is about python, one could even consider using fileinput [0] to manage multiple files.
[0]: https://docs.python.org/3/library/fileinput.html https://docs.python.org/3/library/fileinput.html
- wodenokoto 8y agoIt is a jupyter notebook, not a python script. Your proposal won't work. You generally don't open a notebook from the commandline, you open it from the notebook file picker inside your browser. You generally don't "run" a notebook, like you would a script. It is an interactive programming environment. https://github.com/jupyter/nbconvert/issues/681 https://github.com/jupyter/nbconvert/issues/681