def setscientific():
 infos = ''
 if __has_numpy:
  infos += '\nThis is a standard Python interpreter with preloaded tools for scientific \ncomputing and visualization. It tries to import the following modules:\n\n>>> import numpy as np  # NumPy (multidimensional arrays, linear algebra, ...)'
 if __has_scipy:
  infos += '\n>>> import scipy as sp  # SciPy (signal and image processing library)'
 if __has_matplotlib:
  infos += "\n>>> import matplotlib as mpl         # Matplotlib (2D/3D plotting library)\n>>> import matplotlib.pyplot as plt  # Matplotlib's pyplot: MATLAB-like syntax\n>>> from pylab import *              # Matplotlib's pylab interface\n>>> ion()                            # Turned on Matplotlib's interactive mode"
 if __has_guiqwt:
  infos += "\n>>> import guidata  # GUI generation for easy dataset editing and display\n\n>>> import guiqwt                 # Efficient 2D data-plotting features\n>>> import guiqwt.pyplot as plt_  # guiqwt's pyplot: MATLAB-like syntax\n>>> plt_.ion()                    # Turned on guiqwt's interactive mode"
 if __imports:
  infos += '\n'
 infos += '\nWithin Spyder, this interpreter also provides:\n    * special commands (e.g. %ls, %cd, %pwd, %clear)\n      - %ls:      List files in the current directory\n      - %cd dir:  Change to directory dir\n      - %pwd:     Show current directory\n      - %clear x: Remove variable x from namespace\n'
 try:
  import __builtin__ as builtins
 except ImportError:
  import builtins
 try:
  from site import _Printer
 except ImportError:
  from _sitebuiltins import _Printer
 builtins.scientific = _Printer('scientific', infos)

def setscientific ( ) : infos = '' if __has_numpy : infos += '\nThis is a standard Python interpreter with preloaded tools for scientific \ncomputing and visualization. It tries to import the following modules:\n\n>>> import numpy as np  # NumPy (multidimensional arrays, linear algebra, ...)' if __has_scipy : infos += '\n>>> import scipy as sp  # SciPy (signal and image processing library)' if __has_matplotlib : infos += "\n>>> import matplotlib as mpl         # Matplotlib (2D/3D plotting library)\n>>> import matplotlib.pyplot as plt  # Matplotlib's pyplot: MATLAB-like syntax\n>>> from pylab import *              # Matplotlib's pylab interface\n>>> ion()                            # Turned on Matplotlib's interactive mode" if __has_guiqwt : infos += "\n>>> import guidata  # GUI generation for easy dataset editing and display\n\n>>> import guiqwt                 # Efficient 2D data-plotting features\n>>> import guiqwt.pyplot as plt_  # guiqwt's pyplot: MATLAB-like syntax\n>>> plt_.ion()                    # Turned on guiqwt's interactive mode" if __imports : infos += '\n' infos += '\nWithin Spyder, this interpreter also provides:\n    * special commands (e.g. %ls, %cd, %pwd, %clear)\n      - %ls:      List files in the current directory\n      - %cd dir:  Change to directory dir\n      - %pwd:     Show current directory\n      - %clear x: Remove variable x from namespace\n' try : import __builtin__ as builtins except ImportError : import builtins try : from site import _Printer except ImportError : from _sitebuiltins import _Printer builtins . scientific = _Printer ( 'scientific' , infos )
set scientific in __builtin__ .