How to write Python in Visual Studio Code and run it in Terminal
Ғылым және технология
A quick tutorial on writing Python scripts in Visual Studio Code and running them in Terminal. If you want to become a genius at Python or VS Code or the command line, check my other videos! This one is just some very baby basics.
Find more stuff here: jonathansoma.com/course/found...
TIMELINE
0:55 Create a new file in VS Code
1:43 Writing our Python script
2:18 Saving our Python script
4:14 Installing the Python extension
5:00 Escaping from the extensions area
5:33 Syntax highlighting
6:36 Opening Terminal
7:12 Failing to run our Python script
7:52 Finding where our Python script is
8:15 Using ls and cd to navigate in Terminal
10:16 Navigating again, but quickly!
11:06 Shortcut keys in Terminal
12:03 Tab autocomplete
13:06 We're done!!!
Пікірлер: 6
u saved me fr, thanks
can you give me the link download of the terminal app? I can't find the same terminal that you are using.
@jsoma
Жыл бұрын
Just using the normal Terminal that comes with OS X! Customized the colors a little is the only change I've made. You can find it by going to Spotlight (the magnifying glass icon) and searching for Terminal. You can also go to Applications > Utilities > Terminal and find it there. Hope that helps!
its says "zsh: command not found: python" what can I do?
@hasty-prize9900
7 ай бұрын
having the same error you can run with or without debugging but running in the terminal produces this error ? seems like only a MacBook issue.
@cronus22345
7 ай бұрын
yea its seems like only a macbook issue@@hasty-prize9900