title: How to execute .py file through python shell..?
body: <p>I am using IDLE GUI
  I created a file called <em>doss.py</em> and it is saved in C:\python34</p>
  
  <p>now on IDLE (GUI)</p>
  
  <p>i want that doss.py to open without any RUN command. 
  in python27 i used </p>
  
  <pre><code>&gt;&gt;&gt; import doss.py 
  </code></pre>
  
  <p>it worked very fine </p>
  
  <p>bt idk why its showing some LOC in red color.</p>
  
  <p>its :</p>
  
  <pre><code>Traceback (most recent call last):
    File "&lt;frozen importlib._bootstrap&gt;", line 2218, in _find_and_load_unlocked
  AttributeError: 'module' object has no attribute '__path__'
  
  During handling of the above exception, another exception occurred:
  
  Traceback (most recent call last):
    File "&lt;pyshell#10&gt;", line 1, in &lt;module&gt;
      import doss.py
  ImportError: No module named 'doss.py'; 'doss' is not a package
  </code></pre>