0:00 what's up everybody today we're going to
0:01 be talking about pie charm we're going
0:03 to talk about what it is why we should
0:05 even use it and additionally how we can
0:08 use him with that being said let's get
0:10 into it all right here we go so we're
0:12 going to be talking about pycharm
0:14 but first off what is pie charm pycharm
0:17 is an integrated development environment
0:19 or better known as an IDE used for
0:22 programming in Python
0:25 why should we use it it provides code
0:27 analysis A graphical debugger an
0:30 integrated unit tester integration with
0:33 Version Control Systems and supports web
0:35 development with Django
0:37 and lastly as a summary pytron provides
0:40 specialized and comprehensive set of
0:42 tools and features for python
0:44 programmers it provides deep code
0:46 analysis debugging and refractoring
0:48 capabilities tailored specifically for
0:50 python
0:51 which can enhance your productivity and
0:53 code quality
0:55 so now let's get into it and let's
0:57 download it on your operating system so
1:00 we're going to go to this URL
1:03 I'm going to drop this in the
1:04 description so you can just copy and
1:06 paste that in
1:07 so from here we're just going to
1:09 download the community one so the python
1:11 ID for professional Developers
1:14 I'm gonna download that
1:15 I'm gonna hit download you're gonna get
1:18 that all set up and once we've done that
1:20 then what we're going to do is we're
1:22 going to pull up pycharm
1:24 so now that we're at the main page here
1:26 for pycharm what we can do is we can
1:28 create a project so here we have some
1:30 options we have new project open and
1:33 existing and then we can actually get
1:35 from VCS but for now let's just open a
1:38 new project
1:40 location this is the name right so you
1:43 can name it whatever you want let's name
1:45 it
1:48 first
1:49 project
1:53 if you're overwhelmed or confused what
1:55 this is don't worry I'm going to be
1:56 making a video on a virtual end but for
1:59 now just follow along so location so set
2:02 it base interpreter is going to be
2:04 python
2:07 I'm running on 3.11 okay we're going to
2:10 create
2:12 and now this is our starting our
2:16 starting project so we have our main Dot
2:18 py and from here we can do a few things
2:20 so for our main.py
2:23 you know we can read over it this is a
2:24 simple python script it gives you a few
2:27 things we can do
2:30 basic function
2:33 all right we can just delete this right
2:36 so from here basically you know this is
2:38 where we're going to type
2:39 whatever our thing is
2:42 and then additionally let's do some uh
2:44 let's do some walkthroughs so from here
2:47 we're going to
2:49 not what I want to do all right we're
2:51 going to double click on first project
2:54 and from here we're going to click on
2:56 new
2:57 and this is how you can add files so
2:59 we're going to say say we want to add
3:01 another python python file right
3:04 click on that
3:05 we'll give it a name so let's name this
3:11 second py
3:15 and there we go right so now we have our
3:17 main.py
3:21 this is my main page
3:24 second Dot py
3:26 disk controls
3:28 x y z
3:30 covering some more features let's start
3:32 from the bottom left
3:34 we have our python console
3:37 we have our python packages currently
3:40 what we have installed
3:42 services
3:45 we have our terminal
3:48 any problems
3:50 and then also our Version Control
3:53 so going back to our
3:57 python packages I just want to show you
3:59 how we can install packages based off
4:01 the project that you're working on
4:04 so we're going to go top left for Mac
4:06 it's pycharm and we have settings
4:09 I'm already on it but it's what's what
4:11 we call a python interpreter
4:15 so hit that plus button and then from
4:17 here we can put in anything we really
4:19 want based off what you need
4:22 so I'm going to put
4:24 TV for example right let's see actually
4:27 CV2
4:30 hit install packages we have an error
4:33 for this actually that's okay
4:37 to CV itself okay great package CB
4:41 installed successfully
4:43 right we're going to hit OK on this and
4:46 also we can see that it's installed here
4:49 additionally right we have our python
4:51 packages and we can see what we have
4:53 installed here so this is all looking
4:55 good
4:57 the Version Control is what I really
4:59 wanted to talk about also
5:02 so we can create this project on pycharm
5:06 but of course though with GitHub right
5:08 we can up we can operate this and we can
5:10 share this with anyone
5:12 what if this is a group project
5:15 right how can we make that happen
5:18 so
5:19 we have our projects you know main.py
5:21 second Dot py
5:24 now we want to get it into GitHub
5:27 so what we're going to do is we're going
5:28 to we're going to click on VCS
5:32 and first we're going to enable Version
5:34 Control integration
5:38 from here you can choose there are other
5:40 ones
5:41 but standard is get
5:44 going to hit OK
5:48 and now from here we're going to go down
5:50 to git hub
5:53 we're going to hit share project on
5:55 GitHub
5:57 repository name
5:59 this is what it's going to look like on
6:01 GitHub uh I would recommend that you
6:03 keep it as the same as your pycharm so
6:06 there's no confusion
6:07 additionally we can make it private or
6:10 we can keep it public
6:12 remote origin description we can talk
6:14 about it so let's say my first
6:19 I arm project
6:24 I'm going to hit share for that
6:27 right
6:28 these are all the files our initial
6:30 comments
6:35 and there we go we've successfully
6:37 shared the project on GitHub
6:39 so now we click over to our GitHub
6:42 profile right
6:43 we're going to click on our repositories
6:48 and there you have it right
6:50 so it's a python updated two minutes ago
6:53 you have your name and then you have a
6:56 description
6:58 we're going to click into this
6:59 Repository
7:00 and here we go we have main.py and
7:04 second dot py so diving deeper into this
7:07 right we want to make an update
7:09 because right now
7:11 just this right this is my main page
7:13 what if I want to add some code right
7:15 so what we're going to do is we're going
7:17 to go back to pycharm okay great so on
7:19 here right we're going to go to main.py
7:22 right we want to edit it
7:23 so let's do something simple
7:26 um we're just gonna do a simple function
7:29 so
7:30 get this started I have it already
7:32 installed
7:34 but just follow along
7:36 it's going to be a little Advanced but
7:38 it's going to be something that we're
7:39 all going to learn eventually together
7:41 so what you're going to want to install
7:43 is go to add
7:45 and you're going to put in what we call
7:47 numpy
7:49 I'm gonna download this one
7:52 right
7:53 once we have that installed you see here
7:58 starting on line one we're just going to
8:00 do import
8:01 numpy
8:04 as
8:06 NP
8:09 and then we can do a simple function so
8:11 we're going to Define def
8:14 going to do
8:16 function
8:18 variable X
8:23 bring it down now we're going to return
8:26 let's do two
8:29 exponents
8:32 two
8:33 plus one
8:37 and now we are going to do X1
8:41 equals
8:43 MP dot a range
8:48 and we're going to set it
8:52 zero and four let's do five
8:56 okay
8:59 I'll type X1 on line seven
9:02 I'm gonna run that real quick
9:05 there we go
9:07 don't worry about this code right we're
9:09 just getting more into it but this is
9:11 something that you can put in your
9:12 main.py right and now so we put this
9:15 function in so now we're going to update
9:17 our GitHub right
9:18 going to get I'm going to commit
9:24 all of our files have been chosen
9:26 already what we're going to do is we're
9:28 going to commit and push you could put a
9:30 little message right so we can put
9:34 our new function
9:41 commit and push
9:43 gonna bring this page up
9:45 push commits the first project that's
9:47 what we want right this is all the
9:49 things we've added
9:51 you're going to push
9:55 and everything is now successful it has
9:58 been pushed to the
9:59 origin Branch all right and now we can
10:02 hop right back to GitHub
10:04 we're going to go to the same repository
10:05 first project
10:07 now we're going to click on main.py
10:12 and there we have it everything we typed
10:14 on pycharm is now in our GitHub and we
10:16 can share this with our peers our family
10:19 with our professors whoever we want with
10:22 that being said if you like what you saw
10:24 hit that thumbs up and hit that
10:25 subscribe button thank you so much and
10:27 have a great day