home *** CD-ROM | disk | FTP | other *** search
- # Source Generated with Decompyle++
- # File: in.pyc (Python 2.6)
-
- import glob
- import sys
- success = False
- in_ironpython = 'IronPython' in sys.version
- if in_ironpython:
-
- try:
- from ironpython_console import *
- success = True
- except ImportError:
- raise
- except:
- None<EXCEPTION MATCH>ImportError
-
-
- None<EXCEPTION MATCH>ImportError
-
- try:
- from console import *
- success = True
- except ImportError:
- pass
-
- if not success:
- raise ImportError('Could not find a console implementation for your platform')
- success
-