<html xmlns:o="urn:schemas-microsoft-com:office:office" xmlns:w="urn:schemas-microsoft-com:office:word" xmlns="http://www.w3.org/TR/REC-html40">

<head>
<meta http-equiv=Content-Type content="text/html; charset=us-ascii">
<meta name=Generator content="Microsoft Word 11 (filtered medium)">
<style>
<!--
 /* Font Definitions */
 @font-face
        {font-family:Verdana;
        panose-1:2 11 6 4 3 5 4 4 2 4;}
 /* Style Definitions */
 p.MsoNormal, li.MsoNormal, div.MsoNormal
        {margin:0cm;
        margin-bottom:.0001pt;
        font-size:12.0pt;
        font-family:"Times New Roman";}
a:link, span.MsoHyperlink
        {color:blue;
        text-decoration:underline;}
a:visited, span.MsoHyperlinkFollowed
        {color:purple;
        text-decoration:underline;}
pre
        {margin:0cm;
        margin-bottom:.0001pt;
        font-size:10.0pt;
        font-family:"Courier New";}
span.EmailStyle18
        {mso-style-type:personal;
        font-family:Arial;
        color:windowtext;}
span.EmailStyle19
        {mso-style-type:personal-reply;
        font-family:Arial;
        color:navy;}
@page Section1
        {size:595.3pt 841.9pt;
        margin:70.85pt 70.85pt 70.85pt 70.85pt;}
div.Section1
        {page:Section1;}
-->
</style>

</head>

<body lang=TR link=blue vlink=purple>

<div class=Section1>

<p class=MsoNormal><font size=3 face="Times New Roman"><span style='font-size:
12.0pt'><o:p> </o:p></span></font></p>

<pre><font size=2 color=red face="Courier New"><span style='font-size:10.0pt;
color:red'>I wrote a python GUI with tkInter and installed it on a windows machine<o:p></o:p></span></font></pre><pre><font
size=2 color=red face="Courier New"><span style='font-size:10.0pt;color:red'>with the .pyw extension, so it will be executed from pythonw.exe instead<o:p></o:p></span></font></pre><pre><font
size=2 color=red face="Courier New"><span style='font-size:10.0pt;color:red'>of python.exe, since I didn't want the console window to appear.<o:p></o:p></span></font></pre><pre><font
size=2 color=red face="Courier New"><span style='font-size:10.0pt;color:red'>My application exits with a call to sys.exit. However, when this call is<o:p></o:p></span></font></pre><pre><font
size=2 color=red face="Courier New"><span style='font-size:10.0pt;color:red'>executed under pythonw.exe I get an error popup window with the<o:p></o:p></span></font></pre><pre><font
size=2 color=red face="Courier New"><span style='font-size:10.0pt;color:red'>following messeage:<o:p></o:p></span></font></pre><pre><font
size=2 color=red face="Courier New"><span style='font-size:10.0pt;color:red'><o:p> </o:p></span></font></pre><pre><font
size=2 color=red face="Courier New"><span style='font-size:10.0pt;color:red'>---- start quote ----<o:p></o:p></span></font></pre><pre><font
size=2 color=red face="Courier New"><span style='font-size:10.0pt;color:red'>Microsoft Visual C++ Runtime Library<o:p></o:p></span></font></pre><pre><font
size=2 color=red face="Courier New"><span style='font-size:10.0pt;color:red'>Runtime Error!<o:p></o:p></span></font></pre><pre><font
size=2 color=red face="Courier New"><span style='font-size:10.0pt;color:red'>Program: C:\Python24\pythonw.exe<o:p></o:p></span></font></pre><pre><font
size=2 color=red face="Courier New"><span style='font-size:10.0pt;color:red'><o:p> </o:p></span></font></pre><pre><font
size=2 color=red face="Courier New"><span style='font-size:10.0pt;color:red'>This application has requested the Runtime to terminate in an unusual way.<o:p></o:p></span></font></pre><pre><font
size=2 color=red face="Courier New"><span style='font-size:10.0pt;color:red'>Please contact the application support team for more information<o:p></o:p></span></font></pre><pre><font
size=2 color=red face="Courier New"><span style='font-size:10.0pt;color:red'>---- end quote ----<o:p></o:p></span></font></pre>

<p class=MsoNormal><font size=2 face=Arial><span style='font-size:10.0pt;
font-family:Arial'><o:p> </o:p></span></font></p>

<p class=MsoNormal><font size=2 face=Arial><span style='font-size:10.0pt;
font-family:Arial'><o:p> </o:p></span></font></p>

<p class=MsoNormal><font size=2 face=Arial><span style='font-size:10.0pt;
font-family:Arial'>Did you find a solution for this problem?<o:p></o:p></span></font></p>

<p class=MsoNormal><font size=2 face=Arial><span style='font-size:10.0pt;
font-family:Arial'><o:p> </o:p></span></font></p>

<p class=MsoNormal><font size=2 face=Arial><span style='font-size:10.0pt;
font-family:Arial'>Best Regards,<o:p></o:p></span></font></p>

<p class=MsoNormal><font size=2 face=Arial><span style='font-size:10.0pt;
font-family:Arial'><o:p> </o:p></span></font></p>

<p class=MsoNormal><font size=2 color=blue face=Verdana><span style='font-size:
10.0pt;font-family:Verdana;color:blue'>Omer Korkmaz</span></font><o:p></o:p></p>

<p class=MsoNormal><font size=2 color=blue face=Verdana><span style='font-size:
10.0pt;font-family:Verdana;color:blue'>Ext: 3138</span></font><o:p></o:p></p>

<p class=MsoNormal><font size=3 face="Times New Roman"><span style='font-size:
12.0pt'><o:p> </o:p></span></font></p>

</div>

<p></p><p>Dikkat:<br>Bu elektronik posta mesaji kisisel ve ozeldir. Eger size gonderilmediyse lutfen gondericiyi bilgilendirip mesaji siliniz.Firmamiza gelen ve giden mesajlar virus taramasindan gecirilmekte, guvenlik nedeni ile kontrol edilerek saklanmaktadir.Mesajdaki gorusler  gondericiye ait olup HAVELSAN A.S. resmi gorusu olmak zorunda degildir.<p></p><p>Attention:<br>This e-mail message is private and privileged.If you are not the recipient for whom this e-mail message is intended, please notify the sender immediately and delete this e-mail message from your system.All sent and received e-mail messages go through a virus scan in our company, and because of security reasons, they are stored after being controlled.Any opinions presented in this e-mail message are solely those of the author and do not necessarily represent HAVELSAN A.S.'s formal and authorized views.</body>

</html>