title: IDLE subprocess startup error
body: <p>I have the code below in a file called <code>code.py</code>.  I am using <code>IDLE</code> to edit the file.  When I click <code>Run&gt;Run Module</code> I get the error: </p>
  
  <blockquote>
    <p>"IDLE's subprocess didn't make connection. Either IDLE can't start a
    subprocess of personal firewall software is blocking the connection."</p>
  </blockquote>
  
  <p>I am using Windows 7 Ultimate 64bit, but I have the 32bit version of Python 2.7 installed.</p>
  
  <p>I have looked for a solution on this site as well as others but all of them seem to recommend deleting something called <code>tkinter.py</code> (I have no idea what this is) or to turn off my firewalls (I have none enabled aside from <code>Microsoft Security Essentials</code> which isn't a firewall.)</p>
  
  <pre><code>#Globals
  #-------------------
  
  x_pad = 476
  y_pad = 444
  
  import ImageGrab
  import os
  import time
  import win32api, win32con
  
  def screenGrab():
      box = (x_pad+1,y_pad+1,x_pad+641,y_pad+480)
      im = ImageGrab.grab(box)
      im.save(os.getcwd() + '\\full_snap__' + str(int(time.time())) +
  '.png', 'PNG')
  
  def main():
      pass
  
  if __name__ == '__main__':
      main()
  
  def leftClick():
      win32api.mouse_event(win32con.MOUSEEVENTF_LEFTDOWN,0,0)
      time.sleep(.1)
      win32api.mouse_event(win32con.MOUSEEVENTF_LEFTUP,0,0)
      print 'Click.'          #completely optional. But nice for debugging purposes.
  
  def leftDown():
      win32api.mouse_event(win32con.MOUSEEVENTF_LEFTDOWN,0,0)
      time.sleep(.1)
      print 'left Down'
  
  def leftUp():
      win32api.mouse_event(win32con.MOUSEEVENTF_LEFTUP,0,0)
      time.sleep(.1)
      print 'left release'
  
  def mousePos(cord):
      win32api.SetCursorPos((x_pad + cord[0], y_pad + cord[1])
  
  def get_cords():
      x,y = win32api.GetCursorPos()
      x = x - x_pad
      y = y - y_pad
      print x,y
  </code></pre>