In this complete Python course with notes, I'll teach you Python from the very
beginning to the very end. I've included my handwritten notes with this video
so that you can do revision wisely after the video. I'd like to tell you that this
video, source code & notes are all absolutely free of cost. If you think this
video is great, hit the like button and let me know in the comments "This
Python course is helpful". VScode & Python are currently installing - we'll
work when the download finishes. Visual Studio Code is like an advanced
Notepad, providing extra features to make your programming easier. You can
also write ``pip --version'' and it will display your pip version. You might be
using Linux or Mac, but you can use any computer or OS.
Python is a powerful way to give instructions to the computer that allow it to
understand exactly what task you're trying to perform. It works like pseudo
code and is very readable, so there's no excuse not to learn it! Python is a
high level language, meaning there's no need for memory management like
with C and C++. It's built for people who just want to focus on their work,
and Data Scientists and Machine Learning enthusiasts can benefit from its
features. Python can be used for Data Science, Machine Learning, Game
Development, and website development. To create a program with a name of
your choice, you can install extensions in Visual Studio Code. With Python,
you can unlock the power of the computer and create amazing things!
We've installed Python & VScode and we've put our complete setup here to
do the code. Now we'll dive deep into the code we've written & into the
Python language. What is the meaning of this & how can you write your own
code? Let's take a look at 'built-in modules' - these are modules which are
pre-installed with the installation of Python, such as 'Flask', which is used to
build websites. Our first Python program consists of any name, just make
sure it won't clash with the built-in modules, for example don't name a file
'ABC' or 'Flask'. With the help of pip, which is a package manager for Python
that you get by default when you download the Python, you can install
packages. There are two types of modules in Python - Built-in Modules &
External Modules. Now let's write our very first Python program and say 'I've
been walking on your steps'!
Python can be used as a calculator. We can input any valid Python code into
Repl and it will execute each line as it reads them. As our code grows, it
becomes harder to manage in Repl, so we write Python files. In Python,
comments are text that you want to include in the program but do not want
to execute. To call a function, we use open and close parentheses (). When
you press 'Enter' after writing `` exit() '', you will be exited from your Repl.
This was a brief overview of how to use Python as a calculator. This chapter
was about Repl and I hope you enjoyed it. If this is your first program ever,
please leave a comment below and I will help you with the practice set for
chapter one which I have created for you. Our program will print the poem
"Twinkle Twinkle Little Star" and we will name it "twinkle.py".
The benefits of buying summaries with Stuvia:
Guaranteed quality through customer reviews
Stuvia customers have reviewed more than 700,000 summaries. This how you know that you are buying the best documents.
Quick and easy check-out
You can quickly pay through credit card or Stuvia-credit for the summaries. There is no membership needed.
Focus on what matters
Your fellow students write the study notes themselves, which is why the documents are always reliable and up-to-date. This ensures you quickly get to the core!
Frequently asked questions
What do I get when I buy this document?
You get a PDF, available immediately after your purchase. The purchased document is accessible anytime, anywhere and indefinitely through your profile.
Satisfaction guarantee: how does it work?
Our satisfaction guarantee ensures that you always find a study document that suits you well. You fill out a form, and our customer service team takes care of the rest.
Who am I buying these notes from?
Stuvia is a marketplace, so you are not buying this document from us, but from seller rishabhsemwal. Stuvia facilitates payment to the seller.
Will I be stuck with a subscription?
No, you only buy these notes for $7.99. You're not tied to anything after your purchase.