#17 Python Tutorial for Beginners | Working with PyCharm | Run | Debug | Trace | py file

Telusko
Telusko
1 میلیون بار بازدید - - Check out our courses:Spring and
Check out our courses:

Spring and Microservices Weekend Live Batch : https://bit.ly/spring-live-weekend
Coupon: TELUSKO20   (20% Discount)

Master Java Spring Development : https://bit.ly/java-spring-cloud
Coupon: TELUSKO20   (20% Discount)

Udemy Courses:

Java:- https://bit.ly/JavaUdemyTelusko
Java Spring:- https://bit.ly/SpringUdemyTelusko
Java For Programmers:- https://bit.ly/javaProgrammers
Python : https://bit.ly/pythonUdemySummer
Git : https://bit.ly/Git-Telusko
Docker : https://bit.ly/docker_udemy

For More Queries WhatsApp or Call on  :  +919008963671

website : https://courses.telusko.com/

Instagram : Instagram: navinreddyofficial
Linkedin : LinkedIn: navinreddy20
TELUSKO Android App : https://bit.ly/TeluskoApp

In this lecture we are discussing:
#1 how to save file instead of running in idle console
#2 how to run the file in terminal or command prompt
#3 use of pychram to run the code
#4 how to debug the code in pycharm


-- idle is interactive console
-- when you work on project you are not using console
-- you need to write on a file
#1 how to save file instead of running in idle console
-- open idle
-- write the code
-- save the file e.g main.py , navin.py
-- for python we have file extension with .py
-- you can save the file anywhere

#2 how to run the file in terminal or command prompt or in idle using run button
a) using run button in idle
-- before runnig the code you need to save  
-- then you can run the code
-- using run button which are available in idle

b) using terminal or command prompt
-- navigate to folder where you have saved the file
-- in terminal or command prompt
write  python  file name
e.g python main.py
e.g python navin.py

----------
print("Hello")
x=5
y=6
z=x+y
print(z)

save the file
run the file
---------------

#3 use of pychram to run the code
-- you can use ide like pycharm:

-- first time
-- click on create new project
-- give the name of the project

-- then
click on create
click on create new file
give name MyCode
write the code inside the file
------------
x=5
y=6
z=x+y
print(z)
--------------
save the file
go to run directly in pycharm
click on run

#4 how to debug the code in pycharm
you can debug the code
add breakpoint
go to run
click on debug
click on step over or f8 key

you can see the value of x,y,z in debug mode

Github :- https://github.com/navinreddy20/Python-

Java:- https://bit.ly/JavaUdemyTelusko
Spring:- https://bit.ly/SpringUdemyTelusko

More Learning :

Java  :- https://bit.ly/3x6rr0N
Python  :- https://bit.ly/3GRc7JX
Django  :- https://bit.ly/3MmoJK6

JavaScript :- https://bit.ly/3tiAlHo
Node JS :- https://bit.ly/3GT4liq

Rest Api  :-https://bit.ly/3MjhZwt
Servlet :- https://bit.ly/3Q7eA7k
Spring Framework :- https://bit.ly/3xi7buh
Design Patterns in Java :- https://bit.ly/3MocXiq
Docker :- https://bit.ly/3xjWzLA

Blockchain Tutorial :- https://bit.ly/3NSbOkc
Corda Tutorial:- https://bit.ly/3thbUKa
Hyperledger Fabric :- https://bit.ly/38RZCRB

NoSQL Tutorial :- https://bit.ly/3aJpRuc  
Mysql Tutorial :- https://bit.ly/3thpr4L

Data Structures using Java :- https://bit.ly/3MuJa7S
Git Tutorial :- https://bit.ly/3NXyCPu

Donation:
PayPal Id : navinreddy20
https://www.telusko.com
55 سال پیش در تاریخ 1403/04/27 منتشر شده است.
1,052,701 بـار بازدید شده
... بیشتر