title: In VS Code, can one run Python code in an integrated Python terminal like in Spyder?
body: <p>Currently, in Visual Studio Code (under Windows 10 64bits), at a Python file called <code>path\myfile.py</code>, if one clicks with mouse right-button for context menu and then chooses 'Run Python File in Terminal', an integrated CMD terminal is open and file is automatically run there with:</p>
  
  <pre><code>python.exe path\myfile.py
  </code></pre>
  
  <p>After the file stops running, one is naturally left at the integrated CMD cursor.</p>
  
  <p>This behavior is quite different, for instance, from what one has with an IDE like Spyder. There, when you run code (e.g. with <code>F5</code>), at the end one is left still at the Python cursor and can access content of variables created when code was run.</p>
  
  <p>Is there a way to achieve a similar behavior in Visual Studio Code?</p>