Python Rich - The BEST way to add Colors, Emojis, Tables and More...
Ғылым және технология
In this video, I go over my Favorite Python Module - Python Rich. Python Rich allows you to add color, emojis, tables, progress bars, and more to your python application.
Official Github: github.com/willmcgugan/rich
☕ Buy me a coffee: www.buymeacoffee.com/bradmorg
0:00 Introduction
0:35 Rich installation and features
2:23 Colored and formated text, emojis, etc.
4:54 Inspect function to help you learn about objects
6:00 Console Print
7:20 Rich Logging Handler for Colored Logging
8:20 Tables
9:04 Progress Bars and Wait Spinners
10:34 Better Looking Errors
Пікірлер: 34
Rich makes my world of coding even more colorful
Mind-boggling module in python. Thanks man. Appreciate your efforts to make such a wonderful demo. 🙏
The return on investment for learning this module looks like it is well worth it. Definitely gonna give it a look.
@DevOpsJourney
3 жыл бұрын
Yeah it's a gem!
This was exactly what I was looking for. Thanks.
This will give some life to my simple terminal game. Thank you very much!
Thanks for sharing! That module looks awesome!
@DevOpsJourney
3 жыл бұрын
You bet!
great video thanks! That progress bar is awesome
Thank You. great content. also it would be great if you create a python playlist for this kind of videos.
very nice, thx
Awesome video
now working!!!!
Thanks sir♥
@DevOpsJourney
3 жыл бұрын
Chhers! 🍻
Powerfull tool
woooow ❤️
Can't get this to work; it just prints ANSI escape sequences and not the colours. Using Python 3.9.5 IDLE?
I have a question. How can I change the spinner?
Is there anyway to change the size of the text?
Only works on vscode terminal, can not get it to work properly on powershell or cmd. It just prints escape sequences, any luck?
Please, can u do some recommendations to uncommon lessons like that? somethings like books, KZread channels and etc...
Hello, very informative video Can I add data dynamically in the table?
@DevOpsJourney
3 жыл бұрын
Yes, you should be able to create rows and columns in the tables dynamically.
@alejanelrosmark7220
2 жыл бұрын
@@DevOpsJourney Hey there, I know I'm late to the party, but I would appreciate a quick explanation of how you could implement dynamic tables. Could you make one from a csv file, for example?
Can you make a CLI program with a table where each row is updated in real time? I'm trying to make a program that helps me track all the bread I bake at work. It should tell me how long each loaf I make throughout the day has been resting.
@Phoenix-zk2oe
9 ай бұрын
i think the best option is curses
How do you get this to work in Pycharm?
@DevOpsJourney
Жыл бұрын
Sorry I use vscode not pycharm so I'm not sure :(
This does not work in Pycharm but it works just fine in Visual Studio Code.
Somehow my "python -m rich" looks not like in all the video's I have seen. I used cmd.exe, or the Windows PowerShell. Colors are limited, no bold or underline text etc, and icons and asian characters are not displayed.
console.log() makes me think of javascript, hm...
And i was happy using colorama... This is colorama on steroids. Sweet.
@DevOpsJourney
2 жыл бұрын
The gigachad version of Colorama for sure!