Idiomatic Python: Iterating Dictionaries

แชร์
ฝัง
  • เผยแพร่เมื่อ 1 ส.ค. 2024
  • In this video we take a look at how to write more Pythonic code by leveraging dictionary views rather than key lookups when iterating over dictionaries.
    #mathbyteacademy #python
    Code for this Video
    ===================
    Available in GitHub blog repo: github.com/fbaptiste/python-blog
    Direct link: tinyurl.com/yckhxz76
    My Python Courses
    =================
    - Python 3 Fundamentals (introduction to Python)
    www.udemy.com/course/python3-...
    - Python 3 Deep Dive (Part 1 - Functional)
    www.udemy.com/course/python-3...
    - Python 3 Deep Dive (Part 2 - Iteration, Generators)
    www.udemy.com/course/python-3...
    - Python 3 Deep Dive (Part 3 - Hash Maps)
    www.udemy.com/course/python-3...
    - Python 3 Deep Dive (Part 4 - OOP)
    www.udemy.com/course/python-3...

ความคิดเห็น • 26

  • @ashishsaraswat7867
    @ashishsaraswat7867 10 หลายเดือนก่อน

    Excellet. Fred, I admire your efforts in creating such a quality content.

  • @kaiser2261
    @kaiser2261 10 หลายเดือนก่อน

    Huge fan of yours Fred, thank you.

  • @Nieosoba
    @Nieosoba 10 หลายเดือนก่อน

    great stuff, I will actually use it daily

    • @mathbyteacademy
      @mathbyteacademy  9 หลายเดือนก่อน

      Glad you found it useful!

  • @shadowmind_rex
    @shadowmind_rex 6 หลายเดือนก่อน

    Best Teacher :) !!

  • @ipelezikis
    @ipelezikis 11 หลายเดือนก่อน

    Excellent!!

  • @nasiq
    @nasiq 11 หลายเดือนก่อน +6

    Hi Fred, absolutely love your Python udemy courses. I've completed Part 1 and nearly Part 2. Apologies for repeating a frequently asked question, but I was wondering if you plan on making the part 5 - asyncio course any time soon?
    I'll soon be using it for work and I've become a bit spoiled by the quality + learning efficiency of your courses that I've avoided committing to other resources online.

    • @mathbyteacademy
      @mathbyteacademy  11 หลายเดือนก่อน +1

      Glad you like the videos!
      I don't have plans for async yet, sorry.

    • @oguz-k8317
      @oguz-k8317 11 หลายเดือนก่อน

      @@mathbyteacademy Do you have a NEW course planned for UDEMY?

    • @mathbyteacademy
      @mathbyteacademy  11 หลายเดือนก่อน +2

      Next course I intend to do will be async, but have not had the time to focus on that yet.

    • @oguz-k8317
      @oguz-k8317 11 หลายเดือนก่อน

      @@mathbyteacademy well, if you could give an estimated time? :)

    • @oguz-k8317
      @oguz-k8317 10 หลายเดือนก่อน

      @@mathbyteacademy actually next course should be async. I hope the course will be ready as soon as possible.

  • @Parzival659
    @Parzival659 11 หลายเดือนก่อน

    Hi Fred! I've been a big fan of your Udemy courses for a while now, and I really appreciate your clear and engaging teaching style. Your courses have been incredibly helpful to me. I was wondering if you have any plans to create another Udemy course in the near future, specifically one on artificial intelligence? Given your talent for explaining complex topics, I think it would be a valuable resource for many learners, including myself.
    Looking forward to hearing from you, and keep up the great work!

    • @mathbyteacademy
      @mathbyteacademy  11 หลายเดือนก่อน +5

      Hi, thanks, glad you like the courses and videos. I have no time for creating a new Udemy course at the moment - but once I do, it will be on async, not AI (AI/ML is not my area of specialty, so I'm not going to pretend I know everything about it and create a superficial course 😀)

  • @ahmetanbar6346
    @ahmetanbar6346 10 หลายเดือนก่อน

    Hello,
    Firstly, thank you very much for you excellent lessons on udemy&youtube. They are really so valuable content for humanity.
    Sir my question is about the abstract classes. I couldn't find any content for it by you. Do you have any video about it? If you don't and won't have a video about it, I want to ask that what is the position and importance of abstract classes in python? I took your deep dive 4 course, so you can give some references from the content. Thank you very much.

    • @mathbyteacademy
      @mathbyteacademy  10 หลายเดือนก่อน

      Hi, I don;t have any videos on this, and a comment is not quite enough to explain what abstract classes are, or how they might be useful. I'd recommend a really good book "Fluent Python" by Luciano Ramalho that goes in-depth on that topic. Maybe I'll make some TH-cam videos on that in the future, but no immediate plans for it.

  • @experimentalhypothesis1137
    @experimentalhypothesis1137 11 หลายเดือนก่อน

    unfortunattely there is no good in-dpeth course on async in python.. we need to wait to deepdive 5 :(

  • @Space_Monkey_31
    @Space_Monkey_31 10 หลายเดือนก่อน

    Hi fred ... can you make a separate course on data structures and algorithms in python

    • @kaiser2261
      @kaiser2261 10 หลายเดือนก่อน

      +1 - I would love computer science fundamentals courses. python has so much built in for us which is great but also makes it difficult to really dedicate oneself to learning how the methods and algorithms were built. alternatively, if Fred has some resources for us comp sci noobies interested in the theory taught in python, would appreciate that as well :)

  • @archsubs
    @archsubs 10 หลายเดือนก่อน

    Hi Fred, Can you reshare your coupons? The Udemy links have expired. Thanks!

    • @mathbyteacademy
      @mathbyteacademy  10 หลายเดือนก่อน +1

      Here they are:
      www.udemy.com/course/python3-fundamentals/?couponCode=FUNDAMENTALS-SEP2023
      www.udemy.com/course/python-3-deep-dive-part-1/?couponCode=DEEPDIVE-1-SEP2023
      www.udemy.com/course/python-3-deep-dive-part-2/?couponCode=DEEPDIVE-2-SEP2023
      www.udemy.com/course/python-3-deep-dive-part-3/?couponCode=DEEPDIVE-3-SEP2023
      www.udemy.com/course/python-3-deep-dive-part-4/?couponCode=DEEPDIVE-4-SEP2023
      If you're already registered in one or more of my courses on Udemy, you shoudl have gotten a promotional email message with these coupons as well.

    • @archsubs
      @archsubs 10 หลายเดือนก่อน

      @@mathbyteacademy Thank you so very much Sir! I appreciate you taking the time to share this, and so quickly too! Unfortunately, for some reason I am not receiving Udemy promo emails from any instructor. So I do have to ask like this. Thank you once again :)