Format: text/x-python
⬇ Download File (285 B)
   1  # -*- coding: utf-8 -*-
   2  """
   3  Useless IPython extension to test installing and loading extensions.
   4  """
   5  some_vars = {'arq': 185}
   6  
   7  def load_ipython_extension(ip):
   8      # set up simplified quantity input
   9      ip.push(some_vars)
  10  
  11  def unload_ipython_extension(ip):
  12      ip.drop_by_id(some_vars)
  13