title: Microsoft Visual C++ Runtime Error in Python
body: <p>I have a python program that runs in a server continuously and it puts some data into MYSQL dataBase and load some. It is also using TCP/IP connection. the problem is that after  about 24 hrs it gives a runtime error:</p>
  
  <pre><code>Microsoft Visual C++ Runtime Library!
  
  Runtime Error!
  
  Program: C:\python27\pythonw.exe
  
  This application has requested the Runtime to terminate it in an unusual way.
  </code></pre>
  
  <p>And I hit OK python shell closes. And when I close all python files and check Windows Task Manager I see still there is  a pythonw.exe file open there!!!</p>
  
  <p>I am using IDLE to run my application.</p>