why use bytearray when you can just use print or input ?
@Pybites17 күн бұрын
sorry, where was this? can you elaborate a bit please?
@therabidpancake117 күн бұрын
@@Pybites I am saying why would you do it this way when you could write the array print it to the screen and then manipulate the text . Maybe I am just missing something. I followed the instructions religiously and it just printed the numbers to the screen. I am far from a professional so I am not completely sure.
@therabidpancake117 күн бұрын
@@Pybites I am talking about the bytearray function
@Pybites16 күн бұрын
@@therabidpancake1 long time we did this one, I'd need to check ... thanks
@Pybites16 күн бұрын
Where was this in the video, looking at the chapters I don't see this ...
@tylerschat519118 күн бұрын
I finished up Anxious Generation and at the end of the book they offer some great community recommendations and personal recommendations for what to do with your kids near the end. Been struggling to apply some with an adopted teenager and it's definitely an interesting balancing act, but the underlying theme is: There's hope.
@bernardodc963121 күн бұрын
What about PDM?
@Pybites21 күн бұрын
You mean our coaching program? Lol, kidding ... I have not tried that one yet. Have you played with uv?
@bernardodc963118 күн бұрын
@@Pybites I've seen some videos and given up before even trying it. Since I came from nodejs world, PDM made more sense (like PEP 582). Plus, it has a lot of features AND is the 2nd fastest yet (behind uv only). Been liking it so far!
@Pybites17 күн бұрын
@@bernardodc9631 good to know, thanks
@karthickb197323 күн бұрын
man, this whole refactoring playlist is priceless.
@Pybites23 күн бұрын
Thank you, I (Bob) wanna do some more, ideas?
@karthickb197323 күн бұрын
@@Pybites how to decouple and following SOLID
@Pybites22 күн бұрын
@@karthickb1973 SOLID sounds good, maybe a video per letter. Decoupling would be a good one to do a dedicated video on as well. Cheers
@pybobАй бұрын
Need to read! ❤🎉
@GauravsinghrfАй бұрын
thank you
@kam-n9sАй бұрын
How to install from requirements.txt
@PybitesАй бұрын
How do you mean? With pipx you install utils globally, did I mention requiements in this video?
@kam-n9sАй бұрын
@@Pybites i wanted automated install packages from this file
@PybitesАй бұрын
@@kam-n9s can you give me some more context? btw have you checked out uv?
@PybitesАй бұрын
Join our Pybites Community for free: pybites.circle.so/
I use Miro as a tool, really easy and colors availaible :D
@Pybites2 ай бұрын
nice, thanks
@blaiseutube2 ай бұрын
Fwiw, this is true. He is talking about me.
@wa.60062 ай бұрын
Just to make sure i get the "DRY" thing, following this... I conclude that the best practice will be to import my "SQLModel" from my "app" throughout all my files app that require it?
@Pybites2 ай бұрын
would have to look back at the video, do you have a code repo you can share to advice?
@jonathanhle2 ай бұрын
Really helpful. Thank you.
@Pybites2 ай бұрын
Thank you. I should build another bot, they are fun and really helpful for work / teams. What are you building?
@jonathanhle2 ай бұрын
@@Pybites I'm going to try to write a Slackbot/Slack App for an OSS project from Discord called Access. First time trying to write a Slack App/Bot, so it's all fun stuff to me. Thanks again for the video!
@Pybites2 ай бұрын
@@jonathanhle awesome, feel free to share it in our community when you finished your prototype: pybites.circle.so/home
@blaiseutube2 ай бұрын
Yup, that really did happen!
@Pybites2 ай бұрын
😄 📈 😎
@morecents76803 ай бұрын
okay so inspect module works solely for Python source code in the static library... so if I install a module then inspect would not work?
@Pybites3 ай бұрын
Then it works as well 🎉 √ Downloads $ python3 -m inspect requests|head Failed to import requests (ModuleNotFoundError: No module named 'requests') √ Downloads $ source venv/bin/activate # already pip installed requests in this venv (venv) √ Downloads $ python -m inspect requests|head # __ # /__) _ _ _ _ _/ _ # / ( (- (/ (/ (- _) / _) # / """ Requests HTTP Library ... ...
@yeye999503 ай бұрын
Thank you!!
@blaiseutube4 ай бұрын
Yes, you saved them three hours per task, forever. The gift that keeps on giving. If only we could find a way to capture that value on the balance sheet.
@Pybites4 ай бұрын
😍 💡
@arukshasilvie4 ай бұрын
Is im:history required for adding slash commands ?
@Pybites4 ай бұрын
I am not sure, I guess it depends the type of command? Have you tried?
@hamzazahidulislam34904 ай бұрын
Thanks
@achalpathak914 ай бұрын
Another way of doing the same thing is by wrapping the whole code in transaction.atomic() block this way it creates a single operation.
@Pybites4 ай бұрын
Awesome thanks, good to know!
@bubblebath28924 ай бұрын
could you plz explain more on the key and reverse part of sorted ...not available in sort i guess
@Pybites4 ай бұрын
Fortunately they are :) Does this make sense? >>> ll = ["9", 2, "5", 1] >>> ll.sort() Traceback (most recent call last): File "<stdin>", line 1, in <module> TypeError: '<' not supported between instances of 'int' and 'str' >>> ll.sort(key=int, reverse=True) >>> ll ['9', '5', 2, 1]
@artmispotter35714 ай бұрын
this is great, thanks.
@Pybites4 ай бұрын
Thanks, I hope it's not outdated by now. You could also look into Pixi ...
@Pybites4 ай бұрын
Here's the link of full video with Julian Sequeira Episode 154 kzread.info/dash/bejne/hZ6O29SwnLq5aMY.html Please like, share and subscribe www.youtube.com/@Pybites "Join Our Community" pybites.circle.so/
@russellsmejkal3045 ай бұрын
I really with this was available for all people with disabilities as well but thank you for helping are soldiers who didn’t ask to become disabled but payed the price for their country
@Pybites4 ай бұрын
I'm sure we'll get there with time! With our limited resources we're doing what we can, but as we grow, I totally want to make sure we support as many as we can. Thanks for your support!
@GilAiresSilva5 ай бұрын
Amazing work 👌🏻
@Pybites4 ай бұрын
Thank you!
@JoelMathewmatgoogle5 ай бұрын
Hi thanks for the video. Is there a way to override the default colors that bootstrap has? for eg. --bs-primary. I have tried doing it with CSS :root but nothing works.
@Pybites5 ай бұрын
Interesting, so adding a style.css after the bootstrap css one and then doing something like this does not work? body { --bs-primary: #ff5722; }
Пікірлер
Thank you. It was a great help
"Join Our Community" pybites.circle.so/c/start-here
"Join Our Community" pybites.circle.so/c/start-here
"Join Our Community" pybites.circle.so/c/start-here
"Join Our Community" pybites.circle.so/c/start-here
"Join Our Community" pybites.circle.so/c/start-here
why use bytearray when you can just use print or input ?
sorry, where was this? can you elaborate a bit please?
@@Pybites I am saying why would you do it this way when you could write the array print it to the screen and then manipulate the text . Maybe I am just missing something. I followed the instructions religiously and it just printed the numbers to the screen. I am far from a professional so I am not completely sure.
@@Pybites I am talking about the bytearray function
@@therabidpancake1 long time we did this one, I'd need to check ... thanks
Where was this in the video, looking at the chapters I don't see this ...
I finished up Anxious Generation and at the end of the book they offer some great community recommendations and personal recommendations for what to do with your kids near the end. Been struggling to apply some with an adopted teenager and it's definitely an interesting balancing act, but the underlying theme is: There's hope.
What about PDM?
You mean our coaching program? Lol, kidding ... I have not tried that one yet. Have you played with uv?
@@Pybites I've seen some videos and given up before even trying it. Since I came from nodejs world, PDM made more sense (like PEP 582). Plus, it has a lot of features AND is the 2nd fastest yet (behind uv only). Been liking it so far!
@@bernardodc9631 good to know, thanks
man, this whole refactoring playlist is priceless.
Thank you, I (Bob) wanna do some more, ideas?
@@Pybites how to decouple and following SOLID
@@karthickb1973 SOLID sounds good, maybe a video per letter. Decoupling would be a good one to do a dedicated video on as well. Cheers
Need to read! ❤🎉
thank you
How to install from requirements.txt
How do you mean? With pipx you install utils globally, did I mention requiements in this video?
@@Pybites i wanted automated install packages from this file
@@kam-n9s can you give me some more context? btw have you checked out uv?
Join our Pybites Community for free: pybites.circle.so/
"Join Our Community" pybites.circle.so/c/start-here
"Join Our Community" pybites.circle.so/c/start-here
"Join Our Community" pybites.circle.so/c/start-here
"Join Our Community" pybites.circle.so/c/start-here
"Join Our Community" pybites.circle.so/c/start-here
"Join Our Community" pybites.circle.so/c/start-here
"Join Our Community" pybites.circle.so/c/start-here
"Join Our Community" pybites.circle.so/c/start-here
"Join Our Community" pybites.circle.so/c/start-here
"Join Our Community" pybites.circle.so/c/start-here
"Join Our Community" pybites.circle.so/c/start-here
"Join Our Community" pybites.circle.so/c/start-here
"Join Our Community" pybites.circle.so/c/start-here
"Join Our Community" pybites.circle.so/c/start-here
"Join Our Community" pybites.circle.so/c/start-here
"Join Our Community" pybites.circle.so/c/start-here
"Join Our Community" pybites.circle.so/c/start-here
It doesn't surprise me to hear more people are signing up for PDI and PDM. The value I've received in PDM has been indispensible.
Amazing, happy to read that, heard you're crushing it, keep going! 🐍 😍 💪 🔥 📈
I use Miro as a tool, really easy and colors availaible :D
nice, thanks
Fwiw, this is true. He is talking about me.
Just to make sure i get the "DRY" thing, following this... I conclude that the best practice will be to import my "SQLModel" from my "app" throughout all my files app that require it?
would have to look back at the video, do you have a code repo you can share to advice?
Really helpful. Thank you.
Thank you. I should build another bot, they are fun and really helpful for work / teams. What are you building?
@@Pybites I'm going to try to write a Slackbot/Slack App for an OSS project from Discord called Access. First time trying to write a Slack App/Bot, so it's all fun stuff to me. Thanks again for the video!
@@jonathanhle awesome, feel free to share it in our community when you finished your prototype: pybites.circle.so/home
Yup, that really did happen!
😄 📈 😎
okay so inspect module works solely for Python source code in the static library... so if I install a module then inspect would not work?
Then it works as well 🎉 √ Downloads $ python3 -m inspect requests|head Failed to import requests (ModuleNotFoundError: No module named 'requests') √ Downloads $ source venv/bin/activate # already pip installed requests in this venv (venv) √ Downloads $ python -m inspect requests|head # __ # /__) _ _ _ _ _/ _ # / ( (- (/ (/ (- _) / _) # / """ Requests HTTP Library ... ...
Thank you!!
Yes, you saved them three hours per task, forever. The gift that keeps on giving. If only we could find a way to capture that value on the balance sheet.
😍 💡
Is im:history required for adding slash commands ?
I am not sure, I guess it depends the type of command? Have you tried?
Thanks
Another way of doing the same thing is by wrapping the whole code in transaction.atomic() block this way it creates a single operation.
Awesome thanks, good to know!
could you plz explain more on the key and reverse part of sorted ...not available in sort i guess
Fortunately they are :) Does this make sense? >>> ll = ["9", 2, "5", 1] >>> ll.sort() Traceback (most recent call last): File "<stdin>", line 1, in <module> TypeError: '<' not supported between instances of 'int' and 'str' >>> ll.sort(key=int, reverse=True) >>> ll ['9', '5', 2, 1]
this is great, thanks.
Thanks, I hope it's not outdated by now. You could also look into Pixi ...
Here's the link of full video with Julian Sequeira Episode 154 kzread.info/dash/bejne/hZ6O29SwnLq5aMY.html Please like, share and subscribe www.youtube.com/@Pybites "Join Our Community" pybites.circle.so/
I really with this was available for all people with disabilities as well but thank you for helping are soldiers who didn’t ask to become disabled but payed the price for their country
I'm sure we'll get there with time! With our limited resources we're doing what we can, but as we grow, I totally want to make sure we support as many as we can. Thanks for your support!
Amazing work 👌🏻
Thank you!
Hi thanks for the video. Is there a way to override the default colors that bootstrap has? for eg. --bs-primary. I have tried doing it with CSS :root but nothing works.
Interesting, so adding a style.css after the bootstrap css one and then doing something like this does not work? body { --bs-primary: #ff5722; }