- 23/5/2025
Want to set up *Python and PyCharm* on your *Windows 11* system? 🖥️ In this tutorial, we’ll guide you *step by step* on how to install *Python* and *PyCharm* IDE to start coding in Python efficiently. Whether you're a *beginner* or an **experienced developer**, this video will help you get everything up and running quickly.
---
*🔹 What You’ll Learn in This Video:*
✅ How to Download and Install Python on Windows 11
✅ Setting Up Environment Variables (PATH) for Python
✅ Installing PyCharm (Community & Professional Edition)
✅ Configuring Python Interpreter in PyCharm
✅ Running Your First Python Program
---
*🔹 Why Use PyCharm for Python?*
🔥 *Intelligent Code Completion* – Write code faster and more efficiently.
🚀 *Built-in Debugger* – Easily debug Python programs.
🖥️ *Virtual Environment Support* – Manage dependencies hassle-free.
📁 *Integrated Git Support* – Seamless version control.
---
*🔹 Step-by-Step Guide*
*🔹 1️⃣ Install Python on Windows 11*
🔗 *Download Python:*
Go to the *official Python website* and download the latest version:
*Steps to Install Python:*
1️⃣ Open the downloaded **Python installer (.exe)**.
2️⃣ Check the box *“Add Python to PATH”* (VERY IMPORTANT ✅).
3️⃣ Click *Install Now* and wait for the installation to complete.
4️⃣ Verify installation by opening *Command Prompt (cmd)* and running:
```bash
python --version
```
If Python is installed correctly, it will show the installed version.
---
*🔹 2️⃣ Install PyCharm on Windows 11*
🔗 *Download PyCharm:*
*Steps to Install PyCharm:*
1️⃣ Download *PyCharm Community Edition* (Free) or *Professional Edition* (Paid).
2️⃣ Run the *installer* and follow the setup wizard.
3️⃣ Choose *64-bit launcher* and associate `.py` files with PyCharm.
4️⃣ Complete the installation and launch PyCharm.
---
*🔹 3️⃣ Configure Python Interpreter in PyCharm*
1️⃣ Open PyCharm and create a **new project**.
2️⃣ Select *Python Interpreter* (Choose Python installed in Step 1).
3️⃣ Click *Create* and start coding!
---
*🔹 4️⃣ Run Your First Python Program*
1️⃣ Create a new *Python file* (Right-click → New → Python File).
2️⃣ Type the following code:
```python
print("Hello, PyCharm!")
```
3️⃣ Click *Run ▶️* and see the output in the terminal! 🎉
---
*🎯 Who Is This Tutorial For?*
✅ *Beginners* learning Python programming.
✅ *Students & Developers* setting up a Python environment.
✅ *Anyone* interested in coding in Python efficiently.
---
*🔹 Resources Mentioned in This Video:*
---
*💡 Pro Tips for Smooth Installation*
✔ Always *add Python to PATH* during installation.
✔ Use *PyCharm Community Edition* (Free) if you're a beginner.
✔ Set up a *virtual environment* in PyCharm for better package management.
---
*👍 Like, Share & Subscribe!*
If this tutorial helped you, please *LIKE, SHARE, and SUBSCRIBE* for more Python and programming tutorials! 💻✨
---
*🔹 What You’ll Learn in This Video:*
✅ How to Download and Install Python on Windows 11
✅ Setting Up Environment Variables (PATH) for Python
✅ Installing PyCharm (Community & Professional Edition)
✅ Configuring Python Interpreter in PyCharm
✅ Running Your First Python Program
---
*🔹 Why Use PyCharm for Python?*
🔥 *Intelligent Code Completion* – Write code faster and more efficiently.
🚀 *Built-in Debugger* – Easily debug Python programs.
🖥️ *Virtual Environment Support* – Manage dependencies hassle-free.
📁 *Integrated Git Support* – Seamless version control.
---
*🔹 Step-by-Step Guide*
*🔹 1️⃣ Install Python on Windows 11*
🔗 *Download Python:*
Go to the *official Python website* and download the latest version:
*Steps to Install Python:*
1️⃣ Open the downloaded **Python installer (.exe)**.
2️⃣ Check the box *“Add Python to PATH”* (VERY IMPORTANT ✅).
3️⃣ Click *Install Now* and wait for the installation to complete.
4️⃣ Verify installation by opening *Command Prompt (cmd)* and running:
```bash
python --version
```
If Python is installed correctly, it will show the installed version.
---
*🔹 2️⃣ Install PyCharm on Windows 11*
🔗 *Download PyCharm:*
*Steps to Install PyCharm:*
1️⃣ Download *PyCharm Community Edition* (Free) or *Professional Edition* (Paid).
2️⃣ Run the *installer* and follow the setup wizard.
3️⃣ Choose *64-bit launcher* and associate `.py` files with PyCharm.
4️⃣ Complete the installation and launch PyCharm.
---
*🔹 3️⃣ Configure Python Interpreter in PyCharm*
1️⃣ Open PyCharm and create a **new project**.
2️⃣ Select *Python Interpreter* (Choose Python installed in Step 1).
3️⃣ Click *Create* and start coding!
---
*🔹 4️⃣ Run Your First Python Program*
1️⃣ Create a new *Python file* (Right-click → New → Python File).
2️⃣ Type the following code:
```python
print("Hello, PyCharm!")
```
3️⃣ Click *Run ▶️* and see the output in the terminal! 🎉
---
*🎯 Who Is This Tutorial For?*
✅ *Beginners* learning Python programming.
✅ *Students & Developers* setting up a Python environment.
✅ *Anyone* interested in coding in Python efficiently.
---
*🔹 Resources Mentioned in This Video:*
---
*💡 Pro Tips for Smooth Installation*
✔ Always *add Python to PATH* during installation.
✔ Use *PyCharm Community Edition* (Free) if you're a beginner.
✔ Set up a *virtual environment* in PyCharm for better package management.
---
*👍 Like, Share & Subscribe!*
If this tutorial helped you, please *LIKE, SHARE, and SUBSCRIBE* for more Python and programming tutorials! 💻✨
Categoría
📚
AprendizajeTranscripción
00:00So hey guys welcome to the first video of the series
00:02Today in this video we are going to see that how can you install flask and pycharm id in your computer
00:09Firstly you will be needing two things
00:13First is python obviously
00:15Just go on google
00:17And download your python
00:19You have to go on the first website that is python.org
00:30And then click on this download button
00:34This will download the latest version of your python
00:37That is 13.1 3.13.1
00:41Just download this
00:43It is downloaded
00:46And make sure to check both these options
00:49Add python exe to path
00:51And use admin privileges
00:55What this feature will do is
00:58This will add your python to your environment variables
01:01Like i will show you this
01:05These are the environment variables
01:07And this will add this under system path
01:13Just cancel this
01:14And customize installation
01:17Next
01:20And make sure to copy this path
01:27Now click on install
01:33This will install your python in your computer
01:40And then you can go on google and search for pycharm
01:50Just go on first link
01:52That is from jetprints.com
01:54Now click on download button
02:00This will redirect you to a page
02:04Where you can see this
02:06This is the pycharm professional version
02:09But you don't need to download this
02:11Because this is a paid version
02:12With a free 30 day trial
02:17If you want the trial you can go with this
02:20But for the free version
02:22Here you can see the community edition
02:24Just download this
02:27Now the download will start
02:29I have already downloaded this
02:32You can see that
02:36Now go on command prompt
02:40And check for python version
02:43Python space
02:44Hyphen hyphen
02:45Version
02:51From this you can make sure that your python is correctly installed
02:54If it is not
02:55Then you have to go
02:58Now i will show you what you have to do
03:01If your python version is not soon
03:03Then only you have to do this
03:06I did this system environment variables
03:09Environment variables
03:11Under system environment variables
03:13Click on path
03:15And then edit
03:17Here you have to add a new path
03:19The one that you have copied from c slash users slash
03:24Program data while installing python
03:26Here you have to add this
03:30And just then click ok
03:33Ok
03:34And ok
03:35Then this will show your python version
03:39Now what you have to do is
03:43Our python setup is successful
03:44We need to close this
03:47Now we have to
03:49Check for pycharm installer
03:58Click on next
04:01Keep it default
04:03And make sure that you have atleast 2 GB of space for this software only
04:10Check all the boxes
04:18Install
04:20Now this will start installing our pycharm IDE
04:23Till then you can check your python installation
04:27If you know that this is the default IDE for python
04:30Click on open
04:36Here you can check your python
04:44Print hello world
04:51You can see that we are getting our output
04:54You can see that we are performing like mathematical operations
05:00This will also do
05:03So this means our python is properly installed
05:08Close this
05:09And our pycharm is almost installed
05:24I will fast-forward this part
05:26I will fast-forward this part
05:38Ok
05:39So this will ask you to reboot your system
05:42But you can click on I want to manually reboot later
05:46And then finish
05:49Now go in your pycharm
05:51Skip this import
05:58Skip this import
06:04And click on New Project
06:08Here you have to make sure that
06:10This project V&V is selected
06:14I will tell you why this need to be selected
06:17Just click on Create
06:21VE and VE is created
06:33Now what you have to do is
06:36Click on this option
06:40And then
06:42Then again on file
06:45And new
06:46Click on python file
06:49Let's name this file as test flask
07:02This will be a python file
07:08Now what you have to do is
07:11Let's write our basic code
07:19I will tell you what this line is actually doing
07:32F equal to
07:34Capital F
07:39Underscore underscore name
07:47Now you have to create a route
07:59Make sure that your route must be in a string
08:01Create a function for that particular route
08:06Let's name this function as index function
08:14And this function will return
08:16Hello world
08:31Now run this app
08:37Basically this is our web application
08:39That's why it is named as app
08:42App.run debug equal true
08:48Debugging mode is on here
08:53Now click on run button
08:56This will give an error
08:58Now I will tell you why this is giving an error
09:01Until then
09:03I will tell you what this code is actually doing
09:06Firstly this is importing flask
09:08From flask
09:10Oops sorry
09:11From flask import flask
09:14From flask import flask
09:18And then our app is named from this particular module
09:23And a route is created then
09:26And whenever a person will hit this route
09:29This function will execute
09:32And this function will return hello world on the screen
09:35Ok
09:38Now we have to run this program
09:41For that
09:43Go on terminal
09:45Just wait for some seconds
09:48Here you can see that there is .venv
09:53That simply means that a virtual environment is active
09:57Now what basically a virtual environment is
10:01Virtual environment is created for some project specific task
10:07Let's say you are creating this project and you need flask for this
10:13And in other project you need django
10:16So you will not install flask on your system level
10:19Just install flask for this project only
10:23So
10:24For that purposes we will need virtual environments
10:28Now type install flask
10:32This will install flask in your virtual environment
10:41This will install flask in your virtual environment
10:45We can upgrade your
10:47We can upgrade our pip also
10:49By this command
10:50So our pip is also upgraded
11:01Now click on this run
11:07And
11:08Go on
11:09Go in your browser
11:12And type
11:14Type the same thing which you have got there
11:18Or you can just copy this
11:27Here you can see this
11:30Which we have typed there
11:33If you want to change this
11:35No problem
11:40Just save this
11:45And reload your page
11:49Just a second
11:50Make sure that this is saved
11:59And now reload
12:01Let me check why this is not updating
12:13Let's run our program again
12:30Let's run our program again
12:34Guys we can try changing the port
12:39Actually
12:40Just you have to type here
12:43Port equal to
12:44Let's say you have to give 2500
12:48Let's give this at 8000
12:51And save this program
12:54And then rerun
12:58And then rerun
13:00Now our server is at 8000
13:02Port
13:03You can see that port number is changed
13:11And this is 8000 now
13:13Here you can see that
13:15Here you can see that
13:16The output which we want
13:18We get
13:19One more thing with this function
13:22Or basically program
13:24Now let's import url for
13:26And import redirect function
13:30And now let's create a new route
13:35At app.route
13:38Here again in strings
13:43Let's name this route as
13:45My name
13:46Okay
13:49Now we will create a function
13:54Inside this
13:55Let's name that function as
13:57ABC
13:57Call in
14:02Return
14:03Now what this will do
14:06This will do
14:08Redirect
14:10Now let me show you
14:12Redirect
14:13url4
14:14In strings
14:18Index function
14:19Let me tell you
14:22What this is actually doing
14:24Whenever someone
14:25Will hit this route
14:26This function
14:28Will hit you
14:29And this will return
14:30Redirect
14:31url4
14:32Index
14:32That simply means
14:34Whenever someone
14:34Will hit this route
14:35He will be redirected
14:37To
14:37url4
14:38Index
14:39That means
14:40This page
14:41Homepage
14:43Or landing page
14:43You can see
14:44Whenever someone
14:46Will hit
14:46We will get
14:49Again redirected
14:50To
14:50This particular route
14:51Now let's check this
14:53Our server is started
15:00Okay
15:03Now let's check this route
15:05You can see that
15:07Whenever
15:09I am hitting this route
15:11You can see
15:13I am pressing enter
15:14You are getting
15:16Redirected
15:16To our index page
15:17Because
15:20This is the
15:21It would help for url function
15:22So our index function
15:24So
15:26That's all for this video guys
15:28Hope you have liked this
15:29Now let's see you next time
Recomendada
0:54
|
Próximamente
2:41
1:38
1:33
1:34
1:55
2:32
0:41