ipynb
ipynb copied to clipboard
Will there be Python 2 support?
In non-interactive python 2, we can use from __future__ import absolute_import
to force explicit relative import. This is not working when, for example, we write some vanilla python files and relative-importing them from a notebook.
I tried pip install git+https://github.com/ipython/ipynb
but it gives that it requires python 3. Is there any workaround about this?
A lot of the code depends on new machinery introduced in Python 3.4, so at least for now there is no Python 2 support. It could possibly be hacked on at a later date, depending on how important it is to people :) How important is support for python < 3.4 support for you?
On Fri, Nov 18, 2016 at 10:59 PM, yangnw [email protected] wrote:
In non-interactive python 2, we can use from future import absolute_import to force explicit relative import. This is not working when, for example, we write some vanilla python files and relative-importing them from a notebook. I tried pip install git+https://github.com/ipython/ipynb but it gives that it requires python 3. Is there any workaround about this?
— You are receiving this because you are subscribed to this thread. Reply to this email directly, view it on GitHub https://github.com/ipython/ipynb/issues/25, or mute the thread https://github.com/notifications/unsubscribe-auth/AAB23mwbs8og9qdYt8VktDzCgsfCUbn_ks5q_p5KgaJpZM4K3Lt7 .
Yuvi Panda T http://yuvi.in/blog
It's a finance project. Since it is not so big, the feature itself is not that important.