def system():
 try:
  import platform
  print 'System : ', platform.system()
  print 'OS version : ', platform.version()
  print 'Python version :', platform.python_version()
  try:
   from cv2 import __version__
   print ('Open CV version : ' + __version__)
  except ImportError:
   print ('Open CV2 version : ' + '2.1')
  if PIL_ENABLED:
   print 'PIL version : ', pil.VERSION
  else:
   print 'PIL module not installed'
  if ORANGE_ENABLED:
   print ('Orange Version : ' + orange.version)
  else:
   print 'Orange module not installed'
  try:
   import pygame as pg
   print ('PyGame Version : ' + pg.__version__)
  except ImportError:
   print 'PyGame module not installed'
  try:
   import pickle
   print ('Pickle Version : ' + pickle.__version__)
  except:
   print 'Pickle module not installed'
 except ImportError:
  print 'You need to install Platform to use this function'
  print 'to install you can use:'
  print 'easy_install platform'
 return

def system ( ) : try : import platform print 'System : ' , platform . system ( ) print 'OS version : ' , platform . version ( ) print 'Python version :' , platform . python_version ( ) try : from cv2 import __version__ print ( 'Open CV version : ' + __version__ ) except ImportError : print ( 'Open CV2 version : ' + '2.1' ) if PIL_ENABLED : print 'PIL version : ' , pil . VERSION else : print 'PIL module not installed' if ORANGE_ENABLED : print ( 'Orange Version : ' + orange . version ) else : print 'Orange module not installed' try : import pygame as pg print ( 'PyGame Version : ' + pg . __version__ ) except ImportError : print 'PyGame module not installed' try : import pickle print ( 'Pickle Version : ' + pickle . __version__ ) except : print 'Pickle module not installed' except ImportError : print 'You need to install Platform to use this function' print 'to install you can use:' print 'easy_install platform' return
returns the system/os name .