How to capture a command prompt window close event in python
<p>I want to capture command window close event from Pythom. This means when user tries to close the command prompt window, script should detect that event and display a meaage like "do you really want to exit -Yes/No".</p>

<p>Any suggestions about how to implement this....Please help me in doing this..</p>

<p>Thanks,
Harika</p>
