Python OOP (Object-Oriented Programming) Project for Beginners

Поделиться
HTML-код
  • Опубликовано: 12 янв 2025

Комментарии • 60

  • @tobyroy336
    @tobyroy336 6 месяцев назад +2

    thank you for this lovely video Dave. Clear and succinct with enough repeatability to reinforce key concepts and ideas. Really appropriate for a beginner in OOP.

  • @boualamiSohaib
    @boualamiSohaib Год назад +8

    great video finally getting to catch some of the basics through a project based tutorial wish is a great way to know how to implement the basics thank you for your effort

    • @FATIMAELAMRANI-k5e
      @FATIMAELAMRANI-k5e 4 месяца назад

      great video finally getting to catch some of the basics through a project based tutorial wish is a great way to know how to implement the basics thank you for your effort

  • @ahmedmetwaly9203
    @ahmedmetwaly9203 Год назад +6

    Crystal clear explaining!!
    Thank you for your efforts

    • @hussainalaa2361
      @hussainalaa2361 9 месяцев назад

      account.deposit(amount)
      ^^^^^^^^^^^^^^^
      AttributeError: 'str' object has no attribute 'deposit'
      i cant complete the transfer func, it gives me that error. do u know whats wrong with it, please ?, the thing it didnt happen in the transfer func, before the interstaccount, it happend in the interest acc which is kinda weird

    • @vxintruder
      @vxintruder 8 месяцев назад

      ​@@hussainalaa2361 are you still having this error?

  • @mansbjork5721
    @mansbjork5721 Год назад +4

    This should have more views. I know Python, but never really got into OOP much. This is great learning material, also thanks for talking about those VS Code shortcuts :)

    • @xzex2609
      @xzex2609 Год назад

      Dave is one of the few best in any material he teaches , I hope he make some advance oop projects too , there is a huge gap in between OOP we learn and OOP in action , there is one guy named JimShapedCoding that makes a mine sweeper game . wow I can not even begin to imagine before seeing that video and some other stuff from clear code (atlas) in GUI programming and games that blows your mind how this method of programming can do.

    • @dextro5422
      @dextro5422 Год назад

      Same, I need to accustomed to oop by learning how it's applied in projects

  • @FATIMAELAMRANI-k5e
    @FATIMAELAMRANI-k5e 4 месяца назад +1

    great video finally getting to catch some of the basics through a project based tutorial wish is a great way to know how to implement the basics thank you for your effort

    • @FATIMAELAMRANI-k5e
      @FATIMAELAMRANI-k5e 4 месяца назад

      great video finally getting to catch some of the basics through a project based tutorial wish is a great way to know how to implement the basics thank you for your effort

  • @77jaykb
    @77jaykb 4 месяца назад

    Things are starting to make much more sense watching this. Quality video. Thank you :)

  • @ganeshkachare4754
    @ganeshkachare4754 2 месяца назад +1

    Very informative. Thanx for such lovely guidance

  • @djoksus
    @djoksus Год назад +2

    Thanks for the project. keep up the good work.

  • @FaberLSH
    @FaberLSH 5 месяцев назад +1

    Thank you so much!! I learned a lot!!!

  • @TheMandiyualbo
    @TheMandiyualbo Год назад +2

    This is amazing! What I was looking for to practice classes. Thanks

  • @PaarsahSoroury
    @PaarsahSoroury Год назад +2

    Amazing as always. Thank you so much 🙏🌹❤

  • @fvazquez64
    @fvazquez64 Год назад

    Thanks Dave! great class!!

  • @JeffStevens-gr6zi
    @JeffStevens-gr6zi 4 месяца назад +2

    I don't think the self.withdraw is needed under the transfer method it will still give u d same output

  • @77jaykb
    @77jaykb 4 месяца назад

    Cant the withdraw function in savings account be further shortened by calling super().withdraw(amount + self.fee) ? rather than rewriting the same thing?

  • @sathiyaseelans3035
    @sathiyaseelans3035 9 месяцев назад +3

    Tq sir💌

  • @shafreakinjoss
    @shafreakinjoss 5 месяцев назад +1

    Great tutorial except for the BalanceException(Exception) and SavingsAcct part because i'm still very vague about what's happening there!

  • @saifulislamshanto9660
    @saifulislamshanto9660 Год назад +1

    I love this project so much. I just learned OOP in Python, but I'm not sure how to apply it to a project. I understand now how to apply OOP Concepts to a project. I don't fully understand all of the project's topics 😅. However, I had to repeatedly code in order to understand this 💪💪💪💪💪💪. Thank You SO Much Dave

  • @xenos112
    @xenos112 Год назад +5

    Quick question: What will you teach us after this course?

  • @kreativekrishstudios
    @kreativekrishstudios Год назад

    Hi, Im Krish, Founder of Technolabdigitals from INDIA!!
    Your tutorials are pure coding gold! 🌟 I have a suggestion. How about creating a full tutorial series on building a MENN Stack Subscription Platform? 🚀🔥
    From User Management to Content Control, User Roles to Payment Integration, and Admin Controls to User Authentication, your expertise in these areas is unmatched. And adding a touch of genius by locking content for free users would make it even more exciting! 💡💪
    I can already imagine how your step-by-step approach and knack for simplifying complex concepts will make this tutorial series a developer's dream. Your creativity and attention to detail will shine through as you guide us through the entire process, from start to finish.
    Count me in as one of your eager subscribers eagerly waiting to dive into this MENN Stack masterpiece!

    • @FATIMAELAMRANI-k5e
      @FATIMAELAMRANI-k5e 4 месяца назад

      great video finally getting to catch some of the basics through a project based tutorial wish is a great way to know how to implement the basics thank you for your effort

  • @matlepak9694
    @matlepak9694 4 месяца назад

    interesting .. a savings account has a withdrawal fee in the US ?

  • @willsheffield2000
    @willsheffield2000 Месяц назад

    I'm using this tut to refresh and re-learn some rusty memories. I noticed you use "from bank_accounts import *". Doesn't this pollute oop_project module with bank_accounts attributes? All I had to do to use "import bank_accounts as ba" is add ba, infront of these 2 lines...
    Dave = ba.BankAccount(1000, "Dave")
    Sara = ba.BankAccount(2000, "Sara")
    and there is no namespace pollution. Of course, you might be teaching this in a later module. But folks will be getting into a bad habit. Best to never start a bad habit .
    🙂 But , so far, very nice tut!

  • @utinthein7274
    @utinthein7274 Год назад

    Thank you very much indeed SIR!.
    I Love you.

  • @sonamohialdin3376
    @sonamohialdin3376 Год назад

    So good tutorial thank you

  • @rohulahadi3990
    @rohulahadi3990 Год назад

    Thank you Dave

  • @andylai7107
    @andylai7107 11 месяцев назад +1

    How come class "InterestRewardAcct" does not get
    def __init__(self, initial_amount, acct_name):
    super().__init__(initial_amount, acct_name)
    like class "SavingAcct" ?

    • @hussainalaa2361
      @hussainalaa2361 9 месяцев назад

      account.deposit(amount)
      ^^^^^^^^^^^^^^^
      AttributeError: 'str' object has no attribute 'deposit'
      i cant complete the transfer func, it gives me that error. do u know whats wrong with it, please ?, the thing it didnt happen in the transfer func, before the interstaccount, it happend in the interest acc which is kinda weird

    • @oscarardila4348
      @oscarardila4348 5 месяцев назад

      @@hussainalaa2361 Have the same error. Any solution?

    • @oscarardila4348
      @oscarardila4348 5 месяцев назад

      @@hussainalaa2361 Solved: Just replace "account.deposit(amount)". Write "self.deposit(amount)" because we are just defining our method inside the class.

  • @lsouza1327
    @lsouza1327 Год назад

    hey Dave, what about doing a tutorial about Svelte fire? I love watching your tutorials

  • @eshw23
    @eshw23 Год назад +1

    Hey dave! Great video, if you can do a video on redux toolkit specifically with Typescript that would be awesome, i dont believe you have that yet, along with React query would be a bonus!

    • @coding_university_
      @coding_university_ Год назад

      Dave covered React toolkits. Just not with TS. It was covered in two different videos. Redux video and MERN stack video

  • @dextro5422
    @dextro5422 Год назад

    Can you do more tutorials on python oop with projects

  • @JeffStevens-gr6zi
    @JeffStevens-gr6zi 4 месяца назад

    How do we check Dave account has be deducted after transfer

  • @muhammadshamshadaslam7569
    @muhammadshamshadaslam7569 Год назад +1

    Why InterestRewardAcct doesnt have a super Init method?

    • @hussainalaa2361
      @hussainalaa2361 9 месяцев назад

      account.deposit(amount)
      ^^^^^^^^^^^^^^^
      AttributeError: 'str' object has no attribute 'deposit'
      i cant complete the transfer func, it gives me that error. do u know whats wrong with it, please ?, the thing it didnt happen in the transfer func, before the interstaccount, it happend in the interest acc which is kinda weird

    • @syedistiaq2988
      @syedistiaq2988 9 месяцев назад

      Im not entirely sure, but i read it somewhere that during inheritance, the child class implicitly instantiates the parent's attributes and methods but It's a good practice to have it when adding a new attribute to the __init__ method to avoid any overwrites. Besides modifying a method in a child class.

  • @herocatcartoon
    @herocatcartoon Год назад +3

    Eidul Adha Mubaraak

    • @xenos112
      @xenos112 Год назад +3

      Salam alaykoum, eid mubarak

  • @xl0pate0lx
    @xl0pate0lx Год назад

    I have to run the python file I changed before I can run the file that uses something from a changed file. How can I fix that ? its quite annoying to run every single time all files 1 by 1 ...

    • @xdjqye
      @xdjqye Год назад +1

      not exactly sure what you mean but if it's about saving the file you're making classes and methods in before running the other file that's inheriting those classes then you just have to press ctrl+s (for windows) to save the first file before you move onto the next file which you actually need to run

    • @hussainalaa2361
      @hussainalaa2361 9 месяцев назад

      press ctrl+s on the first file then go to the new one and press the same then run

    • @hussainalaa2361
      @hussainalaa2361 9 месяцев назад

      @@xdjqye ihave a question :
      account.deposit(amount)
      ^^^^^^^^^^^^^^^
      AttributeError: 'str' object has no attribute 'deposit'
      i cant complete the transfer func, it gives me that error. do u know whats wrong with it, please ?, the thing it didnt happen in the transfer func, before the interstaccount, it happend in the interest acc which is kinda weird

  • @alexanderkomanov4151
    @alexanderkomanov4151 Год назад

    Thanks!

  • @ansyita0000
    @ansyita0000 Год назад

    Thanks a lot!!! That's so helpful 🥰🥰

  • @youssefnassib3476
    @youssefnassib3476 9 месяцев назад

    thank you sir

  • @sciencesphysiques7400
    @sciencesphysiques7400 3 месяца назад

    Merci beaucoup

  • @Nelly-Makena
    @Nelly-Makena 6 месяцев назад

    Awesome,

  • @oapazbal
    @oapazbal 11 месяцев назад +1

    Excelente ejemplo

  • @Kiffyreelofficial
    @Kiffyreelofficial 3 месяца назад

    I want to be a hacker. I am totally beginner in the coding world. I have started html course today. Please tell me all those languages in sequence to learn so that I will become a hacker in future. Thank you in advance 🙂.

  • @KuldeepKaur-ly6bz
    @KuldeepKaur-ly6bz 4 месяца назад

    Bank account has no get balance 🥺🥺

  • @shobhitgupta5501
    @shobhitgupta5501 11 месяцев назад

    👏👏