How To Run Python Code From Notepad using Command Line on Windows in 4 minutes

Опубликовано: 17 Февраль 2026
на канале: Simplifying Tech
2,197
28

How To Run Python Code From Notepad using Command Line on Windows in 4 minutes

In this video we will see how to run python scripts with the command prompt
here we are going to learn how to write Python Programming code in Notepad & execute in command prompt.

Below things we will leran in video

1. write a Python code in Notepad.
2. How to run Python code using cmd prompt
4. How to I run a .py file using cmd prompt
5. How to run a Python command in Windows?
6. How to compile Python code in cmd prompt
7. How to run a .py file/scripts
______________________
⏲️Time Stamps⏲️

00:05 - Getting started
00:33 - Agenda
01:15 - Installing python from windows App
02:10 - Write a simple program of addition of two numbers.
03:38 - Running program from command prompt

####################
Program sample:
x=input("Input First Number: ")
y=input("Input Second Number: ")
sum= int(x) + int(y)
print("Sum of two numbers is : ", sum)

####################

️▶️ Watch our latest videos: https://www.youtube.com/channel/UCH4j...
▶️ MySQL series :    • MySQL Simplified  
▶️ SpringBoot series :    • What is  Scheduler ?  | SpringBoot Task Sc...  
▶️ Apache Kafka series :    • Apache Kafka  
▶️ Elasticsearch java - Playlist :    • ELK stack [ ElasticSearch, Logstash, Kibana]  
▶️ MongoDB java -Playlist :    • Mongo DB using Java  
▶️ Spring Boot Java -Playlist :    • Spring Boot  
________________________________________

✉️ Contact: [email protected]
🐦 Twitter:   / simplifyingtech  
📷 Insta:   / simplifyingtech  
---------------------------------------------------------------
Production Credits:

Edited by: Simplifying Tech
Edited with Tool : Filmora 10
Produced by: Simplifying Tech
WebSite: https://simplifyingtechcode.wordpress...
---------------------------------------------------------------
About Simplifying Tech :
👉 Lets Make it Simplified and illustrative....
The main Objective of Simplifying Tech is to have people learn new technologies and programming in more simplified and illustrative way.