#16 Python Tutorial for Beginners | Working with PyCharm | Run | Debug | Trace | py file
Вставка
- Опубліковано 15 жов 2024
- Check out our courses:
Spring Boot and Microservices Live Course : go.telusko.com...
Coupon: TELUSKO10 (10% Discount)
Complete Java Developer Course Batch-3: go.telusko.com...
Coupon: TELUSKO10 (10% Discount)
Enterprise Java Spring Microservices: go.telusko.com...
Coupon: TELUSKO10 (10% Discount)
Master Java Spring Development : go.telusko.com...
Coupon: TELUSKO20 (20% Discount)
Udemy Courses:
Spring: go.telusko.com...
Java:- go.telusko.com...
Java Spring:- go.telusko.com...
Java For Programmers:- go.telusko.com...
Python : go.telusko.com...
Git : go.telusko.com...
Docker : go.telusko.com...
For More Queries WhatsApp or Call on : +919008963671
website : courses.telusk...
Instagram : / navinreddyofficial
Linkedin : / navinreddy20
TELUSKO Android App : 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 :- github.com/nav...
Java:- bit.ly/JavaUde...
Spring:- bit.ly/SpringU...
More Learning :
Java :- bit.ly/3x6rr0N
Python :- bit.ly/3GRc7JX
Django :- bit.ly/3MmoJK6
JavaScript :- bit.ly/3tiAlHo
Node JS :- bit.ly/3GT4liq
Rest Api :-bit.ly/3MjhZwt
Servlet :- bit.ly/3Q7eA7k
Spring Framework :- bit.ly/3xi7buh
Design Patterns in Java :- bit.ly/3MocXiq
Docker :- bit.ly/3xjWzLA
Blockchain Tutorial :- bit.ly/3NSbOkc
Corda Tutorial:- bit.ly/3thbUKa
Hyperledger Fabric :- bit.ly/38RZCRB
NoSQL Tutorial :- bit.ly/3aJpRuc
Mysql Tutorial :- bit.ly/3thpr4L
Data Structures using Java :- bit.ly/3MuJa7S
Git Tutorial :- bit.ly/3NXyCPu
Donation:
PayPal Id : navinreddy20
www.telusko.com
I'm from mechanical back ground.....u made feel like coding is damn easy .....wish everyone gets a teacher like u🤓
Same here bro im.mechanical too
@@kamalraviteja9957 lol I just reached 11th and really scared :(
Same
what mechanical guys will do with coding.
@@anhad7001 mat maan .....
It's 4years now since you made this video but the content is still great! Thanks for the clear explanation. You're amazing!
print("you are a good teacher of python")
>>> you are a good teacher of python
>>> syntax error
>>> print("you are a best teacher of python")
>>>you are a best teacher of python
@@clutchkrate9165 Grammatical mistake --- the best*
it should be While True :
print("great teacher")
Arey wah....kya Bola Bhai...
Hamesha iyse he kahthe oo...nayitho Kabhi kabhi
You should also watch his java tutorials he is java guru
5 math functions :
1. sqrt() : Used to find the square root of a given number.
2. pow() : Used to find the power o/p of a number (eg. 2^2 = 4)
3. ceil() : Used to round off the decimal bits to the next number(eg. ceil(2.1) = 3 )
4. floor() : Used to round off the decimal bits to the its integer number(eg. ceil(2.6) = 2 )
5. factorial() : Used to find the factorial of a given number.
Who the heck disliked this? He explains everything so effortlessly!
yes who is that person that dislikes it he or she is mad
From the bottom of my heart, I'm saying that your lectures are damn awesome......no one can beat you in teaching seriously. I had taken several lectures of others, but never fruitful to me. This is your classes which make me more confident.
Thank you sir
it is better than wasting money in paid teachers
The BEST TEACHER ON WHOLE OF EARTH.
Undoubtedly 🙌
5 functions from math module:
1. floor
2. ceil
3. sqrt
4. pow
5. factorial
Can we include matrices??
Tq
You are just a fantabulous teacher! I have always faced coding difficult to understand but your teaching proved me wrong. I am 15 and I'd love to learn python, you made it come true
This man is genius ...I have joined classes for python..still I am learning new everyday from his videos.....Thanks a lot :)
hi bro
No words can describe you’re effort sir
Thanks a lotttt 🙏🏻😁
s
Really...No words are there in English to describe ur teaching skills,efforts..... etc.. etc...
Ur channel is very much useful and u r the trouble shooter in python🔥.....
U r my life saver tooo💞..
Im mechanical and learnt basics of python from your videos, im very thankful to u mr.Navin reddy
This video is so interactive with Viewer. Keep posting these types of interactive videos which will help the viewers to take more interest
I love the way you teach. I was a noob before bt now I m learning and loving Python. Thank you sir.
"love your teaching style"
you are just awesome.
thanks a lot
not a noob now after watching few videos till now...thank you for making such easy to learn python lessons! you are great!!
I am just 14 years old and was finding python a difficult language but when I began to watch your videos I am feeling that my coding and maths skills have been improved!
if your saying python is hard .check out C or C++
@@angithkrishna2939 u try n learn c#, its so hard that it takes 1 month to just learn the basics
@@angithkrishna2939 bro he is just 14 years old
best python teacher, I've watched many youtube videos.they are good,but you are excellent.i'm very happy to tell every one you are my python teacher
5 math functions:
math.sqrt(25.0) = 5.0 #finds square root of 25.0
math.pi = 3.142...... #returns constant value of "pi"
math.sin(π / 6) = 0.5 #find sine value of passed argument which is in radian
math.cos(π / 3) = 0.5 #find cosine value of passed argument which is in radian
math.log10(100) = 2 #returns the degree of 100 with respect to power of base which is 10 here
CAN YOU MAKE AI WITH THESE FUNCTIONS ?
Can't we just use this :-
from math import *
@@skaterope can you elaborate on that
teacher="Best teacher of python"
print(teacher)
faku = "you just got jebaited"
print(faku)
teacher = "Navin Reddy is a best teacher!"
print(teacher)
Awesome tutorial Telusko! Your simple and optimism make learning quite fun! Thanks.
Thank you so much Sir. You have given me a new motivation to learn programming. I knew nothing. But you have inspired me to learn programming and pursue it in my career and become independent.
Yes sir.
waiting for this video because debugging, tracing etc are very important to learn the programmes 👍👍..
sir its seems here you are working a lot on editing .. i love the point where you put a emoji on your face... really appreciable work done by you sir ...
Awesome, you have nicely explained the differences between writing a code in an interactive environment and in an IDE, how to trace code line by line and debug it which is really important from foundation building point of view👍. Just loved it🥰
Five functions from math module -->
math.pow() = calculates the power of something like 2**3 = 8
math.sqrt() = calculates the square root of something like sqrt(64) = 8
math.pi = Gives us the constant value of PI
math.ceil() = gives max value of a given number ex.- ceil value of 3.6 is 4
math.floor() = gives min value of a given number ex.- floor value of 3.6 is 3
I need teachers like you for every subject!
sir thank you so much i am from computer science branch, i hate coding , i feel coding is difficult in exam i just byhart but when i saw your python tutorial wow!now coding is my fvrt now i am writing my own code.........very happy thank you sir!
You are a great teacher.. if every teacher teaches the way just u do every student can become anything as they wish
List any 5 functions from math module with there working
1. sqrt 2. floor 3. ceil 4. pow 5. pi
import math
math.sqrt(25) # 5
math.floor(2.9) # 2
math.ceil(2.2) # 3
math.pow(2,3) # 8
math.pi # 3.14
No paid course sir, start begginers in your channel is correct 💯 👍🏿👍🏿
Wish , you were my teacher....you make me understand everything very clearly...Thank you so much
Feeling Python is so easy because of the way you are explaining. You are so good in the explanation and the way you are covering each concept indetailed with examples. Keep doing the same. Cheers!!
Keep up the good job Navin !! I'am 45 and loving it ....
this guy is so cool man, not biased on IdE's like some other guys.
Thanks sir ,no one can teach python to us as you teach
I literally learnt DEBUGGING. Thanks.
hi sir in command prompt when i am typing
cd Desktop (it works)
Desktop> cd "python codes"
it is giving me the error the system cannot find the path specified
i got a output in idle
plss help
please help me to resolve this issue
New videos looks very nice with new skins👌 I already started leaning Python 2 months back, still I like to see the whole series. Please continue the series and also make some series on Python web development.
Than you sir! Thank you. You're doing more than just teaching. Glad I came across. :)
Sir is not only teach python but also improve our English thanks a lot sir........
Something big in learning Python can just be about knowing how to use an IDE...Thank you Navin for this wonderful videos.
print('you are best teacher of python')
Dear Teacher Naveen reddy. It wuld be great to see timestamps within your description of 'In this video we will see'
will you teach pygame because most people do not explain nicely. I am fan of yours because
you teach so fluidly please do teach pygame?
great teacher of python..i will watch this over and oer til i get it
I'm SOO happy that we're going to learn CODES!!!!!!!!!!!! I'm also thanking god for a person like you! Thanks!
Sir am a big fan of your teachings, i clearly understood all the python topics.
Amazing Teaching style you have❤️ Im new one to python and now I love to learn more and more python Thank you
I can see that step over or f8 is not enabled for me.. is there any specific setting for that?
I don't understand how one can dislike this video!
REALLY ENJOYING THIS COURSE SIR!
ANSWER TO THE QUIZ QUESTION-
SQRT- USED TO GET A SQUARE ROOT OF A NUMBER.
POW- USED TO THE SQUARE OR CUBE OF A NUMBER
CEIL- CEILING. USED TO GET THE NEXT WHOLE NUMBER AFTER THE GIVEN NUMBER.
FLOOR- USED TO GET THE PREVIOUS WHOLE NUMBER AFTER THE GIVEN NUMBER
Ur are the best teacher sir thank you sir
sir very kind of you to teach us. In the future try to speak more slowly so we can understand you more. Not all watchers are english natives. thank you
please add a working project from scratch end of all videos for wonderful understanding...we all of our friends are watching your videos in college for the better understanding of python...thanks a lot for creating a wonderful concept
this sir knows how to teach....best teaching i ever exprerienced
... . -. -.. -... --- -... ...
Awesome teaching sir!!!! and pycharm use easy than notepad.
i love you bro .your way of teaching is awesome .usually while learning something i fall asleep but your content is so interesting and fun to learn .will refer friends and family .
REALLY LOVING THE COURSE!
ANSWER TO THE QUESTION- SQRT- USED TO GET A SQUARE ROOT OF A NUMBER.
POW- USED TO DO SQUARE OR CUBE OF A NUMBER
CEIL- CEILING. USED TO GET THE NEXT WHOLE NUMBER AFTER THE GIVEN NUMBER.
FLOOR- USED TO GET THE PREVIOUS WHOLE NUMBER AFTER THE GIVEN NUMBER
Sir ur flow of explanation in too good
Best teacher ever seen for python
Amazing..I have started with your series and all works good yet..thanks..just problem is I am unable to set path in command prompt in windows8.1..but comfortably working in pychatm
You can add the path in Win 8.1, by clicking New in Environment Variables from System Properties. Then type name is python and add the corresponding path. Then save it.
When you reopen cmd. type py not python and it will work
sir this series is absolute genius....hats off!!!!!!
The way of teaching is awesome ♥️
math.pow(30,2) to get the 2nd power of 30
math.floor(22.9)to get the value before dot
math.ceil(28.1)to get the rounded off the value
math.sqrt(144)to get the square root of value
math.pi to get the actual pi value
also for trig and log we can do..
No one can teach as awesome as you. God is correct, Each person has his or her special ability. Other thing is
Some Superheroes wear capes, While some teach as good python as you for free, never thought i'll get a so good teacher of python. Even shared your channel with my friends. They said you're a fascinating, fabulous, And very fun teacher of Python, Reccomend your channel to others as well :-D :-P
1- pow(x,y)- return x raised to the power y
2-ceil(x)- return the smallest integer greater than or equal to x
3- pi- 3.14
4-sqrt(x)- return the square root of x
5-floor(x)- return the largest interger less than or equal to x
Hi Navin . I am following this tutorial regularly and is very awesome to lear with you. My pycharm debugger is not working , so am not able to debug the code , what would be the steps to resolve it .
Please explain the error which you get.
Awesome series and explanations..
Please use pycharm in all upcoming video's
Sir the run process looks little lengthy in pycharm, is there any shortcut like F5 to run the code from pycharm please
@@harshavardhandsh5190 Alt+shift+F10
Thanks Veeeeeeeeeeeeeeeeeeeeeeeeeeeery much sir
What environment to select when starting new project? Pipenv or virtualenv?
great video sir i did not know coding was this fun until u taught everyone. THANK YOU!
Do you still suggest to start with Pycharm or VSCode?
Sir agar apke jaise sab hote toh ajj kisko coding itni difficult nhi lagti
The only one UA-cam video's I will like without cing is urs!!!!
I also want to refer to book as just watching the video and making notes is not working out with me cause I want to get thorough with PYTHON language. So please can you suggest me which is the best book to refer to ?
i use visual studios, there shouldint be that big of a difference right?
Excellent teaching sir,very nice job for those who cant afford paid courses.
Debug is also available on IDLE Python right?. Can't we use it
I am enjoying a lot of learning python.
Thank you sir.
Shared this in facebook great teacher.
1. sqrt
2 .powerof
3. pie
4.floor
5.ceil
Thank you for your effort, Can you please tell us what books should we refer for python ?
Its really great that you teach in this way, but just focusing of the things which we will be working on doesnt gives us a clear picture. So please make us understand the basic/various options available in Pycharm
Good job keep up the good work bruh, mother Teresa of Calcutta said if you can't do great things, then do small things with great love. Exactly what you are doing
Breakpoint explained so nicely
Any combination of 26 alphabets cannot describe your way of teaching,loved that☺️
that dubugging is impressive!!!
yes we are enjoying this series , you should recreate all your java tuts like this
I Love your Teaching Sir!!
Pls Sir, l tried to code with the CMD. I typed cd Desktop but it replies. The system cannot find the path specified. And then for "python codes" it states " python codes" is not recognized as an internal or external command, operable program or batch file. Pls help sir
thanks for your valuable free tutorials
Wonderful teaching sir, I can learn it very easily, And this is the best series for enjoying the lockdown.
Hi nice video to initiate Pycharm, Can we debug in IDLE ? Thanks
I am not able to debug my code.There is no option of stop over and F8 key is also not working.
can python independently able to build any web application or it need support of Java or any another language for its execution
Hi,I am using Visual Studio code for debugs or something but I am confused VSC is a sort of IDLE, right? And if it is which one have more advantages?
Can I use this "New File" and running program things instead of PyCharm? Because I have organization's laptop so I can not install PyCharm.
HI, what if I were to use Visual Studio Code? Should I continue there or download Pycharm?
Thanku for teaching so effectively. It is really helping us
Thank you Navin Reddy, you are the best ! All your videos are incredibly useful and are helping a lot