I\'m using visual studio code with DonJayamanne python extension. It\'s working fine but I want to have an interactive session just like the one in Matlab, where after code exec
I added the following lines into user setting file, then it works. Select some lines of python code, then right-click and select Run selected code in python terminal
Solution 1: Will start iPython terminal
"terminal.integrated.shell.windows": "C:\\Windows\\System32\\cmd.exe",
"terminal.integrated.shellArgs.windows": ["/K ipython"],
Solution 2: Will start a terminal like "python -i"
"python.terminal.launchArgs": ["-i"],