home *** CD-ROM | disk | FTP | other *** search
/ Maximum CD 2010 November / maximum-cd-2010-11.iso / DiscContents / calibre-0.7.13.msi / file_2332 (.txt) < prev    next >
Encoding:
Python Compiled Bytecode  |  2010-08-06  |  549 b   |  30 lines

  1. # Source Generated with Decompyle++
  2. # File: in.pyc (Python 2.6)
  3.  
  4. import glob
  5. import sys
  6. success = False
  7. in_ironpython = 'IronPython' in sys.version
  8. if in_ironpython:
  9.     
  10.     try:
  11.         from ironpython_console import *
  12.         success = True
  13.     except ImportError:
  14.         raise 
  15.     except:
  16.         None<EXCEPTION MATCH>ImportError
  17.     
  18.  
  19. None<EXCEPTION MATCH>ImportError
  20.  
  21. try:
  22.     from console import *
  23.     success = True
  24. except ImportError:
  25.     pass
  26.  
  27. if not success:
  28.     raise ImportError('Could not find a console implementation for your platform')
  29. success
  30.