Closed mwcraig closed 9 years ago
something like:
from IPython import version_info if version_info[0] == 3: from IPython.widgets import widgets elif version_info[0] > 3: import ipywidgets as widgets else: raise ImportError('This version of reducer only works with IPython 3 or higher')
something like: