How do I edit Python code in terminal?

How do I edit Python code in terminal?
Answer
Open the Python Editing Terminal from the Command Menu (Ctrl+P >Open Python Editing Terminal ). A terminal will open, where you can run arbitrary Python code and use the vscode module. On Python 2, this returns an unicode object; on Python 3, a str object is returned.
 

Tìm kiếm

Back
Top