Python in VS Code: Can I run cell in the integrated terminal?
问题 In VS Code with Python, we can run a "cell" (block that starts with #%% ) in the "Python Interactive Window" Can we do the same thing on the Integrated Terminal ? I know we can do this in Spyder , where the terminal is generally always an IPython terminal Matlab works in the same way with its terminal. Can we do this in VS Code? 回答1: I've opened a issue in GitHub, but it seems they don't have intention to do this. I'm putting a workaround, for other users: 1. Have "Select By" extension: https