home *** CD-ROM | disk | FTP | other *** search
- # Source Generated with Decompyle++
- # File: in.pyc (Python 2.4)
-
- import win32trace
-
- def RunAsCollector():
- import sys
-
- try:
- import win32api
- win32api.SetConsoleTitle('Python Trace Collector')
- except:
- pass
-
- win32trace.InitRead()
- print 'Collecting Python Trace Output...'
- while None:
- pass
-
-
- def SetupForPrint():
- win32trace.InitWrite()
-
- try:
- print 'Redirecting output to win32trace remote collector'
- except:
- pass
-
- win32trace.setprint()
-
- if __name__ == '__main__':
- RunAsCollector()
- else:
- SetupForPrint()
-