So, I know I can export an ipython session to a notebook, and then convert that notebook to many format using jupyter nbconvert ...
.
However, the doc also says I should be able to export the session directly to a python script if I give the filename a .py
extension. That doesn't work, it still generates a notebook json file.
Can I get the desired behavior in some way?
Thanks.