PLEASE Learn These 10 Advanced Python Features

Поділитися
Вставка
  • Опубліковано 4 лют 2025

КОМЕНТАРІ • 57

  • @GigelBosket
    @GigelBosket 5 місяців тому +37

    Could you please make a video with FastAPI just like "Python Website Full Tutorial - Flask, Authentication, Databases & More" . I'm learning FastAPI , the documentation provide solid information but your videos are very great because it shows exactly how to connect all that information . I'm sure I'm not the single person wanting this tutorial.

    • @timbrouwers8154
      @timbrouwers8154 5 місяців тому +1

      Why not use Django, since that provides you with all those capabilities

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

      ​@@timbrouwers8154depends on use case not everyone needs that large thing for small tasks. Like if I have to deploy to a lambda i won't use django 😅 there comes fastapi.

    • @billbest
      @billbest 5 місяців тому +3

      Perhaps because FastAPI is more lightweight 🤔

    • @DataPastor
      @DataPastor 5 місяців тому +1

      +1 for this request. Would be interesting.

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

      not sure whether you tried FastHTML or not, all using Python w/o any javascript, it's the lightest one I think. 🙂

  • @ltkdt
    @ltkdt 5 місяців тому +3

    I love this type of videos that helps beginners know how to improve their knowledge considering there are more tutorials aiming towards beginner than intermediate learners.

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

    I love the tips, great job Tim, keep doing it, it's so helpful and thanks a lot.🙂

  • @mak448a
    @mak448a 5 місяців тому +6

    Great! This is more like your old videos!

  • @viveksuryavanshi6165
    @viveksuryavanshi6165 5 місяців тому +3

    Thanks Man. I liked your langchain content a lot and hope more is on the way. Also Please help us with full fast api tutorial.

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

    Bro thanks for all the knowledge you been sharing I've learned so much over the years. I've been watching for about 5-6ish years now and have advanced in my field because of this kind of content thanks man keep up the good work.

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

    Now I know how to create my own context manager. Thanks. I didn't knew it was possible.

  • @vishwanath-ts
    @vishwanath-ts 5 місяців тому +2

    Much needed tutorial, thanks!!

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

    You've gotten Really good with your videos!

  • @DrDeuteron
    @DrDeuteron 5 місяців тому +1

    regarding dunder iter, everything you said was correct, but may be unclear to noobs. You don't need a next method if you're not tracking internal state, so you can out the loop directly in dunder iter:
    def __iter__(self):
    for value in range(self.current, self.end):
    yield value
    works fine, and iter(...) returns a generator which manages the StopIteration for you.
    Now if you need to monitor state, say you're iterating over a list files, then use dunder next and other methods can see self.current in-between next() calls.

    • @TechWithTim
      @TechWithTim  5 місяців тому +1

      The reason you don’t need a next if you use the yield syntax is because that generator function automatically implements next for you. The idea was to go more lower level.

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

      @@TechWithTim no , I get that. Iterables have a dunder iter, iterators have a dunder next. I think this is a subtle python point that needs elucidaiton. I know I've messed it up dozens of times.

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

    Thank you for this helpful video. It's a very informative video

  • @mckaycaptain9672
    @mckaycaptain9672 5 місяців тому +3

    26:30
    "Returning some value, so it will be stored in the _Azz_"
    Without context, it sounds like a joke 😂

  • @AchwaqKhalid
    @AchwaqKhalid 5 місяців тому +10

    -Tech- *Python* With Tim 📺

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

      😅

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

      ​@@StoicismAspects i am waiting until it becomes Mojo with Tim

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

    very useful!

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

    Thank you for your consistent nice videos! They are highly appreciated.
    What editor are you using? It almost looks like Sublime Text theme.
    I really like to work in Sublime Text but also have the nice features of VS Code.
    It almost looks like you are working in VS Code but with a sublime theme?
    Or is it simply Sublime Text you are using?
    Have a great day

  • @AlWardani-k2h
    @AlWardani-k2h 5 місяців тому

    Splendid.. I wish if you can do some videos that cover PyQt6

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

    This guy made me master python
    Thanks bruh

  • @chris281-m1p
    @chris281-m1p 4 місяці тому

    Thanks

  • @ChristopherBruns-o7o
    @ChristopherBruns-o7o 5 місяців тому

    7:38 I feel like the people who review chat gpts logs to help improve the model - should pair with advertisement agencies. It would be like targeted ads.

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

    Thanks 🙏

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

    2 nd. Thanks Tim. I love your videos and easy to follow detailed tutorials.

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

    Thank you sir

  • @aaa-lu7pq
    @aaa-lu7pq Місяць тому

    26:32: "..stored in the as.." got it

  • @DrDeuteron
    @DrDeuteron 5 місяців тому +1

    You called dunder str / repr "descriptors", when they are really 'descriptions'. Descriptors involve dunder get / set, and a video on when/why to use those would be fantastic.

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

    I want to know how you can run code interactivly in vsc😊😊😊

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

    16:13 has nothing to do with the Descriptor Protocol

  • @INJANAY-r2p
    @INJANAY-r2p 13 днів тому

    nice

  • @VthePeople4156
    @VthePeople4156 5 місяців тому +1

    Hi bro Start course on ❤❤❤
    AWS AZURE & GCP with devops with all use cases

  • @cerealport2726
    @cerealport2726 5 місяців тому +1

    I use eval() a lot when iterating through a list of strings and I do not know the names of the strings (always user defined).
    By using eval(), each string element in the list becomes an instance of a class, and then has various attributes and methods that can be used individually to do things, then, eventually saved in a database with that user-defined name.
    It's a bit of a quirk of the Python implementation within the software platform that I am required to use, but it does the job that seems not to work any other practical way.
    As far as security goes, the user already has access to the computer, and the local database, so it's really not a problem, but I can see how eval() could become a serious problem in other situations.

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

    Why would I want to use a decorator? It seems to complicate things a lot, so there must be a good reason for them to be in the language.

  • @lahirukariyawasam7865
    @lahirukariyawasam7865 2 дні тому

    Flashing is distracting. Make smooth transition.

  • @lemonade2345-j4e
    @lemonade2345-j4e 2 місяці тому

    If it's not a secret, can you share the name of the font you are using?

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

    Deep python mysticism.

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

    Tim can you please create a video on how to host a python app with data base for free

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

    I assume a, *B, *c is RIGHT OUT! :)

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

      ...and *_, *_, C would be even more fun!

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

    2nd

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

    aitutorialmaker AI fixes this. Learn 10 Advanced Python Features

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

    Tim I love your content but I swear to God your clickbait titles make me go insane

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

    Please stop these "Please do and dont videos" They are rediculous

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

    1 st

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

    चिराग जी कलियुग के हनुमान हैं ?

  • @robel_asefa
    @robel_asefa 5 місяців тому +1

    Unsubscribing... 😢 let me know when you create something worthwhile