<html>
  <head>
    <meta content="text/html; charset=ISO-8859-1"
      http-equiv="Content-Type">
  </head>
  <body bgcolor="#FFFFFF" text="#000000">
    On 3/21/2012 10:42 AM, Surya K wrote:
    <blockquote cite="mid:SNT130-W38D056347260F2898F25B0A4400@phx.gbl"
      type="cite">
      <style><!--
.hmmessage P
{
margin:0px;
padding:0px
}
body.hmmessage
{
font-size: 10pt;
font-family:Tahoma
}
--></style>
      <div dir="ltr">
        &gt;<br>
        <div>
          In that case, you need to change the file association of .py
          files to IDLE <br>
          Bodsda <br>
          <br>
          <br>
          <br>
          Yeah, I tried that. The worst part is we don't have any exe
          file specifically for IDLE. I mean windows has to choose
          whether to edit or compile.<br>
          <br>
          <br>
          In my case, the file associated with my .py files is
          python.exe (c:/python27/python.exe). I still don't understand
          why its not opening in IDLE. <br>
        </div>
      </div>
    </blockquote>
    Try right-clicking the file. You will should geta&nbsp; "context menu"<br>
    <br>
    Do you see Edit with IDLE? If so, choose that.<br>
    <br>
    Also take a look at the Advanced settings for the file type .py On
    my windows 2003 server in the Explorer I click Tools -&gt; Folder
    Options -&gt; File Types, select .py then click Advanced. Here I see<br>
    Edit with IDLE<br>
    I select that and click Edit and see<br>
    "D:\Python27\pythonw.exe" "D:\Python27\Lib\idlelib\idle.pyw" -e "%1"<br>
    in your case that should read<br>
    "C:\Python27\pythonw.exe" "C:\Python27\Lib\idlelib\idle.pyw" -e "%1"<br>
    If you don't have an Edit with IDLE entry, click New and add one.<br>
    If you want that to be the double-click behavior click Set Default.<br>
    <br>
    If your OS is different the route to the file associations may be
    different.<br>
    <br>
    <pre class="moz-signature" cols="72">-- 
Bob Gailer
919-636-4239
Chapel Hill NC</pre>
  </body>
</html>