On 12/30/12 8:07 AM, Carey Gagnon wrote: > so that it doesn't throw the error to the user when the app is closed (app > being a py2exe generated exe.)
Get around extraneous messages to the end user in py2exe apps by redirecting sys.stderr and sys.stdout, I'd suggest to files in the user's appdata directory. But you don't want exceptions at runtime to just be ignored. When an exception happens you should exit immediately after notifying the user in as friendly a way as possible, and notifying yourself somehow too. See my pmerror project on github for the beginnings of a solution to this. Paul _______________________________________________ Post Messages to: [email protected] Subscription Maintenance: http://mail.leafe.com/mailman/listinfo/dabo-users Searchable Archives: http://leafe.com/archives/search/dabo-users This message: http://leafe.com/archives/byMID/[email protected]
