title: How to open a python file in idle editor by double clicking on the file (windows 10)
body: <p>Anaconda 5.2 (python 3.6) was installed in windows 10 for a single user.</p>
  
  <p>How to open, in the idle editor (<strong>mandatory</strong>) , a python file by simply double clicking on it?</p>
  
  <p>Trying to associate .py to idle by doing right click > property > ...idle.exe fails to open the file directly in the idle editor.</p>
  
  <p>Up to now to open a py file with the idle editor it is necessary to do:</p>
  
  <ol>
  <li>open <em>anaconda promp</em> from menu (a virtual env (base) is opened)</li>
  <li>type idle from (base) environment</li>
  <li>from idle menu open the file.py</li>
  </ol>