Re: what does 0 mean in MyApp(0)
- From: "Alex" <lidenalex@xxxxxxxx>
- Date: 30 Sep 2005 10:44:00 -0700
Thanks for the replies. It seems that I have three options
1. app=MyApp()
2. app=MyApp(0)
3. app=MyApp('myfile.txt')
1. In the first case the output stream will be set to stdout/stderr,
which means that errors will be sent to a window which will be closed
when the app crashes.
2. In the second case the output will be set to the command prompt
window, which means that I will be able to catch the errors when my app
crashes.
3. There is also a third alternative which is to set the output to a
file.
Alterbnative 2 is simple and useful, so that's why everybody use that
alternative.
Is that correct?
Alex
.
- References:
- Re: what does 0 mean in MyApp(0)
- From: vincent wehren
- Re: what does 0 mean in MyApp(0)
- Prev by Date: 2.4.2 compilation
- Next by Date: Duplicating Modules
- Previous by thread: Re: what does 0 mean in MyApp(0)
- Next by thread: where to post python code?
- Index(es):