Hi,<br><br>I am working on a Tkinter GUI that will display software package's install status. I work for a company that wants to control how software is installed and where. Anyway, the package installer I am working with currently prints to a console window for each software package installed. So, if we have 4 packages, it would open 4 windows in sequence. I want it to just print what it is doing in a Tkinter GUI instead of opening windows, but I cannot figure out how to redirect the print streams in the custom package installer. 
<br><br>Here is the main module I am trying to redirect data from:<br><br>def InstallPack(PackageName):<br>    """ Installs a software package """<br>    iniFile = '\\\\%s\\client$\\Packages\\%s\\package.ini' % (serverName, PackageName)
<br>    print iniFile<br>    config = section2Dict(iniFile)<br>    reg = ConnectRegistry(None, HKEY_LOCAL_MACHINE)<br>    regpath = r"SOFTWARE\MCIS"<br>    key = OpenKey(reg, regpath, 0, KEY_ALL_ACCESS)<br>    iniSerial = config['SerialNumber']
<br>    try:        <br>        q = QueryValueEx(key, PackageName)<br>        RegSerial = q[0]<br>        #print "Package: %s found in Registry!" % PackageName<br>        if RegSerial == iniSerial:<br>            print "Package already installed. Installation aborted!"
<br>            sys.exit(0)<br>    except WindowsError:<br>        # Package not installed<br>        pass<br><br>    print 'Installing package: %s' % PackageName<br>    print 'Description: %s' % config['Description']<br>
    zipPart(PackageName, config['ZipFile'])<br>    regPart(PackageName, config['RegFile'], config['RegType'])<br>    SetValueEx(key, PackageName, 0, REG_EXPAND_SZ, iniSerial)<br>    CloseKey(key)<br><br>Thanks a lot!<br><br>
Mike<br>