I am well aware of the thread [How to execute Python code from within Visual Studio Code](https://stackoverflow.com/questions/29987840/how-to-execute-python-code-from-within-visual-studio-code)

But none of them shows how to get the >>> python shell running with the file imported. Cuz I would like to call functions separately.
I understand that I can get the python shell going by simply typling `python` in the terminal but the functions in the python file have to manually imported everytime.

Is there a way to run files in VSCode like in IDLE?