00:06Python is a programming language so you can make computer programs and computer programs
00:12are just text files computer codes so like any anything you want to do you have to use
00:18the right tools for the job if you're a dentist you have to use dentist tools if you're an
00:22electronic you have to use electronic tools if you're a mechanic you have to use car tools
00:27because it just makes the job a lot easier right like if you don't have the tools for the job
00:31then
00:32it's become very tedious and hard to do it so if you want to make Python programs of course you
00:39need
00:39Python you can download Python from python.org likely that Python is already installed in your
00:46computer so if you open a terminal and if you use Mac or Linux and you type Python or Python
00:553 it can
00:57be that you have output like this which means Python is already installed now you can exit this by
01:02typing quit or quit with the symbols and with the brackets but it will start Python if it's installed
01:10so if you get output like this Python not found that's the only output you get regardless of whether
01:16you type Python or Python 3 that means it's not installed so you would have to go to Python.org
01:22and download it so if if you get output like this then Python is installed if not you need to
01:32install
01:32it so on Python.org you can download Python if you go to download you'll see Windows and Mac version
01:38there's no Linux version here because Linux already has Python installed so for example if we click Windows
01:44we can download the installer for our system if you use any modern Windows you have to use the 64
01:51bit
01:51version you can click on it and download you'll see that downloads the accent if you use Mac you can
01:57also download it so you have the Mac installer you can install it in the same way then you can
02:05run Python
02:06after installing it so for example you need some you need to make a file with Python code or you
02:13can run
02:13the Python code directly from this oh so if you if you have this output you can say for example
02:19print
02:21hello world or print
02:28so that just outputs anything you write or you could write some mods in here
02:37you'll see it does that as well
02:40so you could write code like this in this interactive shell it's what it's called
02:46of course you don't want to write everything line by line that would be very inconvenient
02:51so what you can do instead is quit this and open any text editor to write your code
03:01so what we do instead is write our code in a file called a .py file a Python file and
03:08then you can
03:08save it so in this case we have a program with one line of code which we save as hello
03:14world .py
03:16and then you can run it like this so Python or Python 3 with your file name so that would
03:24run it
03:25now instead of just a simple text editor there are better tools to write Python codes two of them
03:32are Visual Studio codes and PyCharm you can download both of them for free from the internet so if you
03:38head over to jetbrains.com you see this website and if you search for PyCharm you'll find this
03:48website where you can select your operating system so Windows Mac or Linux and then download the
03:53community edition which is free and that will start downloading PyCharm an alternative is using Visual Studio codes which is
04:02also free it's this one is created by Microsoft and this lets you it's also a programming editor
04:08so another tool to write programs so depending on your if you search for Visual Studio codes or code.visualstudio
04:15.com you'll find this website where you can download
04:19this version for your system now I'm on a Linux system so that's why it's showing this however for example
04:26if I click on other versions you'll see I can download the Windows version
04:31I can download it for Mac and for Linux so the Visual Studio code program is also an editor also
04:41a programming tool
04:43so if I launch it you'll see this is what it looks like I have some old program here that
04:49I apparently made
04:51so let's open it so let's open our file so click file open and I'll search hello world.py we
05:01search by modified
05:07we search for that file
05:14okay here it is hello world.py
05:19I'll just open it so you'll see there is our code our one line of code which has nice coloring
05:25but it's more easy to use Visual Studio code from here we could directly run it or we could add
05:31a project folder
05:31so if you say open folder you can create a folder for your project
05:39now we can click run and then for example run without debugging control F5
05:47and you'll see that directly shows the outputs in the terminal below so if you for example add another line
05:55here
05:59and you click run run without debugging you'll see you directly see the outputs in the terminal below so but
06:07it has many more features
06:09when you use Visual Studio code
06:11one of the programming tools as I mentioned another is PyCharm
06:14which basically lets you do the same but it's a different looking program
06:20so I recommend to use one of these programming tools because it makes life easier
06:25here
06:25then there's not anything .
06:25so the chat can be done
06:26you can use thehalt história
06:27and the comments I just have a lower line
06:27so you can use the
Comments