Learn Python - Full Course for Beginners [Tutorial]



This course will give you a full introduction into all of the core concepts in python. Follow along with the videos and you’ll be a python programmer in no time!
Want more from Mike? He’s starting a coding RPG/Bootcamp – https://simulator.dev/

⭐️ Contents ⭐
⌨️ (0:00) Introduction
⌨️ (1:45) Installing Python & PyCharm
⌨️ (6:40) Setup & Hello World
⌨️ (10:23) Drawing a Shape
⌨️ (15:06) Variables & Data Types
⌨️ (27:03) Working With Strings
⌨️ (38:18) Working With Numbers
⌨️ (48:26) Getting Input From Users
⌨️ (52:37) Building a Basic Calculator
⌨️ (58:27) Mad Libs Game
⌨️ (1:03:10) Lists
⌨️ (1:10:44) List Functions
⌨️ (1:18:57) Tuples
⌨️ (1:24:15) Functions
⌨️ (1:34:11) Return Statement
⌨️ (1:40:06) If Statements
⌨️ (1:54:07) If Statements & Comparisons
⌨️ (2:00:37) Building a better Calculator
⌨️ (2:07:17) Dictionaries
⌨️ (2:14:13) While Loop
⌨️ (2:20:21) Building a Guessing Game
⌨️ (2:32:44) For Loops
⌨️ (2:41:20) Exponent Function
⌨️ (2:47:13) 2D Lists & Nested Loops
⌨️ (2:52:41) Building a Translator
⌨️ (3:00:18) Comments
⌨️ (3:04:17) Try / Except
⌨️ (3:12:41) Reading Files
⌨️ (3:21:26) Writing to Files
⌨️ (3:28:13) Modules & Pip
⌨️ (3:43:56) Classes & Objects
⌨️ (3:57:37) Building a Multiple Choice Quiz
⌨️ (4:08:28) Object Functions
⌨️ (4:12:37) Inheritance
⌨️ (4:20:43) Python Interpreter

Course developed by Mike Dane. Check out his YouTube channel for more great programming courses: https://www.youtube.com/channel/UCvmINlrza7JHB1zkIOuXEbw

🐦Follow Mike on Twitter – https://twitter.com/mike_dane

🔗If you liked this video, Mike accepts donations on his website: https://www.mikedane.com/contribute/

⭐️Other full courses by Mike Dane on our channel ⭐️
💻C: https://youtu.be/KJgsSFOSQv0
💻C++: https://youtu.be/vLnPwxZdW4Y
💻SQL: https://youtu.be/HXV3zeQKqGY
💻Ruby: https://youtu.be/t_ispmWmdjY
💻PHP: https://youtu.be/OK_JCtrrv-c
💻C#: https://youtu.be/GhQdlIFylQ8

Learn to code for free and get a developer job: https://www.freecodecamp.org

Read hundreds of articles on programming: https://medium.freecodecamp.org

And subscribe for new videos on technology every day: https://youtube.com/subscription_center?add_user=freecodecamp

source

31 thoughts on “Learn Python – Full Course for Beginners [Tutorial]”
  1. I came from "C" and the possibility of being able to use functions/methods as first class values, therefore pass them as parameters for other functions it's just amazing. I'm currently in 3:00:00 and I'm just 😮

  2. This team ABOVE of professional’s and expert’s who loves to take on challenges and mostly on providing quality services to their customers

  3. This team ABOVE of professional’s and expert’s who loves to take on challenges and mostly on providing quality services to their customers

  4. It is seriously a helpful video for the beginners like me. This helped me to learn the basics of python. Thank you.

  5. hi there man , nice video . i got a question . Why doesn't the python website put hardware requirements for the versions , to make it easier for people to download the compatible version their hardware can handle . by the way im going for 3.10.4 latest version would love to know the hardware requirements . thanks .

  6. I can’t understand what my teacher said,so I refer to this channel. Thank you so much for making it so clear and simple!!!

  7. Me: Runs "Hello World"
    Mike: You've actually written your first Python program!
    Me: Zuckerberg who?

  8. Comment 3/3 ~ Continuing notes again

    *How to read and write files in python:*

    – to open a file use this command, open(“name of file”, “mode of the file”)
    – Some of the different modes are: “r”, means read, “w”, means write, “a”, means append(which means you can add new information), “r+”, means reading and writing.
    – Whenever you open a file, you also want to close a file. We can close it by taking the file variable and typing variable.close()
    – To make sure a file is readable, we use the readable function, simply by using filevariable.readable(), this will give you a true or false value.
    – When you want everything read out of a file you can do, print(filevariable.read())
    – To read individual lines within a file you can do, print(filevariable.readline()), this reads the first line of the file, to read multiple lines within the file you can just copy and past the same function and it will spit out the next line.
    – You can also make all of the separate lines into a list by using the function, print(filevariable.readlines()), you can also use this function to read certain index positions within the list created, by doing, print(filevariable.readlines()[indexnumber])
    – Use can also use a for loop to print out each line in the file, by doing,
    for Variable in FileVariable.readlines():, then print(variables).

    *Writing and appending to files in python:*

    – To append a file in python you need to use, open(“employees.text”, “a”), and to write inside of the file you want to use the write function which is, employee_file.write(“Whatever you want to add”)
    – To Append onto a file with a new line you want to put “n Whatever you want to add”
    – Study into Escape characters.
    – To write a file or override a file, you are going to want to use, open(“employees.text”, “w”), and when you enter in the previous second bullet, it will take over the whole file and only write down what is inside of that command.
    – If you want to create a new file, you’re going to want to have the file name and just add a 1 to it.

    *Modules and Pip:* A module is any external python file

    – To bring in other files into your python code you just want to use the import function, simple as, import file_name.
    – To use things inside of another file you just need to do, print(file_name.variable_name())
    – You can access a huge list of python modules online, make sure to use the same version you have of python.
    – There are built-in modules with python that are accessible within the program, and then there are external modules which you need to access through the lib folder in the external files folder.

    You can use pip to install external python modules.

    – this is included within python 3.
    – You may need to download pip off the internet.
    – To install you are going to go into your terminal, and type in, pip install file_name
    – This file will be inside of your site-packages folder.
    – To uninstall you are going to want to type in, pip uninstall file_name

    **Classes and Objects**: Help to make programs more organized and powerful.

    – You can use classes to model a real-world object.
    – Initialized function, to make one you do, def __ init __(self, dataname, dataname, dataname): ← without spaces.

    Creating an actual student and giving it a name after creating the class is called an *Object*

    – to create an object you must import your class from another file using the import tool, so in our context use in a new file, from student import student.
    – You can create an object class the same way as making a variable.
    – When we use self.anything = anything, this means that the actual objects name is going to be equal to the name that they passed in. So self.anything is an attribute of a student.

    Using objects and classes, we are creating certain data types of real world things.

    **Object functions**: A function we can use inside of a class to modify a class or give us specific information about a class.

    *Inheritance:* where we can define a bunch of attributes and functions inside of a class, and then we can create another class and inherit all of those attributes.

    – You can basically have a class that has all of the functionality of another class without having to write out all of the same methods.
    – In order to inherit functions from another class we have to, import the original class we want to copy, and then we just do, class Class_name(Class_we_want_to_copy).

    *Python Interpreter:* A little environment that we can use to execute python code, kind’ve like a sandbox to try out different python commands and different python functions in a safe environment.

    – To use a python interpreter you use the terminal or CMD prompt, once you have terminal or CMD prompt, you enter python3 and that’s it.
    – Use this only to try out some code quick and dirty.

  9. I'm noticing a problem with the better calculator, and this may just be me not coding correctly, though I will ask anyway. I noticed that in the better calculator, or statements do not work. The reason I had an or statement in the first place is there is more than one symbol one may use to represent multiplication, same with division. So I added those symbols with or statements and then trying to utilize the invalid operator statement, but instead of printing "Invalid operator," it just multiplied, due to the fact that an or statement was there. Sorry for the poorly worded and lengthy comment.

Leave a Reply

Your email address will not be published.

Captcha loading...