Query regarding sys.stdout.write

2015-06-07 Thread Sreenath Nair
Hi, I have a general query about the following snippet: import os Import sys for each_dir in os.listdir("/home/tmpuser"): full_path = os.path.join("/home/tmpuser", each_dir) sys.stdout.write("\r%s" % full_path) sys.stdout.flush() The snippet is a simplified example of me trying to pr

Cx_freeze centOS module import error

2015-05-22 Thread Sreenath Nair
I'm trying to build a script into a binary using cx_freeze. Problem is that once the binary is built then it starts throwing ImportErrorInvoking the source via shell works fine. Can someone clarify why this behavior when freezing the source? Thank you. Sent from my Windows Phone-- https:/