Harvard CS50’s Introduction to Programming with Python - Full University Course

Поділитися
Вставка
  • Опубліковано 24 лис 2024

КОМЕНТАРІ • 2,8 тис.

  • @tenamsb686
    @tenamsb686 Рік тому +4022

    Dear beginners, I wish you to know a few things.
    1) This course-work is incredibly amazing. This can definitely take you places. There's no doubt with that.
    2) It's totally okay if you feel overwhelmed in the first 10-20 minutes of the video itself. PLEASE DON'T GIVE UP - IT'S MY HUMBLE REQUEST! I shall be very honest with you - actually, what's being covered in the 10-20 minutes of this video is what we learn in 10-20 days at the normal pace. The course is just fast paced. So, please allow yourself some time. Take it very slow - one step at a time.
    Once again, I won't lie - Yes, the course-work is very tough (afterall it's coming out of Harvard) - you will have to Google a lot along the way, watch many other UA-cam videos along the way. But, DON'T GIVE UP!

    • @victordhibani9008
      @victordhibani9008 Рік тому +45

      Thanks, man

    • @secretajntpedro
      @secretajntpedro Рік тому +68

      Thank you for saying this. I have never coded before doing this course and am up to week 5. I will remember what you said and keep going until I finish! 💪

    • @mrfluffybeehive
      @mrfluffybeehive Рік тому +7

      Jeepers.

    • @abdullahnadeem1823
      @abdullahnadeem1823 Рік тому +21

      How about, don't get stuck in tutorial hell and start building projects...

    • @Kevin-jc1fx
      @Kevin-jc1fx Рік тому +52

      ​@@abdullahnadeem1823I guess this course is for beginners. If you don't know variables and loops, there isn't much you can build yet.

  • @abhaymaheshwari6379
    @abhaymaheshwari6379 11 місяців тому +2455

    00:00 Learn Python programming from scratch with Harvard's Introduction to Programming course
    06:18 Learned how to write and run a simple Python program using the command line interface.
    16:45 Improving the program with user input and variables
    21:38 Introduction to assignment operator and comments in Python
    31:46 Pass multiple arguments to a function using commas
    00:36 Learn to read documentation to understand function parameters and arguments.
    47:44 Python strings have built-in functionality to manipulate user input.
    52:48 Strip and title case a user's input in a single line of code.
    1:03:07 Python supports interactive mode and basic arithmetic operations.
    1:08:09 Create an interactive calculator in Python.
    1:18:49 Support floating point values and round to nearest integer
    1:24:01 Python can automatically format numbers with commas for readability.
    1:34:16 Creating a custom function with parameters and default values in Python.
    1:39:31 Organize functions in any order by calling main function at the end.
    1:49:57 Introduction to conditionals in Python
    1:55:25 Code can be correct but poorly designed, leading to repetition and inefficiency.
    01:28 Simplification of code using 'else' statements
    2:11:51 Simplify code by asking fewer questions
    2:22:11 Introducing the modulo operator for modular arithmetic
    2:27:29 Creating a function to determine if a number is even or odd
    2:38:25 Implement a program using if-else construct to output the house of a Harry Potter character based on user input.
    2:43:09 Introduction to Loops in Python
    2:53:56 Count from 1 to 3 and print 'meow' each time
    2:59:18 Introduction to for loops and lists in Python
    3:10:18 Using escape sequences to concatenate strings in Python
    3:15:38 Implement a meow function that prints 'meow' n times.
    3:25:54 Iterating over lists using numbers in Python
    3:31:22 Python dictionaries allow you to associate one value with another.
    3:42:04 Iterating over dictionaries in Python
    3:47:30 Introduction to dictionaries in Python
    3:57:50 Implementing a reusable function to print a square using loops in Python
    4:03:15 Exceptions in Python refer to problems in your code.
    4:13:55 Handle errors in Python using try and except
    4:18:58 Handle specific errors, not all exceptions
    4:29:43 Improving user input with loops in Python
    4:35:09 Abstracting user input into a function
    4:45:05 Python uses indentation to associate lines of code with each other.
    4:50:31 Python supports modules to encourage reusability of code.
    5:01:12 Python's random module has useful functions like randint and shuffle.
    5:06:04 Python has modules for generating random data and performing statistical analysis.
    16:25 Handling exceptions and checking for user input in Python
    5:21:33 Refactor code to separate error handling from main logic
    5:32:18 Python packages provide additional functionality beyond built-in modules.
    5:37:38 Python has a package manager called pip for installing third-party packages.
    5:48:12 JSON is a language-agnostic format for exchanging data between computers.
    5:53:30 Using Python's Json library to format data cleanly
    6:04:12 Using conditional statements to prevent unwanted function calls
    03:05 Testing your own code is a good practice
    6:19:48 Using assert in Python can lead to errors on the screen, but try and except can catch them.
    6:24:52 Pi test automates testing of code, simplifying the process.
    6:35:20 Unit testing is a technique that is independent of cs50 and should be done on your own code.
    00:24 Unit testing with Pi test automates testing process
    6:51:11 Functions should not have side effects for better testability.
    6:56:46 File I/O allows for persistent data storage
    00:31 Appending to a file in Python
    7:12:30 Automate file closing with 'with' keyword
    7:22:30 Read and sort names from a file in Python
    7:27:27 CSV files are commonly used to store multiple pieces of information that are related in the same file.
    7:38:00 Read entire file to make changes in memory and write back for larger files
    7:43:17 Sort a list of dictionaries by a specific key using the sorted() function and a custom key function.
    7:54:33 Using Lambda functions in Python to simplify code
    8:00:09 Use the CSV library in Python to read and write CSV files.
    07:27 Using a dictionary reader in Python allows for flexibility in handling CSV files.
    8:16:06 CSV files can be read and written using dictionaries in Python.
    8:26:54 Using the pillow library, we can read and write binary image files.
    8:32:16 Introduction to regular expressions in Python
    8:42:43 Using the re library in Python to validate email addresses
    8:47:41 Regular expressions allow for specifying patterns of characters.
    8:58:15 Using raw strings and regular expressions to match email addresses
    9:03:24 Regular expressions can be used to validate input and match patterns.
    9:14:10 New syntax for email validation using regular expressions
    9:19:34 Regular expressions can be used to represent sets of characters in a concise way.
    9:30:28 Validating email addresses using regular expressions in Python
    9:35:59 Validating email addresses using regular expressions
    9:46:51 Standardize user input to avoid data inconsistencies
    9:51:54 Improved code using regular expressions to capture user input
    10:03:06 Python's walrus operator allows for assigning and asking a Boolean question in one line.
    10:08:22 Extracting Twitter username using regular expressions
    10:19:07 Tolerating HTTP and HTTPS in regular expressions
    10:24:40 Use re.search instead of re.sub for conditional logic
    10:35:54 Introduction to Object-Oriented Programming in Python
    10:41:12 Writing functions as building blocks for more complex programs.
    10:51:14 Immutable tuples cannot be changed, but lists can be used instead.
    10:56:28 Using dictionaries for better semantics and readability
    11:06:56 Creating custom data types using classes in Python
    11:12:12 Classes in Python allow for standardization of attributes and methods.
    11:23:09 Classes offer more features than dictionaries
    11:28:26 Encapsulate validation logic inside the class
    11:38:52 Classes in Python can be imported and used in other files or projects, and can have optional variables and custom error messages.
    11:44:20 Adding a Patronus attribute to the Student class
    11:55:17 Classes allow instance variables to be accessed and changed using dot notation, even if they do not meet validation requirements.
    12:00:44 Python properties allow for more control over attributes.
    00:22 Using getters and setters in Python classes for more control
    12:17:02 Python does not have hard constraints for visibility of instance variables.
    12:27:52 Learn about class methods in Python
    12:33:17 Implemented a Sorting Hat class that assigns a house to Harry randomly.
    12:44:09 Object-oriented programming is a way of encapsulating related data and functionality inside classes.
    12:49:26 Moved related functionality to class method for better design
    13:00:05 Object-oriented programming in Python supports inheritance.
    13:05:07 Inheritance allows subclasses to inherit functionality from their parent classes.
    13:15:30 Create a Vault class with an init method and a stir method to print out the contents of the vault.
    13:20:33 Python allows operator overloading with special methods.
    13:31:13 Using sets to find unique values in a list of dictionaries
    13:36:09 Implementing a simple bank in Python with deposit and withdraw functions.
    13:46:32 Implementing bank account using object-oriented programming
    13:51:43 Python does not enforce constants, only conventions.
    14:01:38 Adding type hints to variables and functions can help catch errors before running the code.
    14:07:07 Using type hints in Python can catch errors before running the program.
    14:18:00 Documenting code using conventions and tools
    14:23:14 Modify meows program to take command line arguments
    14:33:24 Outsource commodity tasks to focus on the interesting parts of a project
    14:38:36 Python offers powerful features like automatic error messages and value unpacking.
    14:48:58 Unpacking can be done with dictionaries as well
    14:54:11 Python allows for variable number of arguments in functions using *args and **kwargs.
    15:04:31 Python supports procedural, object-oriented, and functional programming paradigms.
    15:09:41 Use map() function to apply a function to every element of a list.
    15:20:20 Two approaches to filter a list of Gryffindor students in Python
    15:25:34 Using dictionary comprehensions to build data structures more succinctly
    15:36:04 Learn how to generate values in Python from functions.
    15:40:48 Printing large number of sheep is causing memory issues
    15:51:16 CS50's Python course covers a variety of programming concepts and tools.
    15:56:19 Learning Python helps in problem-solving and self-teaching

  • @xgz2491
    @xgz2491 8 місяців тому +210

    This teacher is a genius, I can not believe after 20 year leaving university, I still can focus his course for 2 hours! Big thanks to you, David, respect!

  • @rsmovingbush
    @rsmovingbush 8 місяців тому +733

    3 months into learning python this is my experience. I bought a 90% off udemy course which is my main way to learn python. I spend 1-2 hours in the morning before work to learn. Afterwards I watch this video as well as the cs50 course while working. I went from knowing absolutely nothing about coding to having 6-8 tiny apps to my name. I believe I have every skill needed to learn any module I want to learn. My main focus will be machine learning and ai. I will be an industry professional in this field in 2 years or less. If you want to learn you should do it. Expect it to finally start clicking in about 2 months. It is very much worth learning. Good luck!

    • @noelvase4867
      @noelvase4867 8 місяців тому +13

      good luck bro

    • @ThienNguyen-vi3fi
      @ThienNguyen-vi3fi 8 місяців тому +3

      Hey Bro, I’m about to start my journey. Can you please describe the steps you took until this point? Thank you so much.

    • @borninvincible
      @borninvincible 8 місяців тому

      That's awesome. Good luck yo

    • @xOGam1ng
      @xOGam1ng 8 місяців тому

      Bon chance brother. The Grind pays off

    • @jondoe-n1f
      @jondoe-n1f 8 місяців тому

      Hey everyone I'm a beginner in coding and I got VS code on my Mac and I need help opening up the Terminal that he has open. The one I get as a bunch of info and it doesn't have the dollar sign. Thank you in advance.

  • @krishna_3406
    @krishna_3406 Рік тому +2684

    ⭐ Course Contents ⭐
    (00:00:00) Introduction
    (00:04:48) Lecture 0 - Functions, Variables
    (01:50:24) Lecture 1 - Conditionals
    (02:46:23) Lecture 2 - Loops
    (04:07:10) Lecture 3 - Exceptions
    (04:51:45) Lecture 4 - Libraries
    (06:09:15) Lecture 5 - Unit Tests
    (07:00:22) Lecture 6 - File I/O
    (08:32:32) Lecture 7 - Regular Expressions
    (10:37:35) Lecture 8 - Object-Oriented Programming
    (13:28:47) Lecture 9 - Et Cetera

    • @imeaniguess.6963
      @imeaniguess.6963 Рік тому +15

      Thanks. 🫡

    • @imeaniguess.6963
      @imeaniguess.6963 Рік тому +15

      @@krishna_3406 lol I didn’t notice, but it’s still better in the comments.😂

    • @imeaniguess.6963
      @imeaniguess.6963 Рік тому +17

      @@krishna_3406 Did you finish? I fell asleep on lecture 2 about 4 times lol. Finally on 3 😂.

    • @mbamuukatjiri2262
      @mbamuukatjiri2262 Рік тому +3

      @@imeaniguess.6963 ey
      I'm also new at this, how far are you right now?

    • @smileyfaces2
      @smileyfaces2 Рік тому +1

      thank you

  • @0rjuela
    @0rjuela Рік тому +367

    Just a self study index.
    02:46:23 Loops
    02:34:35 Conditionals - Modern syntax
    02:41:46 Match cases (swift)
    02:51:16 Loops - While - (chart - 02:55:33)
    03:03:51 For Loop
    03:30:33 A nice loops recap
    03:32:56 Dictionaries
    03:59:02 Functions + forLoops to print squares
    04:07:10 Lecture 3 - Exceptions
    04:32:47 Except in a loop
    04:37:03 Playing with functions - refinement
    04:51:45 - Libraries
    04:55:52 Random
    05:32:53 Slices
    05:36:42 Packages
    05:48:00 JSON
    06:01:55 Making our own libraries
    06:09:15 - Unit Tests
    06:26:25 Pytest
    07:05:59 Storing and extracting data in and from external files - Files I/O
    07:38:23 Messing around lists and dictionaries - Sorting and playing with functions
    08:01:38 Working with csvs
    08:23:50 Images and giffs with pillow
    08:32:32 Regular Expressions
    09:30:37 Built-inVariables
    09:53:13 Formating - Useful for clean-up data purposes
    10:37:35 OOP
    10:47:46 Tuples
    11:02:16 Classes
    11:10:29 Objects
    11:42:09 __str__
    11:57:13 A quick recap about what written each line does inside the class
    12:00:24 @properties
    12:30:12 Decorators
    12:59:05 Inheritance
    13:13:23 Operation overloading
    13:29:36 Some otrher stuff

    • @StfuSiriusly
      @StfuSiriusly Рік тому

      the whole list is literally written in the description of the video with time stamps..

    • @0rjuela
      @0rjuela Рік тому +1

      @@StfuSiriusly It is, I just needed a bit of detail to get to the point in case of review

    • @JordanFolkz
      @JordanFolkz Рік тому +2

      thank u

    • @MochaRose990
      @MochaRose990 11 місяців тому +2

      thank you! I was looking for something like this :)

    • @iluminatibox9949
      @iluminatibox9949 11 місяців тому +1

      damn, I wish he also goes over lambda, tree,numpy,pandas too

  • @muhammadmalik676
    @muhammadmalik676 10 місяців тому +280

    In order to have a "Coding Mindset", which is essential to flourishing in this field, you must:
    1.) Understand and internalize the fact that no matter what problem, annoyance, or obstacle you face, THERE IS ALWAYS A SOLUTION. You just need to find it.
    2.) Have the humility to accept that you could have made a mistake somewhere, THE COMPILER IS ALWAYS RIGHT

    • @elmourzaeff
      @elmourzaeff 5 місяців тому +24

      no matter what unsolvable complex problem you have, there will always be an Indian guy who solved it 11 years ago and uploaded it to UA-cam

    • @ebotbeatup5741
      @ebotbeatup5741 4 місяці тому +1

      ​@elmourzaeff Can either of you kind people explain why in the video he's able to call a function BEFORE its been defined, and then call main() at the end and it works just fine...?🤔
      Everytime I try that I get an error about it not being assigned. 😢
      Everything I read says this is Improper.
      But he's doing it NO PROBLEM 🤯
      What am I missing?

    • @dieselbstlosesuchenachwahr8151
      @dieselbstlosesuchenachwahr8151 3 місяці тому

      @@ebotbeatup5741 He does not call a function before it is defined. He calls the main() function at the very end of the file which means he calls the functions inside of main() after they are defined.

    • @hypenheimer
      @hypenheimer Місяць тому

      @@ebotbeatup5741 main() is being called after the function has been defined if the line that calls main() is below the function definition

    • @helium999_
      @helium999_ Місяць тому

      ​@@ebotbeatup5741because even tho he is writing main function before the defined function, he is calling main after he defined the function so the function already exists when the main function is being called
      if yours is not working, you must be doing something wrong, sometimes mistakes can be subtle but if you keep trying you'll eventually find it

  • @laodrofotic7713
    @laodrofotic7713 9 місяців тому +72

    This guy KNOWS how to explain things, the true sign of intelligence. Unlike other YT "teachers" that get you more confused than not.

    • @SIPFAM
      @SIPFAM 8 місяців тому

      In simple terms as well.

    • @Giantkiller130-t
      @Giantkiller130-t 2 місяці тому +2

      well he is a professor, so i would hope so

  • @TheKazimChronicles
    @TheKazimChronicles Рік тому +856

    Courses like this from the world's most expensive and costly institutions for free show us the importance of UA-cam.
    I mean that they are making money out of UA-cam through these video courses.

    • @dmitriysyomchenko2203
      @dmitriysyomchenko2203 Рік тому +41

      And the idea that you can learn from an university like Harvard... just like for free!!! Amaze me!

    • @ayushdey5494
      @ayushdey5494 Рік тому +30

      It was already free on a platform called Edx ।।।।

    • @StaticBlaster
      @StaticBlaster Рік тому +21

      @@ayushdey5494 Yeah I'm actually enrolled and auditing this course on Edx. Personally, I think these sites are better than UA-cam because it's more structured plus there's quizzes and tests to see how much you learned.

    • @StaticBlaster
      @StaticBlaster Рік тому +7

      @@ayushdey5494 Also, I should point out that Edx's layout is more focused. UA-cam has all that unnecessary video recommendations which is very distracting.

    • @ayushdey5494
      @ayushdey5494 Рік тому +5

      @@StaticBlaster Btw it is also on UA-cam before on channel called CS50।
      I have completed the course and now learning c to start DSA।।

  • @MarchelVan-vm4pd
    @MarchelVan-vm4pd 10 місяців тому +45

    Day 1 : 1:04:20
    Day 2 : 1:50:15
    Day 3 : 2:46:20
    Day 4 : 3:42:20
    Day 5 : Reviewing from 3:22:00-4:07:10
    Day 6 : 4:41:00( Also making my own calculator and guessing number from 1-100 by generating an random number and using if, Elif and try expect.
    Day 7 : 4:51:45 A little bit busy today, i going out alot. But in the night i learn some with brocode and succesfully finished the fourth lecture. I also upgrade my calculator so it have list of number that it can use to determine the operator.
    Day 8 : 5:30:30. I make my coin flip game base on number using rand.range function , than i ask the user if they want to choose head or tailsz then from the randomize number, it will determine if it head or tails. And then the are part if else that compare if the user input are true or wrong from the randomize number that already being determine head or tails by if else. And i also use while concept to just print to the user input if the input are not head or tails. And lasly print it to the terminal. I will continue my journey today at brocode.
    Day 9 : 6:09:15 Going to continue from brocode now until i done all the basic there.

  • @blessingkhanyile2500
    @blessingkhanyile2500 8 місяців тому +2182

    im 50 years old, i'm new never code before wish me luck. 😃

    • @Rohit-b9q5j
      @Rohit-b9q5j 8 місяців тому +61

      All the best

    • @prekha4914
      @prekha4914 7 місяців тому +22

      Good luck

    • @vaterspiel
      @vaterspiel 7 місяців тому +59

      Same here, im 40 and never code too 🤝

    • @Viralshotzs
      @Viralshotzs 7 місяців тому +39

      All the best grandpa

    • @pedrocunha4322
      @pedrocunha4322 7 місяців тому +19

      You got it don't worry just take your time i aint the sharpest tool and i made it so can you :)

  • @424Alee
    @424Alee 9 місяців тому +135

    Got my First Job Cause of this Course it was a huge begining Thanks.

    • @micheldomenino6367
      @micheldomenino6367 5 місяців тому +23

      Hello, would you like to share what courses you took before, or after this one. before getting your first job?
      thank you.

    • @carsongabriel1949
      @carsongabriel1949 Місяць тому

      ​@@micheldomenino6367 😃 following

    • @sanglish18
      @sanglish18 Місяць тому

      @@micheldomenino6367 I'm also interested in knowing!

  • @dubeyzune
    @dubeyzune Рік тому +1467

    this is some serious charity you guys are doing to young minds ♥️🙏

    • @MrBiscuit696
      @MrBiscuit696 Рік тому +82

      ...and old minds👌🙏👴

    • @dubeyzune
      @dubeyzune Рік тому +58

      @@MrBiscuit696 i am 31 and recently started my coding journey, and to me everyone who is eager to learn has a young mind

    • @timeformegaman
      @timeformegaman Рік тому +19

      I am 40 and love their content t.

    • @saraesmoon
      @saraesmoon Рік тому +15

      45 newbie!

    • @ahmadrandhawa238
      @ahmadrandhawa238 Рік тому +4

      Bro do you guide me a little bit??
      As a beginner what i can do after this video?
      May i watch another beginner video?

  • @tranquilizingrhythms4488
    @tranquilizingrhythms4488 Рік тому +54

    Contents and timeline
    (00:00:00) Introduction
    (00:04:48) Lecture 0 - Functions, Variables
    (01:50:24) Lecture 1 - Conditionals
    (02:46:23) Lecture 2 - Loops
    (04:07:10) Lecture 3 - Exceptions
    (04:51:45) Lecture 4 - Libraries
    (06:09:15) Lecture 5 - Unit Tests
    (07:00:22) Lecture 6 - File I/O
    (08:32:32) Lecture 7 - Regular Expressions
    (10:37:35) Lecture 8 - Object-Oriented Programming
    (13:28:47) Lecture 9 - Et Cetera

    • @edthelazyboy
      @edthelazyboy Рік тому +6

      All these UA-cam lecture videos need to be separated into individual videos in a playlist. Nobody should have to search through a 15+ hour video.

  • @t-uzithehunterxx5879
    @t-uzithehunterxx5879 10 місяців тому +26

    this is one of those videos that proves that studying doesn't need to be tedious, you just gotta make it interesting. i'm watching even the simplest stuff he's teaching just cause he makes it dynamic and interesting to learn.

    • @jamesnoonanyoutube
      @jamesnoonanyoutube 10 місяців тому +1

      Do you know how his terminal is always fresh? I'm getting a lot of extra text, showing the folder where my file is and everything

  • @sen.sanchariii
    @sen.sanchariii 5 місяців тому +14

    10:17 Functions
    11:07 Arguments in functions
    11:38 Side effect of programs
    12:14 Bugs
    19:21 Return values
    20:17 Variables
    21:35 Assignment operator (right to left)
    24:48 Comments
    27:06 Pseudocode
    35:52 str data type
    38:02 print() function
    39:17 Parameters (vs arguments)

  • @yeshueditz..7341
    @yeshueditz..7341 Рік тому +4

    Print input functions
    1:30:50 - def fn
    1:50:40 - conditionals ( if - elif-else)
    2:38:41 - match
    2:47:42 loops
    3:32:30 dictionary
    4:08:11 exception {try,except,else,finally}
    4:53:03 libraries
    5:11:08 command line argument

  • @timkohn4194
    @timkohn4194 Рік тому +1030

    He is such an insanely good instructor. For those who have not had a formal college education before, you should know that having the right professor who can articulate foundational concepts efficiently and clearly to beginner students, while also keeping it interesting, can be very hard to come by. The fact that this course and CS50x have been put up for free is awesome.
    I usually roll my eyes when people just assume something is good because it has an Ivy League name slapped on it, but in this case -- because David Malan -- it is good.

    • @ken-mb5cp
      @ken-mb5cp Рік тому +7

      I learned more from working than from college. Way more.

    • @ahmadrandhawa238
      @ahmadrandhawa238 Рік тому +1

      Sir, please why not making a full video on all string methods?

    • @TechnoBacon55
      @TechnoBacon55 Рік тому +24

      @@ken-mb5cp sure. would you know how a languange works if they just drop you into work? would they have even hired you if you hadn't known what a variable was? of course not.
      obviously work experience is far superior, but you need to learn it somewhere. i'm here because i'm working in finance and want to learn to code for my job, or to possibly look at other opportunities, to broaden my horizon. i can't learn it on the job, and i'm not going to quit to apply for an internship to learn python. they wouldn't even hire me with my current knowledge.

    • @ken-mb5cp
      @ken-mb5cp Рік тому +9

      @@TechnoBacon55 Good valid points sir. A wise man once said: “Learn from those who know”.

    • @amysartbin
      @amysartbin Рік тому +4

      Indeed and Brian Yu also phenomenal instructor as well.

  • @maximus6452
    @maximus6452 9 місяців тому +8

    The fact that this guy teaches programming with Python with such passion is motivating, massive thanks.

  • @UnCanny_
    @UnCanny_ 7 місяців тому +2

    SIMPLE ONE
    ⭐ Course Contents ⭐
    (00:00:00) Introduction
    (00:04:48) Lecture 0 - Functions, Variables
    (01:50:24) Lecture 1 - Conditionals
    (02:46:23) Lecture 2 - Loops
    (04:07:10) Lecture 3 - Exceptions
    (04:51:45) Lecture 4 - Libraries
    (06:09:15) Lecture 5 - Unit Tests
    (07:00:22) Lecture 6 - File I/O
    (08:32:32) Lecture 7 - Regular Expressions
    (10:37:35) Lecture 8 - Object-Oriented Programming
    (13:28:47) Lecture 9 - Et Cetera

  • @alirezarashedi9990
    @alirezarashedi9990 19 днів тому +2

    This course is just what you need for starting programming
    and if you are worried about forgetting it there are some problem sets in the cs50 official website and also a certification if you want
    10/10

  • @chickenoodle3397
    @chickenoodle3397 10 місяців тому +13

    Day 0, 1:20:00
    Day 1, 1:58:14 (did 30 minutes of self study)
    Day 2, 2:41:43 (reviewed lesson code, and learnt the definition of syntax. Watched a Bro Code video on "Python calculator program" which simply uses if statements and serves as practice.)
    Day 3, 2:54:36 (today will be a short break day)
    Day 4, 3:32:24 (while loop, for loop, list[new datatype], range()[expects interger values], function, return, list, len, dict)
    Day 5, 3:32:24 today I studied and applied my knowledge, it's best to do so for the next couple days to cement my knowledge. I made a calculator with a list [] of my operators and used a while loop for users to input their number, operator, then 2nd number and if statements
    Day 6, 3:32:24 I made a dice roller, which I imported the random module and used a for loop to roll dice from my list 1-6, 5 times cause that's how many dice you roll for yahtzee. Trying to learn how to implement conditions you reach, like 4 of a kind and print that you've got a 4 of a kind.
    Day 7, 4:07:10 I made a spending tracker to project my bank account balance if I spent $20 over my daily income across x amount of days using a for loop.
    Day 8, 4:07:10 I think I'm gonna hop to a new tutorial and actually build a foundation, I understand and am able to read code. But I can't for the life of me create good and original code. I can look at code and take from it and create something out of it at my best. I used code wars 8kyu for about 1 1/2 hours, it's mostly things about basic math.
    Day 9, 4:07:10 some more code wars I'm pretty confident in the 8th rank so far. The 7th rank will be quite a bit more difficult but I'll keep trying and learn / cover some more important topics and apply it.
    Day 10 4:07:10 More codewars practice a little a day this is a life long career
    Day 11 4:07:10 I made my own rock paper scissors game completely from scratch, with little help only needed to reference a prior project on dice rolling implementing the random module and using it "random.choice"
    Day 11 4:37:10 The course is much easier now that I applied my previous knowledge of loops I feel like I'm one step ahead.

  • @lqwang2044
    @lqwang2044 6 місяців тому +2

    For personal use:
    1:50:35 第二节 Conditionals
    2:46:23 第三节 Loop
    4:07:29 第四节 Exceptions
    4:52:05 第五节 Libraries
    6:09:34 第六节 Unit Tests
    7:00:27 第七节 File I/O

  • @janitholagama4695
    @janitholagama4695 Рік тому +66

    Malan is such an amazing instructor, teaching he is doing is unparalleled. I simply cannot stop watching his lectures.

  • @MrOxford
    @MrOxford 7 місяців тому +13

    6hrs in and I love how clear his examples are and explanations are of every part. What a wonderful job you did here professor. I’m definitely grateful for this resource, and hope you do many more in the future.

    • @aka-Monster01
      @aka-Monster01 6 місяців тому

      where you are now
      i was at 8hrs but left for 3 weeks & now its taking time to recover

  • @itsvictoroyedeji
    @itsvictoroyedeji 7 місяців тому +12

    I dropped everything and watched the entire nearly 16 hour video in 1 week! One of the best videos ever.

    • @Dorinta69
      @Dorinta69 7 місяців тому +2

      you learn something in 1 week ?

    • @MrDavidablake
      @MrDavidablake 20 днів тому

      All you did was watch the video when you could have learned so much?

  • @FocusFullon
    @FocusFullon Рік тому +8

    Hi friends,
    for those of you who are scared to do this course let me tell you
    I too am a beginner in python coding and have never done any kind of coding prior to this. Right now i have opted out for python programming in one of my electives in University. So i have my classes going on in college and here i am learning from this video as well.
    I have observed something. It is that this course is fast paced. And often you will feel confused. But if you watch the part you didn't understand multiple times and focus in what the teacher is saying, you definitely will be able to grasp the meaning. And you donot need to understand 100% of the entire video. But definitely try your best to understand as much as possible.
    Also watch and learn from this video in parts. Have a schedule like you will watch this video 4 times a week and Every time you will cover atleast 40mins of it. In this way it won't become too much to deal with and also you will have a good enough pace

  • @novagritX
    @novagritX 4 місяці тому +6

    This is incredible. His teaching is, of course, the best! But what I appreciate even more is his attitude towards answering questions. He never says "That is out of scope for the course" or that "it cannot be discussed at the moment". He always provides clear answers without any judgment, making it easy for all students to understand. I can tell students feel safe asking any question without fear of seeming foolish. I have so much respect for Professor David Malan. I've never met a teacher like him in my life. Love him so much.

  • @apoorvasachan9022
    @apoorvasachan9022 Рік тому +139

    ⭐Course Contents⭐
    (00:00:00) Introduction
    (00:04:48) Lecture 0 - Functions, Variables
    (01:50:24) Lecture 1 - Conditionals
    (02:46:23) Lecture 2 - Loops
    (04:07:10) Lecture 3 - Exceptions
    (04:51:45) Lecture 4 - Libraries
    (06:09:15) Lecture 5 - Unit Tests
    (07:00:22) Lecture 6 - File I/0
    (08:32:32) Lecture 7 - Regular Expressions
    (10:37:35) Lecture 8 - Object-Oriented Programming
    (13:28:47) Lecture 9 - Et Cetera

    • @user-ld2vh2te5l
      @user-ld2vh2te5l Рік тому +1

      it's I/O not 1 😅

    • @apoorvasachan9022
      @apoorvasachan9022 Рік тому +1

      @@user-ld2vh2te5l Fixed, I didn't notice it while copying from description 🥲

  • @Teejito
    @Teejito Рік тому +67

    David really is a great teacher, as someone who is somewhat new and also hates school, this man knows exactly what he is doing. He provides examples as bad, good, better, and best to really give you an idea on how a programmer should think.

  • @mootal2812
    @mootal2812 Рік тому +12

    Professor Malan is a really clear concise teacher! Best Python course for beginners.👍👍👍

  • @taimur4148
    @taimur4148 8 місяців тому +1

    ⭐ Duration of Lessons ⭐
    Lecture 0 - Functions, Variables: (01:50:24) - (00:04:48) = 1 hour 45 minutes 36 seconds
    Lecture 1 - Conditionals: (02:46:23) - (01:50:24) = 0 hours 55 minutes 59 seconds
    Lecture 2 - Loops: (04:07:10) - (02:46:23) = 1 hour 20 minutes 47 seconds
    Lecture 3 - Exceptions: (04:51:45) - (04:07:10) = 0 hours 44 minutes 35 seconds
    Lecture 4 - Libraries: (06:09:15) - (04:51:45) = 1 hour 17 minutes 30 seconds
    Lecture 5 - Unit Tests: (07:00:22) - (06:09:15) = 0 hours 51 minutes 7 seconds
    Lecture 6 - File I/O: (08:32:32) - (07:00:22) = 1 hour 32 minutes 10 seconds
    Lecture 7 - Regular Expressions: (10:37:35) - (08:32:32) = 2 hours 5 minutes 3 seconds
    Lecture 8 - Object-Oriented Programming: (13:28:47) - (10:37:35) = 2 hours 51 minutes 12 seconds
    Lecture 9 - Et Cetera: (15:57:47) - (13:28:47) = 2 hours 29 minutes 0 seconds

  • @johnadepelumi93
    @johnadepelumi93 Рік тому +202

    literally less than an hour after I searched for a full python course on youtube, FCC decided to drop one.
    What a miracle.

    • @felipecavalcante6203
      @felipecavalcante6203 Рік тому +11

      ME TOO! amazing... I was looking for a 4 hours duration course, and then I saw this new video from today *-*

    • @DrMocktopus1
      @DrMocktopus1 Рік тому +1

      Godspeed

    • @andreademartinis3263
      @andreademartinis3263 Рік тому +2

      MAYBE because a python video tutorial comes out every hour

    • @insist1754
      @insist1754 Рік тому +2

      this shows how many people are getting started with python !!

    • @nandakumar3695
      @nandakumar3695 Рік тому +1

      Please comment again after you complete the whole 16 hrs vedio as a review.

  • @angelasantos8956
    @angelasantos8956 Рік тому +19

    I'm from Brazil and I'm looking for a career change in the IT area. English is not my native language, the video has no subtitles, although the professor David Malan speaks a little fast, I am understanding everything and I am learning a lot. Here is one of the beauties of the internet, democratizing knowledge. Thank you all!

    • @cmavishalsrivastava2565
      @cmavishalsrivastava2565 Рік тому +1

      Just to click on caption button right above to the video, you will have subtitles.

    • @josephpadula2283
      @josephpadula2283 Рік тому +2

      Angela,
      You can play it back slower down to help you
      He does talk fast!

    • @JoaoPecorella
      @JoaoPecorella Рік тому

      Se estiver com qualquer dúvida posso traduzir para você! Ele é demais mesmo.

    • @angelasantos8956
      @angelasantos8956 Рік тому +1

      @@JoaoPecorella Obrigada, mas estou conseguindo acompanhar.

  • @kenkioqqo
    @kenkioqqo Рік тому +56

    Dr Malan should be inducted into the Programming Hall of Fame for his excellent programming teaching skills. He makes programming lessons fun and engaging.

    • @neanea5899
      @neanea5899 Рік тому

      😂

    • @thewolverine7516
      @thewolverine7516 Рік тому

      ​@@neanea5899Why did you laugh? Is Dr. Malan not a good educator?

    • @neanea5899
      @neanea5899 Рік тому

      @@thewolverine7516 no dear. This emoji had nothing to do with the comment, but do you see my previous message about the Love of Jesus.

    • @thewolverine7516
      @thewolverine7516 Рік тому

      @@neanea5899 I do not believe in Jesus.

    • @neanea5899
      @neanea5899 Рік тому

      @@thewolverine7516 you don't believe in Jesus or you don't want to believe in Jesus? Casue there is am ountain of proof to prove the existence of your Creator.

  • @mrrandom5043
    @mrrandom5043 4 місяці тому +21

    Currently 18 and starting my coding journey hoping to become a full stack developer
    Wish me luck and all the best to you all :) 👍🏻

    • @FinnaOla
      @FinnaOla 4 місяці тому +1

      Me too. Good luck man

    • @Demyboy
      @Demyboy 4 місяці тому +1

      Same here. Good luck 🤞

    • @Hamza00987
      @Hamza00987 4 місяці тому

      Same here ❤❤

    • @Xusko
      @Xusko 4 місяці тому +1

      Same here gambate

  • @thomazbp8333
    @thomazbp8333 Рік тому +81

    You can be a master or Phd in CS and still find this lecture extremely pleasant. This is not only about the subject, but how to be a great teacher.

    • @bonaface
      @bonaface Рік тому

      uhhhh you've got a worthless degree if you're rewatching an into to intro CS lecture my guy.

    • @thomazbp8333
      @thomazbp8333 Рік тому +6

      ​@@bonaface First you get knowledge, than you get experience. Than if you can watch Dr. David J. Malan, a professor of one of the top 4# Universities in the World, you get that it is not about "What" it is "why" and "how".
      As I said, it is worth it to watch anything from better people to be a better teacher, even if it is basic math or K-12 essentials.
      Also compared to Havard I think I do have a worthless degree...

    • @TheCuriousCurator-Hindi
      @TheCuriousCurator-Hindi Рік тому

      @@thomazbp8333 you will be a better teacher.

  • @LifeHacksMP
    @LifeHacksMP Рік тому +39

    I'm 31 and just starting coding, this is revolutionary!

  • @Mark-ww9sb
    @Mark-ww9sb Рік тому +20

    The quality of this teacher and this teaching is off the scale. Utterly brilliant. Now I understand why Harvard has such a great reputation. If this course is indicative of the quality of teaching at Harvard, then students at Harvard, whether resident or online, are very fortunate indeed.
    Many thanks David Malan for this superb course.

  • @Thunder_Otaku
    @Thunder_Otaku 3 місяці тому +1

    such detailed course can't exist. bro's pin point explanaing every single thing happening in the code. absolute amazing

  • @georgyurumov8095
    @georgyurumov8095 Рік тому +8

    this is probably the best course in introductory python i have ever seen. really incredible. does David teach any other Python courses? intermediate or advanced level. pure joy to watch him. he is a true maestro.

    • @mee8520
      @mee8520 Рік тому

      7:42:00 Help please! what did he mean by saying sorted by English sentence? I dont get it can you help me😢

    • @emmanuelvakakis1374
      @emmanuelvakakis1374 Рік тому

      @@mee8520The first solution grabs the info from the file (name and house) and puts them all in one string (sentence).
      So, you have for example
      "Ron is in Gryffindor"
      "Draco is in Slytherin"
      Because D comes before R in the alphabet, after the sort, you get
      "Draco is in Slytherin"
      "Ron is in Gryffindor"
      This gives the illusion you have sorted by name.
      You cannot sort separately for name or house, because it is in one string.
      The second solution stores the names and houses first as pairs (dictionary), sorts on names, and then builds the full string or sentence (concatenating after the sort, {name} is in {house}).
      The advantage is you can sort by name or house.

  • @JRay2113
    @JRay2113 Рік тому +378

    This guy speaks for 15 hours straight every 4-6 months. Mad respect to him for that

    • @yashgaud4845
      @yashgaud4845 Рік тому +47

      bro it is a 9 week course each lecture each week on a specific day

    • @wKaransingh
      @wKaransingh Рік тому +73

      @@yashgaud4845I think He was Being Sarcastic.

    • @aatmaDipoBhava
      @aatmaDipoBhava Рік тому +10

      ​@@wKaransingh sarcasm in what sense...he is in mad respect. Might be kid with less exposure, could be a simple mind fella but definately not sarcasm

    • @rayddroll5436
      @rayddroll5436 Рік тому +6

      and you think the students sat there all day?

    • @HighS0ci3ty
      @HighS0ci3ty Рік тому +4

      Is that why he hasn’t changed his outfit?

  • @JeremyJanzen
    @JeremyJanzen Рік тому +255

    I’m not a beginner. But I found the OOP and Unit Testing chapters incredibly useful! This is really gold. Super clear teaching style. Thank you so much for posting this on UA-cam!

    • @NazriB
      @NazriB Рік тому +1

      Lies again? On The Red Dot

    • @trustyaxe
      @trustyaxe Рік тому

      I'm curious...what does your comment mean?@@NazriB

    • @FertonAnhostler
      @FertonAnhostler 11 місяців тому +1

      @@trustyaxe nothing at all

    • @thewolverine7516
      @thewolverine7516 9 місяців тому

      @@trustyaxeIt's a bot. It will spam the same type of comments everywhere starting with "Lies again".

    • @jonathantrevor1340
      @jonathantrevor1340 9 місяців тому

      I have failed to use the pytest. I am seeing an error every time I run pytest test_.....py on my terminal.

  • @xander8584
    @xander8584 Рік тому +7

    THIS DUDES INTRODUCTION WAS FLIPPING AWESOME!!!!

  • @ashraybaral8433
    @ashraybaral8433 6 місяців тому +1

    Just finished it. Took me a week. Very clear explanations. The man's a genius.

  • @Kylefassbinderful
    @Kylefassbinderful 7 місяців тому +4

    If I'm being honest I really like these questions that people are asking.

  • @MadeInPython
    @MadeInPython Рік тому +25

    Finished in two weeks. Very great teacher. Highly recommend this to someone starting out learning Python.

    • @Mr_Rajguru_94
      @Mr_Rajguru_94 7 місяців тому

      why that much time ?

    • @markpozsar5785
      @markpozsar5785 3 місяці тому +4

      @@Mr_Rajguru_94 why not longer? I highly doubt anyone does quality learning if they finish the course that fast.

  • @PaulW-mc5fr
    @PaulW-mc5fr Рік тому +380

    Firstly, a big thank you to the owners of this video for allowing it to be published for free to everyone. If this is Harvard University, then you have achieved the opitomy of a teaching institution to pass on good quality knowledge to the rest of mankind for no reward other than socity's gratitude.
    The team producing the content and video production must also be congratulated for such a superb body of work of which they can be extremely proud. Finally thank you to Dr. Malan for making the presentation so engaging and informative. As others have stated, the quality of the tutor to maintain the audience's attention was key to making this presentation such a success. I have no doubt that this video will become hugley popular over time.
    After binge watching the complete video over the past two days it will likely be a video that i will return to time and again to refresh myself on certain topics. As such, if i could propose a slight amendment to the video without infering any criticism. Would it be possible to add chapters at the beginning of each section and a contents slide at the beginning of the video so that users can jump to roughly the relevant timeline they are interested in without a large amount of scrolling?
    I can only hope that other institutions follow your example and generosity.

    • @mathtube2793
      @mathtube2793 Рік тому +4

      Thanks to everyone one worked on that video

    • @paytyler
      @paytyler Рік тому +14

      I agree. I've noticed in my educational career that the big famous schools have tons of resources that are available freely to the public if they are curious and don't want to pay tuition. MIT, Harvard, Johns Hopkins, UC, others all have stuff for free.

    • @priyanshuvettori5179
      @priyanshuvettori5179 Рік тому +1

      of course it is harvard and it was already available on edx
      fcc just compiled it

    • @ahmadrandhawa238
      @ahmadrandhawa238 Рік тому

      Bro do you guide me a little bit??
      As a beginner what i can do after this video?
      May i watch another beginner video?

    • @willlywillly
      @willlywillly Рік тому +1

      @@paytyler can you give us some links to other universities offering courses on Python?
      Thanks!

  • @LynxesYT
    @LynxesYT Рік тому +16

    Started around 2 weeks before, just completed today, man i can never thank you about this man, you nailed it David Sir, you nailed it. Love from India❤.
    print("See you soon Sir")

  • @AVOWIRENEWS
    @AVOWIRENEWS 9 місяців тому +7

    What a fantastic topic for a course! Harvard's CS50 Introduction to Programming with Python is a great way to delve into the world of programming. Python is such a versatile and user-friendly language, perfect for beginners and experienced coders alike. The concepts and skills learned in this course can open doors to so many exciting opportunities in various fields like data science, web development, and artificial intelligence. Plus, understanding the fundamentals of programming is incredibly valuable in our increasingly digital world. Best of luck to all the learners embarking on this educational journey! 🌟🐍💻

  • @NicholasPalance
    @NicholasPalance Рік тому +50

    It can't be overstated what a great teacher Dr. Malan is. I'm 3 hours in and non-technical. It's all new and a lot but Malan's teaching style is keeping me in the game.

    • @NazriB
      @NazriB 11 місяців тому

      Lies again? Rating Pending USD SGD

    • @Benjamin_Counter
      @Benjamin_Counter 8 місяців тому +2

      How are u doing 5 months later?

  • @JonnyMcSmiff
    @JonnyMcSmiff Рік тому +72

    Let me propose that Dr. David J. Malan is the GOAT, and let me go ahead and also propose that this course is dope AF.

    • @jonnysegway7866
      @jonnysegway7866 5 місяців тому +2

      If you will, allow me to second that!

    • @allenrosa3486
      @allenrosa3486 2 місяці тому

      No need to ask for permission for a proposition sir…. That is DOPE AF

  • @markkennedy9767
    @markkennedy9767 Рік тому +27

    This is really good. He really goes into the details of what's happening behind the code.
    Edit: did the first four hours as a refresher and still learnt a few things. He is an excellent teacher.
    Kinda blown away by how good a teacher he is. Literally everything is crystal clear.
    Also, I love how he called C ugly which it needlessly is indeed.

  • @mootal2812
    @mootal2812 Рік тому +2

    Under Lecture 2 - Loops
    Important data structures...
    List @ 3:21:43
    Dictionary @ 3:32:08
    List of Dictionaries @ 3:43:40

  • @Domitianvs
    @Domitianvs Рік тому +32

    I'm four hours into this and I've already learned more than I did in an entire semester of programming with a really, really, REALLY bad teacher. This is amazing!

    • @hawkg
      @hawkg Рік тому +2

      Glad you are learning

    • @OverDozeMKII
      @OverDozeMKII Рік тому +1

      GPT and github co pilot are great learning tools too to go along with these courses, my only coding background is 20-/+ year ago when i learned visual basic in 6st grade, and 3 hours into this course i was able to use GPT to create a program to convert PDF files into MP3 files, with a GUI then had to rewrite the code cause for some reason GPT gave me code that wasn't compatible with the pyPDF2 3.0.0 library and then made it into an exe that can run on another system

  • @BijouBakson
    @BijouBakson Рік тому +4

    The age of the information. This means, if you want to learn it, chances are very high that someone is teaching it somewhere. Thank you for this.

  • @Andrey-rc6wp
    @Andrey-rc6wp Рік тому +130

    Going through university, in 4 years I had 1 professor that was genuinely excited to teach the topic at hand. Coincidentally, that's the subject I did best at. It's genuinely so refreshing to see someone teaching something while also being engaging and thoughtful. Very well done!
    Just as a side note. Currently on the OOP part. Gosh I hate OOP with a passion. Hoping that David actually explains this properly because I have yet to envounter anyone who has. Seems like every OOP tutorial I watch, its always a mess.

    • @jusuftheeagle6772
      @jusuftheeagle6772 Рік тому +6

      Look up some old stuff by Lings or Bertrand Meyer. Information Structures and OOP in Eiffel. It’s very simple but what people do is think it replaces structured approaches. It doesn’t. It’s horses for courses. Solving a quadratic equation would use structured. OOP would create a single very complicated class/object. Structured would break down the problem into simpler smaller problems. Now if you were modelling an airport with passengers, tickets, arrivals, departures, luggage, etc then that suits OOP.

    • @myYouTubeChannel31
      @myYouTubeChannel31 Рік тому +2

      And, howd it go?

    • @griffer695
      @griffer695 Рік тому +4

      ...and 5 months later...

  • @josejaimecome
    @josejaimecome 13 днів тому

    Good foundation to whom need to know Python. Also, do not stop here, learn tips and tricks, NumPy for arrays, Pandas for dealing with data, important libraries like scikit-learn for Machine Learning and frameworks like Flask and Django for web development. Also, do not forget to choose the path you need follow. Good luck!!!!

    • @Egeuysall
      @Egeuysall 12 днів тому

      Hi, I’m planning to learn flask after this course. Then, HTML,CSS and JS and React for building a full-stack weather app. Do you have any suggestions for me?

  • @Kylian19
    @Kylian19 Місяць тому

    7 hours in, and can't believe how well he can explain the topics. Would recommend for beginners and intermediate coders wanting to learn Python.

  • @pardiedanser
    @pardiedanser Рік тому +144

    So privileged to get to watch this for free. Wish I could have first learned to code with an instructor like David. Very impressive

    • @awrjkf
      @awrjkf Рік тому +5

      Hey, now you are here, and more knowledgeable than before. All that matters 🙂

    • @helenaregir
      @helenaregir Рік тому +1

      Yes we don’t pay about 250000 dollars for semester 😅

  • @davezdgalmancornelius6388
    @davezdgalmancornelius6388 Рік тому +157

    I literally learned more in this video than I did in college. David Malan is such an awesome professor. Thank you FCC and cs50.

    • @jkscout
      @jkscout Рік тому +2

      what have you been up to since college?

    • @ozz961
      @ozz961 Рік тому +9

      What type of college u went to? I definitely learned more python in mine than this video 😂

    • @indethbed2546
      @indethbed2546 Рік тому +2

      all of college?

    • @chajchaallpachu
      @chajchaallpachu Рік тому

      🤔

    • @yestermonth
      @yestermonth Рік тому +1

      ​@@ozz961 Stanford? 🤭

  • @game_with_Dream_On
    @game_with_Dream_On Рік тому +9

    good to see you all who learning it freely......me as a haravard student can confirm this is one of the best course in the whole university.....

    • @prasanth2601
      @prasanth2601 10 місяців тому +4

      Bro's casually flexing 😂

  • @wjjohns04able
    @wjjohns04able 5 днів тому

    I took cs50 and was looking for next steps. I watched an hour lecture intro to cs/python, by another big Ivy League school, and I was honestly surprised how many things they glossed over in that intro class. Cs50 was intense and I certainly got overwhelmed a few times, but I had no idea how good this class really was. Afterwards I immediately wanted to see what other programs these guys offer, and I came across this python class. Now I’ll just take this course and at this point I think I would even look at some of their paid programs. For anybody out there reading this, these breakdowns and this information is extremely well presented and thorough. Good luck!!!

  • @hariomshengage1938
    @hariomshengage1938 5 місяців тому

    3:47:42
    4:17:41 try
    5:26:08 sys
    5:46:47 api
    6:06:25 own library
    6:07:37 __name
    6:23:37 assert
    6:26:55 pytest

  • @benjammin105123
    @benjammin105123 11 місяців тому +7

    Can we just take a minute and appreciate the fact that students pay a big chunk of money to sit in this room and see this lecture and we are getting online for free. Amazing

  • @garywilliams4214
    @garywilliams4214 Рік тому +28

    Dr. Malan is a very animated, and engaging instructor who does a great job of explaining the topic. Be aware that you will find the course VERY fast paced if you are completely new to programming. As an experienced programmer in other languages and wanting to learn Python, I found the pace perfect. Naturally you will need to do a lot of work in Python offline to reinforce these lessons. All in all, a great course and, I suspect, a good example of a Harvard-level course.

    • @rosangelaphoenix1587
      @rosangelaphoenix1587 Рік тому

      do you have any tips on where to find exercises to practice? There are a lot of good online free courses on youtube but none of them give any practise exercises, and i tend to forget what i learnt if i dont practise

    • @SairatMatkal-r2t
      @SairatMatkal-r2t 2 місяці тому

      @@rosangelaphoenix1587 start to do little projects. You'll will come to know where you are facing problems, then solve those problems by googling it. This is a cumbersome & direct process but this is the best way.

  • @lemastertech
    @lemastertech Рік тому +87

    Very interesting to watch this as a self-taught coder and see what new pieces of Information Harvard and Prof. Malan have versus things that just get picked up during a self-taught journey. Another great video thanks FreeCodeCamp and Harvard!

    • @nyustdent
      @nyustdent Рік тому +2

      Any details ? What did you miss self learning

    • @lemastertech
      @lemastertech Рік тому +10

      @@nyustdent Well I am currently halfway through the course but the biggest thing that jumps out at me so far is that self-learning I don't usually get as much into what works versus what's considered 'pythonic'. A lot of the time as a self-taught, if my code was working I didn't spend much time optimizing or really focusing in on the 'OOP' best practices, which is something I'll be working on going forward for sure!

    • @ahmadrandhawa238
      @ahmadrandhawa238 Рік тому +2

      Bro do you guide me a little bit??
      As a beginner what i can do after this video?
      May i watch another beginner video?

    • @sagarsubba9429
      @sagarsubba9429 Рік тому +1

      ​​@@ahmadrandhawa238 I think you are lacking confidence of whether you have learned something or not and not sure of what u didnt miss in this lesson. If thats the case then yes watch another beginner tutorial or watch this again but this time dont rush. Hope i helped...

    • @ahmadrandhawa238
      @ahmadrandhawa238 Рік тому

      @@sagarsubba9429 yes you helped me. Bro if i watched another beginner course and i also understand it so then next what i do? May i watch another begineer course or practice?

  • @omaranwar9459
    @omaranwar9459 3 місяці тому +1

    Having spent some time with Python, I must say this is by far the best video course on UA-cam for Python.

  • @wjjohns04able
    @wjjohns04able 5 днів тому

    I took cs50 and was looking for next steps. I watched an hour lecture and was honestly surprised how many things they glossed over in that intro class. Cs50 was intense and I certainly got overwhelmed a few times, but I had no idea how good this class really was. Afterwards I immediately found this python class, now I’ll just take this course. For anybody out there reading this, these breakdowns and this information is extremely well presented. Good luck!!!

  • @StaticBlaster
    @StaticBlaster Рік тому +10

    I also like his formal diction in his verbal communication.

  • @Shriramkrishnhari
    @Shriramkrishnhari Рік тому +5

    I have seen so much videos "python".
    This video is exclusively the best ever I have watched till now 😃

  • @Ahmed_0Ghaly
    @Ahmed_0Ghaly Рік тому +1

    ‏‪10:20‬‏ functions
    ‏‪11:09‬‏ aguments
    ‏‪1:19:17‬‏ float

  • @tebogomakhudu6401
    @tebogomakhudu6401 3 місяці тому +1

    This guy is an amazing teacher.. makes everything so digestable and fun too. Really props!!!

  • @HistoriasyLeyendasUrbana-gk2go
    @HistoriasyLeyendasUrbana-gk2go 4 місяці тому +14

    i am going through a deep depression because of my actual bad job plus heartbroken af plus family problems and lonelyness. but this course gives me hope for a new carreer path and i already studied it approximately half of it, it is difficult to study for me for my problems but after one month i could sudy well half of it reviewing the topics over and over as i am new, i wish i can finish it and learn a lot and one day work in a better place and start changing my life and end depression. the teacher is great i wish i was able to ask him some of my doubts but still... thank you for doing this great work open for all. greetings to you all from Argentina.

    • @musk-xx
      @musk-xx 4 місяці тому +4

      bro, you got it! Hang in there!. Also starting my python journey n will aim for ML. Wish u luck!

    • @rockstar4127
      @rockstar4127 4 місяці тому +4

      keep going

    • @Alex29196
      @Alex29196 3 місяці тому +1

      You gonna make it, bro.!

    • @manishtikai4456
      @manishtikai4456 3 місяці тому

      My friend, ur on the right path. And if u think it's hard and there is competition. There is no competition your hardwork will make achieve alot. Keep going. Well wishes from suriname🙏🫂

    • @tebogomakhudu6401
      @tebogomakhudu6401 3 місяці тому +1

      Just stick to it... and don't loose hope you already taken the first step and put your foot in the door you done good. Think of it this way just by starting to learn coding you knowing know more the 95% of the worlds population in terms of programming that's something to be proud of. So let's make even bigger stride and I promise you will regain your confidence and improve your life

  • @Hilo197-f8u
    @Hilo197-f8u 4 місяці тому +3

    I am 50 and have started coding recently, hopefully I am going to learn a lot from this

    • @BrandyWiseNL
      @BrandyWiseNL 3 місяці тому

      How are you doing now?

    • @SairatMatkal-r2t
      @SairatMatkal-r2t 2 місяці тому +1

      Sir start from CS 50 course by the same professor. This is a bit fast pace course for the beginner.

    • @SairatMatkal-r2t
      @SairatMatkal-r2t 2 місяці тому +1

      @@BrandyWiseNL If you are facing problems with this course start with CS50 course that's the best course for introduction to programming.

  • @TN-lz8qs
    @TN-lz8qs Рік тому +2

    I study physics and we have to be able to programm, but since our university seems to think that there are no people incapable of programming the lecture is not intended to teach python, but rather how to apply it. So this course is saving my ass, thanks a lot for putting such great educational content online!

  • @vickyvirat5166
    @vickyvirat5166 Рік тому +11

    Great Python tutorial! 🙌 The instructor did an exceptional job of breaking down complex concepts into bite-sized, understandable pieces.

  • @krazyxki
    @krazyxki 8 місяців тому +4

    *Duration of Lessons*
    Lecture 0 - Functions, Variables: (00:04:48) - (01:50:24) = *1 hour 45 minutes 36 seconds*
    Lecture 1 - Conditionals: (01:50:24) - (02:46:23) = *0 hours 55 minutes 59 seconds*
    Lecture 2 - Loops: (02:46:23) - (04:07:10) = *1 hour 20 minutes 47 seconds*
    Lecture 3 - Exceptions: (04:07:10) - (04:51:45) = *0 hours 44 minutes 35 seconds*
    Lecture 4 - Libraries: (04:51:45) - (06:09:15) = *1 hour 17 minutes 30 seconds*
    Lecture 5 - Unit Tests: (06:09:15) - (07:00:22) = *0 hours 51 minutes 7 seconds*
    Lecture 6 - File I/O: (07:00:22) - (08:32:32) = *1 hour 32 minutes 10 seconds*
    Lecture 7 - Regular Expressions: (08:32:32) - (10:37:35) = *2 hours 5 minutes 3 seconds*
    Lecture 8 - Object-Oriented Programming: (10:37:35) - (13:28:47) = *2 hours 51 minutes 12 seconds*
    Lecture 9 - Et Cetera: (13:28:47) - (15:57:47) = *2 hours 29 minutes 0 seconds*

    • @hiraksarma3068
      @hiraksarma3068 8 місяців тому

      Timing is messed up in some chapters.

    • @krazyxki
      @krazyxki 8 місяців тому

      @@hiraksarma3068 Hi there! The timing is in reverse order, but these are the exact segments as in the video. I can reverse the order if that helps. Edit: I put in ascending order instead of descending order, I think that was causing confusion. The segments and amount of time are still correct. I just double checked.

    • @hiraksarma3068
      @hiraksarma3068 8 місяців тому +1

      @@krazyxki I just checked you are correct it was in reverse order so confused me a bit, now it looks good, thanks 👍

  • @cyb3rkahn
    @cyb3rkahn Рік тому +6

    David j.malan is such an outstanding teacher. I loved him since attended his first cs50 course..

  • @RoleosDados
    @RoleosDados 3 місяці тому

    Just controlling, doing one topic per Sunday.
    (00:04:48) Lecture 0 - Functions, Variables ✅ at 11/08/2024
    (01:50:24) Lecture 1 - Conditionals
    (02:46:23) Lecture 2 - Loops
    (04:07:10) Lecture 3 - Exceptions
    (04:51:45) Lecture 4 - Libraries
    (06:09:15) Lecture 5 - Unit Tests
    (07:00:22) Lecture 6 - File I/O
    (08:32:32) Lecture 7 - Regular Expressions
    (10:37:35) Lecture 8 - Object-Oriented Programming
    (13:28:47) Lecture 9 - Et Cetera

  • @MinooDaneshmandi
    @MinooDaneshmandi 8 місяців тому +1

    The logical flow of the tutorial is great, helping memorizing and understanding at the same time. Many thanks.

  • @ACougarHunter
    @ACougarHunter 11 місяців тому +3

    This really is a fantastic course. The information is concise, well structured, and delivered in an easily digestible way. Unlike my intro to C class in 1999, I actually feel like I understand what the code means and also why it’s written that way. I’m now actually excited to try writing my own code. Lots of respect to David and/or the course writer (if it wasn’t David Malan). Thank you.

  • @rachelholen4077
    @rachelholen4077 Рік тому +10

    I’m doing my classes 100% online. So, I don’t get a video to explain Python. Just a book and from there I have to teach myself.
    This video is helping so so much with my Python class. You even go into way more detail than my book. So seriously thank you so much. I am definitely going to be buying some merch.

  • @MPK1881
    @MPK1881 Рік тому +5

    Great way of teaching. Its not just about teaching the concepts, but teaching how to improve upon ones own code that got to be appreciated. Thanks 🙏

  • @Kylefassbinderful
    @Kylefassbinderful 7 місяців тому +1

    21:34 if you have any experience using a TI-82, TI-83, TI-85/86 or TI-84 graphing calculator you can think of a single *=* as a *STO* key, which also means to "assign" or "store" the value to the variable.

  • @DuroDelay
    @DuroDelay 8 місяців тому +1

    Major respect for this guy for standing there and teaching this for almost 16 hours

  • @aka-Monster01
    @aka-Monster01 6 місяців тому +3

    this course is sax doing it from past 2 months and almost at the end of last section -> well well i am trying to be a backend developer i'll update once i become one

  • @mauronunes7408
    @mauronunes7408 Рік тому +2

    Wow, what a masterclass it was! I'm so thankful to have it available for free. It gives an excelent opportunity for people from different backgrounds to have access to this top-quality content.

  • @bonfacenjoroge2311
    @bonfacenjoroge2311 Рік тому +21

    God bless this man and his family.what a wonderful training.

  • @user34802
    @user34802 4 місяці тому +2

    For anyone who has problem of adding two newlines to the students.csv 8:16:00 with csv.writer() or csv.DictWriter(), you should pass newline="" argument to open() function.
    ```
    with open("students.csv", "a", newline="") as file:
    ```
    I think this happens on windows

  • @AmaanABGamer
    @AmaanABGamer Рік тому +22

    It looks so easy to learn python here than any other institution or online course.. ❤️ Outstanding 🔥

  • @SelfEngine101
    @SelfEngine101 Рік тому +64

    I recommend everyone who wants to learn Python quickly to read the book "Python Crash Course" and watch this full course. Additionally, it's important to practice what you have learned from these resources.

    • @Henryseaman9
      @Henryseaman9 Рік тому

      9😅😮

    • @mesney-ip3gs
      @mesney-ip3gs Рік тому +1

      Where is it available online for free?
      Who is the author?

    • @TheTacoExpress82
      @TheTacoExpress82 Рік тому +1

      Thanks for that. Just ordered. Other comment in this feed... It's called Google.

  • @Beyond_the_Algorithm
    @Beyond_the_Algorithm Рік тому +15

    It is absolutely incredible that you are providing free access to something like this, extremely engaging - A full on classroom experience with an interactive teaching environment and easy to understand.
    Thankyou!

  • @emincanp
    @emincanp 2 місяці тому +1

    If the instructor wasn't reiterating what the others were saying, I wouldn't be understanding them at all. It's a good skill to have.
    6 hours in, and I had to say it as I have been holding it for far too long.

  • @shahwezkhan4984
    @shahwezkhan4984 9 місяців тому

    First day 1:30:50
    second day 2:46:16
    third day 3:58:19
    Forth day 4:51:14
    Fifth day 6:09:26

  • @독자적인이름
    @독자적인이름 Рік тому +10

    OMG, I studied python about 6 years(include my two years in Navy) this lecture is exactly perfect. it shrinks almost my 3 years into 15 hours

    • @smftrsddvjiou6443
      @smftrsddvjiou6443 Рік тому +1

      Really ? What have you done in the last 3 years ?

    • @독자적인이름
      @독자적인이름 Рік тому +4

      @Smftrsd Dvjiou I've done python all by my self so it is relatively slow and unstructured. And my core work is neural network and mostly this lecture is the best I've ever seen!!

    • @ahmadrandhawa238
      @ahmadrandhawa238 Рік тому

      Bro do you guide me a little bit??
      As a beginner what i can do after this video?
      May i watch another beginner video?

    • @독자적인이름
      @독자적인이름 Рік тому

      @Ahmad Jutt I strongly recommend you to do your own project. Use new features every time and always searching with Google or gpt. I hope this can help you

  • @dhruvachandra8210
    @dhruvachandra8210 Рік тому +56

    I felt bad that the course end too fast even after watching for 15 hours. It was such a joy to watch and learn!

    • @SportsSimp
      @SportsSimp Рік тому +2

      did you learn anything that stuck?

    • @FronYxTreme
      @FronYxTreme Рік тому +2

      I’m curious too regarding the reply

    • @dhruvachandra8210
      @dhruvachandra8210 Рік тому +15

      Yes, I tried majority of the examples along with video, now I feel more comfortable with python, i learnt python 8 years back I took course as a refresher, if you ask what I get of it using lists, sets tuples, dictionaries, oops way of creating objects, regex etc are few of them

  • @kev0dev
    @kev0dev Рік тому +6

    Thanks for posting! I remember about two weeks back this was uploaded and removed :( so glad it is back!

  • @AkashChowdhuryAkash
    @AkashChowdhuryAkash 19 днів тому +1

    6hrs done 👍 so far so good I learned a lot of things better then 90% tutorials on UA-cam

  • @sergeivanov-x7q
    @sergeivanov-x7q Місяць тому +1

    i struggle focusing and this has helped allot the explaintions are clear unlike some other courses ive watched