title: Python IDLE not displaying code when used with command line
body: <p>I have installed Python directly on a flash drive and my references within my modules all use the full path (on the flash drive) to operate. My IDLE window is not displaying the execution of my code.</p>
  
  <p>I have a Python Script named: test.py which contains the following code:</p>
  
  <pre><code> print('Hello')
  
   from win32com.client import Dispatch
  
   xl = Dispatch("Excel.Application")
   xl.Visible = True # otherwise excel is hidden
  </code></pre>
  
  <p>If I run the script from the Editor using: Run -> Run Module, the Excel Workbook opens successfully and the Python IDLE will display the following:</p>
  
  <pre><code>====================== RESTART: D:\MICK\Scripts\test.py ======================
  Hello
  &gt;&gt;&gt; 
  </code></pre>
  
  <p>Test 2: Now, If I use Windows+R and run: D:\MICK\Scripts\test.py, the Excel Workbook opens successfully but the IDLE does not even open.</p>
  
  <p>Test 3: I manually open the IDLE (located at: D:\MICK\Anaconda\Lib\idlelib\idle.pyw) and I use Windows+R to run:D:\MICK\Scripts\test.py. The Excel workbook opens, but the IDLE stays blank:</p>
  
  <pre><code>Python 3.5.2 |Anaconda 4.2.0 (32-bit)| (default, Jul  5 2016, 11:45:57) [MSC v.1900 32 bit (Intel)] on win32
  Type "copyright", "credits" or "license()" for more information.
  &gt;&gt;&gt; 
  </code></pre>
  
  <p>What could be causing interference between Windows+R called scripts and Run-> Run module called scripts?</p>