1 00:00:00,000 --> 00:00:01,400 [no audio] 2 00:00:01,410 --> 00:00:02,700 Hi friends, here 3 00:00:02,700 --> 00:00:07,600 we are going to see how to install Python on Windows operating 4 00:00:07,600 --> 00:00:13,200 system. So friends we are going to work with Python 3.x, 5 00:00:13,200 --> 00:00:17,600 so whether it is 3.x version, or 2.x version, you 6 00:00:17,600 --> 00:00:21,100 can directly download from your official website called 7 00:00:21,100 --> 00:00:24,100 'www.python.org'. 8 00:00:24,100 --> 00:00:26,700 Let me open this website first. 9 00:00:26,700 --> 00:00:28,600 [no audio] 10 00:00:28,600 --> 00:00:35,300 '.python.org'. Now guys, we want to download Python software, 11 00:00:35,500 --> 00:00:39,100 right? So we have here different types of options. As of now 12 00:00:39,100 --> 00:00:42,800 I am going with the 'Downloads', because we need Python software. 13 00:00:43,600 --> 00:00:46,500 And here also if you observe here, we have Windows, Mac OS, 14 00:00:46,500 --> 00:00:50,300 some other platforms. As of now, I am going to work with Windows, 15 00:00:50,900 --> 00:00:54,800 right? So now you can select Windows here, or directly it is 16 00:00:54,800 --> 00:00:57,800 showing the latest version of 3.x, 17 00:00:57,800 --> 00:00:59,600 that is Python 3.7.3. 18 00:01:00,700 --> 00:01:06,099 And note that Python 3.5+ version cannot be used 19 00:01:06,099 --> 00:01:08,000 on Windows XP or earlier, 20 00:01:08,300 --> 00:01:09,800 so you have to use the latest one, 21 00:01:10,200 --> 00:01:16,000 I mean Windows XP, or latest one for your Windows, 22 00:01:16,000 --> 00:01:18,300 [no audio] 23 00:01:18,300 --> 00:01:20,200 right, and anyway here 24 00:01:20,200 --> 00:01:22,400 [no audio] 25 00:01:22,400 --> 00:01:25,400 directly you can download this Python 3.7.3, 26 00:01:25,400 --> 00:01:29,200 or just click on 'View the full list of downloads', 27 00:01:29,200 --> 00:01:31,500 [no audio] 28 00:01:31,500 --> 00:01:33,100 right. Now here 29 00:01:33,100 --> 00:01:35,200 we have Windows, Linux, or any other thing. 30 00:01:35,300 --> 00:01:37,000 So I am selecting Windows. 31 00:01:37,000 --> 00:01:40,100 [no audio] 32 00:01:40,100 --> 00:01:41,400 right. Now observe here. 33 00:01:42,400 --> 00:01:46,800 So in Python 3, the latest version as per today, this one 34 00:01:46,800 --> 00:01:48,300 Python 3.7.3, 35 00:01:48,300 --> 00:01:51,300 and in 2 it is 2.7.16. 36 00:01:52,000 --> 00:01:57,300 Right. So we are going to work with 3.x, and you can go 37 00:01:57,300 --> 00:02:01,400 with either 3.5 or 3.6 or 3.7, 38 00:02:02,000 --> 00:02:04,800 right? I am going to select 3.7.0. 39 00:02:04,800 --> 00:02:06,200 That is my favorite version. 40 00:02:06,200 --> 00:02:09,600 You can take simply Python 3.7.3 also, no problem. 41 00:02:09,600 --> 00:02:12,000 [no audio] 42 00:02:12,000 --> 00:02:16,400 I'm going to download Windows x86-64 executable installer, 43 00:02:17,500 --> 00:02:19,500 right. You can if you want to select a web-based installer, 44 00:02:19,500 --> 00:02:21,100 you can select or zip file. 45 00:02:21,600 --> 00:02:23,100 So this is the best one for me. 46 00:02:23,100 --> 00:02:24,100 I am selecting this one. 47 00:02:25,000 --> 00:02:31,000 So my operating system is 64-bit Windows 10. Now it is okay 48 00:02:31,000 --> 00:02:33,500 with my operating system. Now, I am downloading this. 49 00:02:33,500 --> 00:02:35,400 [no audio] 50 00:02:35,400 --> 00:02:36,700 Yes, right. 51 00:02:37,000 --> 00:02:38,200 Let me open that file. 52 00:02:38,200 --> 00:02:42,200 [no audio] 53 00:02:42,200 --> 00:02:44,400 Now just simply right click, 54 00:02:45,600 --> 00:02:51,600 or you can do two times click on your downloaded file, right, 55 00:02:52,000 --> 00:02:55,800 or right click, then 'Open', or 'Run as administrator'. 56 00:02:55,800 --> 00:03:00,400 [no audio] 57 00:03:00,400 --> 00:03:02,000 Yes, click on that. 58 00:03:02,000 --> 00:03:05,900 [no audio] 59 00:03:05,900 --> 00:03:10,200 So guys, here if you observe 'Install Python 3.7.0 (64-bit)', 60 00:03:11,000 --> 00:03:14,700 'Install Now', directly it will install your Python in this location, 61 00:03:16,100 --> 00:03:18,100 right, somewhere here. 62 00:03:18,200 --> 00:03:19,800 I don't want to install in this location. 63 00:03:19,800 --> 00:03:21,900 I want to install in my required location, 64 00:03:22,200 --> 00:03:26,500 right? What I will do is I will go with 'Customize installation', and 65 00:03:26,500 --> 00:03:29,900 also you can add your 'Python 3.7 to PATH'. 66 00:03:30,800 --> 00:03:34,900 So guys if you are working with Python 3, I mean if you are 67 00:03:34,900 --> 00:03:37,500 installing Python 3 then only you'll get this option. 68 00:03:37,800 --> 00:03:41,500 If you install Python 2, right you won't get this option. 69 00:03:41,500 --> 00:03:45,500 Now, I am selecting this and customization of your installation. 70 00:03:46,200 --> 00:03:51,400 Just click on that. See that guys. 'Add Python 3.7 to PATH, then 71 00:03:51,400 --> 00:03:54,500 'Customize installation'. Nothing, but I want to change my path, 72 00:03:54,900 --> 00:03:57,100 I mean where I want to install my Python software. 73 00:03:58,400 --> 00:04:01,200 So for that I am changing. Instead of 'Install Now' 74 00:04:01,200 --> 00:04:05,500 I am going with 'Customize installation', then simply click on 'Next'. 75 00:04:06,700 --> 00:04:09,000 Now here instead of this lengthy path 76 00:04:09,000 --> 00:04:12,900 what I am going to do is simply I am installing somewhere 77 00:04:14,200 --> 00:04:19,000 here 'Python', 'C' directly. You can also provide your user home, 78 00:04:19,000 --> 00:04:21,600 there you can install, or simply you can provide your required 79 00:04:21,600 --> 00:04:25,100 path. I'm taking this one. Just 'Install'. 80 00:04:26,200 --> 00:04:27,500 That's it. Very simple. 81 00:04:28,399 --> 00:04:32,700 Not only this 3.7.0, any 3.x version is very simple to install. 82 00:04:32,700 --> 00:04:34,700 [no audio] 83 00:04:34,700 --> 00:04:37,200 Right. Once it is done then I will show you. 84 00:04:37,200 --> 00:04:41,000 [no audio] 85 00:04:41,000 --> 00:04:42,400 Just wait for some time. 86 00:04:43,600 --> 00:04:46,700 And anyway, meanwhile we will see one more thing in your 87 00:04:46,700 --> 00:04:49,800 official website, 'Documentation' guys. 88 00:04:49,800 --> 00:04:52,000 [no audio] 89 00:04:52,000 --> 00:04:53,400 See here 'Documentation'. 90 00:04:54,200 --> 00:04:58,200 So you have 'Python 3.x Docs' as well as 91 00:04:58,200 --> 00:05:00,200 'Python 2.x Docs' 92 00:05:00,200 --> 00:05:05,000 You can download this, or by opening this you can go 93 00:05:05,000 --> 00:05:08,100 through your official documentation and you can learn your Python. 94 00:05:08,100 --> 00:05:10,000 [no audio] 95 00:05:10,000 --> 00:05:14,700 Right. So you have documentation for 3.x and 2.x 96 00:05:14,700 --> 00:05:16,700 in your official website itself. 97 00:05:17,400 --> 00:05:19,900 So if you want you can go through that and you can learn 98 00:05:19,900 --> 00:05:23,200 your Python. Right. Fine. 99 00:05:23,200 --> 00:05:25,500 [no audio] 100 00:05:25,500 --> 00:05:28,800 Now once it is done I want to show you one more thing, that 101 00:05:28,800 --> 00:05:31,300 is, once if your installation is done 102 00:05:31,300 --> 00:05:33,900 then you have to cross-check whether you successfully installed 103 00:05:33,900 --> 00:05:38,700 your Python 3.7.0 or not, or your required Python version, 104 00:05:39,000 --> 00:05:41,600 right? Now, it's almost done. 105 00:05:41,600 --> 00:05:47,200 [no audio] 106 00:05:47,200 --> 00:05:48,700 Just wait for sometime, 107 00:05:49,000 --> 00:05:50,100 it will complete. 108 00:05:50,100 --> 00:06:33,100 [no audio] 109 00:06:33,100 --> 00:06:34,500 Still it is taking time. 110 00:06:34,600 --> 00:06:36,200 Just wait for some more time. 111 00:06:36,200 --> 00:06:38,400 [no audio] 112 00:06:38,400 --> 00:06:42,300 Once it is done then almost your installation is done, but 113 00:06:42,300 --> 00:06:46,100 we have to cross-check. We have to verify. So I will show you 114 00:06:46,100 --> 00:06:50,700 that how to verify, right. Just give me some time so that 115 00:06:50,900 --> 00:06:52,500 our installation will be complete. 116 00:06:52,500 --> 00:06:55,500 Yes, now see that 'Python 3.7.0 Add to Path', 117 00:06:55,800 --> 00:07:00,400 so it's adding. Now it's almost done. Fine. 'Setup was successful'. 118 00:07:00,400 --> 00:07:05,100 Just close it and just open your command line, right? 119 00:07:06,000 --> 00:07:07,900 Simply run 'python 120 00:07:07,900 --> 00:07:10,800 [no audio] 121 00:07:10,800 --> 00:07:15,800 space, your version. See that, you are getting. Or you can 122 00:07:15,800 --> 00:07:18,900 also run simply 'python -V'. 123 00:07:18,900 --> 00:07:20,800 [no audio] 124 00:07:20,800 --> 00:07:23,900 Right, and you can also check 'pip'. 125 00:07:23,900 --> 00:07:27,700 [no audio] 126 00:07:27,700 --> 00:07:29,900 See that. So 'pip' is nothing 127 00:07:29,900 --> 00:07:33,500 but, if you want to install any required third-party Python 128 00:07:33,500 --> 00:07:36,800 modules with the help of 'pip' only you can able to install, 129 00:07:37,700 --> 00:07:40,100 right. Anyway, we'll see how to install and how to work with 130 00:07:40,100 --> 00:07:43,700 'pip' while going forward. For time being just we are installing 131 00:07:43,700 --> 00:07:47,800 Python, and then we are verifying whether we installed your 132 00:07:47,800 --> 00:07:49,500 Python successfully or not. 133 00:07:51,100 --> 00:07:55,900 Right. See, if you want to go with your installation location, 134 00:07:56,900 --> 00:08:04,600 just click on your 'C', this one, anyway I have Python 2.x, 135 00:08:04,600 --> 00:08:06,800 as well, right? While going forward 136 00:08:06,800 --> 00:08:08,800 sometimes I will show you what is the differences between 137 00:08:08,800 --> 00:08:10,200 your 3.x and 2.x. 138 00:08:10,500 --> 00:08:13,200 So for that I installed Python 2.x as well. 139 00:08:13,800 --> 00:08:17,000 So just now we installed this one, Python 3.x. 140 00:08:17,700 --> 00:08:21,000 So this is the Python software, Python, 141 00:08:21,400 --> 00:08:25,700 especially it is called 'interpreter', Python Interpreter. 142 00:08:26,700 --> 00:08:27,900 Right. So guys, 143 00:08:27,900 --> 00:08:32,299 this is the simple way to install your Python on your Windows 144 00:08:32,200 --> 00:08:34,100 operating system, okay. 145 00:08:34,600 --> 00:08:36,500 Okay guys, thank you for watching this video. 146 00:08:36,500 --> 00:08:37,900 [no audio]