title: How to execute line by line python commands from Linux Terminal?
body: <p>I searched over the website, but I couldn't exactly find the answer to my question.</p>
  
  <p>I'm using Ubuntu 18.04.1 LTS.</p>
  
  <p>e.g. in my python script (FileName.py):</p>
  
  <pre><code>#!/usr/bin/env python
  a = 1
  b = 2
  </code></pre>
  
  <p>Now, I want to execute it line by line (MATLAB-like) from Terminal. For example when I press <code>a + b</code>, it should return the value <code>3</code>.</p>