Тёмный

Learn Python 3: Visual Studio Code for Beginners 

Airheads Broadcasting
Подписаться 33 тыс.
Просмотров 136 тыс.
50% 1

Visual Studio Code is the most popular code editor around today and is great for writing Python. In this video we cover install and how to set VSCode up for Python development including linting, formatting, virtual environments and workspaces.
Timestamps:
00:00 Intro
00:55 Visual Studio Code Install
05:25 First Setup - Settings
06:35 Change Colour Theme
07:11 Activity bar walk-through
08:28 Extensions including Python extension
10:05 File Explorer
11:30 Pop-ups!
12:00 Select Python interpreter and virtual environments
13:15 VSCode Terminal
14:55 Linting and Python linter pep8 install
15:50 Hello world example
17:25 Problems, linting and formatting with black
21:10 Split editor
22:05 Command palette and Settings
23:30 Workspaces
28:21 Virtualenvwrapper and VSCode
30:16 Closing Words
Free Python book:
automatetheboringstuff.com/
#python #coding #windows

Наука

Опубликовано:

 

30 июл 2024

Поделиться:

Ссылка:

Скачать:

Готовим ссылку...

Добавить в:

Мой плейлист
Посмотреть позже
Комментарии : 101   
@CalmlyExplained
@CalmlyExplained 4 года назад
Without a doubt the best video I came across in this topic. Congratulations. Clear and approachable, without overwhelming the viewer.
@NareshDaDude
@NareshDaDude 4 года назад
Really helpful video, very simple to follow and you really hit the nail on the head with the whole information flow. Nice to know I wasn't the only one.
@xX1ruthless4Xx
@xX1ruthless4Xx 3 года назад
I just got into coding after years of wanting to start. if i didn't have the drive to really want to learn this, i guarantee i would've quit. The last two weeks Ive spent having error after error, of course making mistakes at my own fault. This series of videos were so helpful and explanatory. thank you so much man.
@Pluneto
@Pluneto 4 года назад
Very new to this, thank god this video is a thing, other ways I would have gotten nowhere. Great video!
@TheNik7000
@TheNik7000 2 года назад
Best tutorial for VS code beginners I've seen on here! thank you!
@concrete182
@concrete182 4 года назад
This video is so valuable. Thank you so much. I would love it if you added more videos on using Python in VS Code. It is quite a complex bit of software to get used too without any experience! Thanks again :-)
@null_zero
@null_zero 4 года назад
Thanks, glad you found it useful. I've been thinking of adding some more content to expand on this. I need to do the research first though.
@getrekt2526
@getrekt2526 3 года назад
very helpful, i already knew the basics of python but not how to use it on VIsual Studio Code, thanks :)
@HakimZainalAbidin
@HakimZainalAbidin 4 года назад
very clear among all the video i saw about using python on VS. Thank you.
@bruno8000
@bruno8000 4 года назад
Great job on the tutorial. Outstanding video. Thank you very much!
@neodasus
@neodasus Год назад
thank you so much, this was my first coding video and it was so exciting making my first project with you
@evanfisher214
@evanfisher214 4 года назад
Great video Joe!
@ayoadeoriola34
@ayoadeoriola34 3 года назад
Thank you for this. I could not find pep8 in my extension so I settled for pylint. I was still able to follow from there.
@drelt
@drelt 4 года назад
Very helpful. Much appreciated!
@markflood6409
@markflood6409 4 года назад
Extremely helpful. This video is clear, concise and tells me exactly what I need to know to get myself set up to use VS Code for writing Python. Like other comments, I too would have lost my mind. Thank you!
@christopherpinto8804
@christopherpinto8804 3 года назад
Please make more Python videos. These are awesome!!
@grahammccann8554
@grahammccann8554 Год назад
Hi Joe, Thank you for making this video
@jeffmiller9742
@jeffmiller9742 3 года назад
Thank you very much...You can't believe how much this helped.
@shoodini5167
@shoodini5167 4 года назад
Thank a lot very good video and explained very well. Cheers
@jacobjensen5745
@jacobjensen5745 2 года назад
Great video, thank you so much!
@barunautamakarya6110
@barunautamakarya6110 4 года назад
Thank you, helpfull tutorial
@keerthimadhav9495
@keerthimadhav9495 Год назад
really very helpful video, thank you!
@SixtenandHugo
@SixtenandHugo Год назад
Perfect guide, thanks for this! Still works in 2023, looks a little different but it's almost the same!
@nguyentrongtrinh1678
@nguyentrongtrinh1678 4 года назад
Thank for your sharing, and How can i see the error code like you in 19:13s, did you install extension? underline yellowand red color, thanks
@Nina-wp4kv
@Nina-wp4kv 10 месяцев назад
There are different kinds of learners, I'm on the slowers side ;) however, ur video is easy to follow...thanks!!!
@thomasmeier3770
@thomasmeier3770 2 года назад
Great video, thanks!!
@spyrostsatsis2985
@spyrostsatsis2985 3 года назад
Should I install anaconda in a ve and then code in vs code or pip install individually the 5 packages from anaconda I use in a separate python ve and then code in vs code?
@jihedmedini1318
@jihedmedini1318 4 года назад
Thank you, finaly a well comprehended tutorial for God sake! I almost lost my mind before finding this video
@AndersKeisHansen
@AndersKeisHansen 4 года назад
Great series, thank you. :)
@antoxaa1280
@antoxaa1280 4 года назад
cool tutorial!
@flashdrive9007
@flashdrive9007 3 года назад
The video is pretty straightforward, but I was wondering how I would be able to install pep8, since it isn't appearing in vsCode.
@diaconescutiberiu7535
@diaconescutiberiu7535 3 года назад
Installed VSC, configured the interpreter to the version of python i installed, created a folder and opened a test.py file ... when i try to create the venv using python -m venv tests i get error 'the term python is not recognized as....' .... which seems like it doesn't detect python...but the thing is i do have on the bottom bar python version to the left and python selected language mode (to the right). Any idea?
@veganath
@veganath 4 года назад
Still appreciated, thanks mate
@Motivationalshorts13
@Motivationalshorts13 3 года назад
Please Make More Python Videos They Are great!
@zarkb4496
@zarkb4496 2 года назад
Perfect thanks so much
@sinclairschiller8992
@sinclairschiller8992 4 года назад
so whenever i try to run code or create a venv, i get this message? The term 'python' is not recognized as the name of a cmdlet, function, script file, or operable program. Check the spelling of the name, or if a path was included, verify that the path is correct and try again. At line:1 char:3 ???
@ericgeorgemons868
@ericgeorgemons868 3 года назад
very helpful :)
@soulboken4670
@soulboken4670 3 года назад
How do you have colors on different funcitons such as python? , my writing is all black
@pablomannherz2423
@pablomannherz2423 4 года назад
When I create a new terminal there is nothing in there and I don't know what I did wrong. Could someone help me ?
@gm1837
@gm1837 2 года назад
For some reason when i try to create the virtual environment i get the below: python : The term 'python' is not recognized as the name of a cmdlet, function, script file, or operable program. Check the spelling of the name, or if a path was included, verify that the path is correct and try again. At line:1 char:1 + python -m venv helloworld have I done something wrong?
@yuobuten
@yuobuten 4 года назад
You lost me at "Open up Edge"
@null_zero
@null_zero 4 года назад
👍 Video is aimed at just getting the environment setup in the most direct way possible. Installing firefox just for a browser is a bit of a time waster. Personally, I barely use Windows.
@Tomifella
@Tomifella 3 года назад
😂😂😂
@NETTY283
@NETTY283 Год назад
Sooo funny...same here
@ZealVD
@ZealVD Год назад
Whilst i agree - as time goes on, im starting to consider using it over chrome - although FF is still my preferred browser
@KINGABDUL99
@KINGABDUL99 Год назад
Great video
@shervm.6597
@shervm.6597 Год назад
im at the VSCode terminal part when i write python -m venv hello world and it says python not found; run without arguments to install from the Microsoft store, or disable th is shortcut from settings > manage app execution aliases.
@biswajeet9826
@biswajeet9826 3 года назад
Amazing
@ashwin579
@ashwin579 3 года назад
pep8 is now pycodestyle. code.visualstudio.com/docs/python/linting
@lp4969
@lp4969 5 лет назад
I just started programming and this video was the only one I found that explained everything thoroughly, so thank you so much!! Just one question, the problems notification doesn't appear to me until I manually run the program inside the venv, how do you set it up so it happens automatically?
@null_zero
@null_zero 5 лет назад
The notifications in VSCode are automatic, in my install the pop-ups would appear after a few seconds in whichever environment I was running. Remember that the notifications are env/interpreter specific, so if you change your interpreter, by switching your venv, then there are new notifications about linting etc. which will appear after some time or if you run the code. Not sure why you would only see them after you run code though.
@lp4969
@lp4969 5 лет назад
@@null_zero i was able to figure it out!! Thanks again😄
@maindepth8830
@maindepth8830 3 года назад
is there something to visualise syntax errors as those go unnoticed
@weam9999
@weam9999 4 года назад
I like this video because I can pretend that Russell Brand is teaching me this stuff and it's kinda cool
@deepak0417
@deepak0417 2 года назад
why we need to create virtual environment, how it helps ?
@christalnike9556
@christalnike9556 3 года назад
I got stuck on the venv its saying python was not found.
@locant23
@locant23 2 года назад
For anyone stuck on "python -m venv helloworld" use "py -m venv helloworld" I'm not sure why but "python" wont launch for me unless I use "py"
@kingbagni6438
@kingbagni6438 Год назад
bruh TYSM
@bulitoni
@bulitoni Год назад
hope you become rich and famous
@FtoisMp
@FtoisMp 4 года назад
nice
@themilesroarkexperiment1662
Thanks for this, made the program less alien.
@mewhenbonk35
@mewhenbonk35 3 года назад
When i try to do python -m venv helloworld it says Python was not found; run without arguments to install from the Microsoft Store, or disable this shortcut from Settings > Manage App Execution Aliases. what can i do?
@null_zero
@null_zero 3 года назад
Looks like you do not have python installed. Head over to python.org & get it from the Downloads section.
@fero___3005
@fero___3005 2 года назад
anybody help me I need to install python3 in my vscode in Mac But I cannot able to ..please help me regarding this issue
@charlottefx7163
@charlottefx7163 2 года назад
Hi, I am facing an error with vs code. The python version is not showing up in the bottom left area. and also the kernel is not able to connect with python. Sometimes it also says that the python extension is not installed kindly install it. I already have python 3.8 but still, it shows this error. I also have given the path location correctly but still, these errors are coming please help me🙏🙏😭
@melkerliljesvan6504
@melkerliljesvan6504 4 года назад
Mine isn’t downloading black
@aidanjeanes7199
@aidanjeanes7199 4 года назад
i didnt get a pop up regarding a linter and cant find pep8 in the marketplace help. nor do i get the run command when i right click, i get Copy Paste Cut and 2 others.
@tellurium96
@tellurium96 4 года назад
it's renamed to pycodestyle
@aidanjeanes7199
@aidanjeanes7199 4 года назад
@@tellurium96 thank you very much, i havent touched it recently because i couldnnt get it working
@hyacinth124
@hyacinth124 4 года назад
thx for the vide, it is very useful as this is the first time i am doing coding however i am not able to create a virtual environment with the command mkvirtualenv. Please note that I have folllowed all your instructions step-by-step yet my computer is saying that the "CommandNotFound"
@null_zero
@null_zero 4 года назад
You don't need to use that command if you are setting up virtual envs. That is just one way of managing virtual environments. You can create them with (macOS) python3 -m venv myvenv or (wins) python -m venv myvenv In both cases here the venv will be called myvenv Here's the official doc docs.python.org/3/library/venv.html
@SomeLad12
@SomeLad12 2 года назад
@@null_zero hi, when I use python -m venv it says python was not found. What am I doing wrong?
@null_zero
@null_zero 2 года назад
@@SomeLad12 Try 'python3 -m venv'
@locant23
@locant23 2 года назад
If you dont get the linter message "ctrl+shift+p" python select linter and I just picked flake8.
@enesakan8641
@enesakan8641 4 года назад
i don't have the pep8 someone can help me ?
@null_zero
@null_zero 4 года назад
Just check on my macOS version of VSCode and, yes, pep8 is not available. Not sure if that has been removed or not. You can just use 'pylint' instead. If you really need pep8, you can install it with 'pip install pep8'.
@pakhearyan
@pakhearyan 4 года назад
I want u to make a video by which I can learn whole Python by using vs code . ... As I am a beginner. Please🙏🙏🙏🙏🙏🙏🙏🙏🙏 please make it ... It is my challenge to u ....If u will make in 4-5days if will give u more 15 subscribers... And it would also be nice for me to learn Python more efficiently and I know that u will also fell good that I have teached a child . . Please make it....🙏🙏,
@null_zero
@null_zero 4 года назад
Thanks for the comment. Sorry, I don't plan to make a full series on Python at the moment, there are many tutorials on youtube already, made by people that are much better coders than me. Search for 'Corey Schafer' if you want a good youtube Python tutorial.
@pakhearyan
@pakhearyan 3 года назад
But I want a tutorial in which with the help of VS code I can learn python...
@null_zero
@null_zero 3 года назад
@@pakhearyan Ok, but the thing is that VSCode is just the editor, it doesn't actually help you learn Python. Think about Microsoft Word. Does that write your history essays for you? Of course not. VSCode is the same, it is just a platform, you still need to be able to write the code. Sorry if this is disappointing to you.
@null_zero
@null_zero 5 лет назад
AKA how to deal with VSCode pop-ups.
@mphemeselelo9026
@mphemeselelo9026 4 года назад
Trrue
@AlThePal78
@AlThePal78 4 года назад
I have to many issues this is not helping at all.
@litongj6227
@litongj6227 4 года назад
clear clips tags.explicit illustation. Subscribe you!
@Yuuto22
@Yuuto22 3 года назад
19:20
@chdhc9922
@chdhc9922 3 года назад
why do you love creating virtual environments?? why not work on what is there..
@SomeLad12
@SomeLad12 2 года назад
.
@mphemeselelo9026
@mphemeselelo9026 4 года назад
Hell no...
@goldenset6768
@goldenset6768 4 года назад
what
@connorfox5439
@connorfox5439 3 года назад
I immediately stopped watching when he started using edge. I am not about to learn from someone who doesn't know how to install chrome.
@philbowles3240
@philbowles3240 3 года назад
7 minutes in, not one word re python. bye bye
@chdhc9922
@chdhc9922 3 года назад
why do you love creating virtual environments?? why not work on what is there..
Далее
Это конец... Ютуб закрывают?
01:09
Learn Visual Studio Code - Course for Beginners
43:15
Просмотров 266 тыс.
Getting Started with Python in Visual Studio Code
32:48
Python Tutorial for Beginners with VS Code 🐍
13:56
Просмотров 217 тыс.
How to Set up VS Code for Data Science & AI
22:53
Просмотров 290 тыс.
Python for Beginners - Learn Python in 1 Hour
1:00:06
Просмотров 17 млн
iPhone socket cleaning #Fixit
0:30
Просмотров 17 млн
iPhone 16 - 20+ КРУТЫХ ИЗМЕНЕНИЙ
5:20