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.
@@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.
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.
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.
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.
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.
@@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.
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.
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.
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.
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.
Why not use Django, since that provides you with all those capabilities
@@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.
Perhaps because FastAPI is more lightweight 🤔
+1 for this request. Would be interesting.
not sure whether you tried FastHTML or not, all using Python w/o any javascript, it's the lightest one I think. 🙂
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.
Much needed tutorial, thanks!!
I love the tips, great job Tim, keep doing it, it's so helpful and thanks a lot.🙂
This guy made me master python
Thanks bruh
Splendid.. I wish if you can do some videos that cover PyQt6
16:13 has nothing to do with the Descriptor Protocol
Hi bro Start course on ❤❤❤
AWS AZURE & GCP with devops with all use cases
I assume a, *B, *c is RIGHT OUT! :)
...and *_, *_, C would be even more fun!
Unsubscribing... 😢 let me know when you create something worthwhile
boohoo
Define worthwhile
-Tech- *Python* With Tim 📺
😅
@@Abdullo_1124 i am waiting until it becomes Mojo with Tim
Great! This is more like your old videos!
26:30
"Returning some value, so it will be stored in the _Azz_"
Without context, it sounds like a joke 😂
aitutorialmaker AI fixes this. Learn 10 Advanced Python Features
Now I know how to create my own context manager. Thanks. I didn't knew it was possible.
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.
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.
very useful!
Thanks
Deep python mysticism.
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.
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.
@@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.
Thank you for this helpful video. It's a very informative video
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.
2 nd. Thanks Tim. I love your videos and easy to follow detailed tutorials.
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.
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.
You've gotten Really good with your videos!
2nd
Thank you sir
Thanks 🙏
1 st
Tim I love your content but I swear to God your clickbait titles make me go insane
I agree
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.
Tim can you please create a video on how to host a python app with data base for free
चिराग जी कलियुग के हनुमान हैं ?