I tried using the sys.stdout method and it worked. It seems pretty simple but I dont understand the simple method you posted. Thanks for the help, I'll mess around with it and keep on learning.