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

  • @yogeshdharya3857
    @yogeshdharya38572 жыл бұрын

    Rich makes my world of coding even more colorful

  • @dramastar30
    @dramastar303 жыл бұрын

    Mind-boggling module in python. Thanks man. Appreciate your efforts to make such a wonderful demo. 🙏

  • @b1gfreakn678
    @b1gfreakn6783 жыл бұрын

    The return on investment for learning this module looks like it is well worth it. Definitely gonna give it a look.

  • @DevOpsJourney

    @DevOpsJourney

    3 жыл бұрын

    Yeah it's a gem!

  • @greenghost6691
    @greenghost66912 жыл бұрын

    This was exactly what I was looking for. Thanks.

  • @lucasrba
    @lucasrba2 жыл бұрын

    This will give some life to my simple terminal game. Thank you very much!

  • @Rickygonzal3z
    @Rickygonzal3z3 жыл бұрын

    Thanks for sharing! That module looks awesome!

  • @DevOpsJourney

    @DevOpsJourney

    3 жыл бұрын

    You bet!

  • @kosmonautofficial296
    @kosmonautofficial2962 жыл бұрын

    great video thanks! That progress bar is awesome

  • @mrj1997
    @mrj19973 жыл бұрын

    Thank You. great content. also it would be great if you create a python playlist for this kind of videos.

  • @Lunolux
    @Lunolux2 жыл бұрын

    very nice, thx

  • @sarthaknarayan2159
    @sarthaknarayan2159 Жыл бұрын

    Awesome video

  • @siderealvictor9813
    @siderealvictor98133 жыл бұрын

    now working!!!!

  • @aymanmoneim9342
    @aymanmoneim93423 жыл бұрын

    Thanks sir♥

  • @DevOpsJourney

    @DevOpsJourney

    3 жыл бұрын

    Chhers! 🍻

  • @glory9605
    @glory96052 жыл бұрын

    Powerfull tool

  • @margolitapnina6716
    @margolitapnina67162 жыл бұрын

    woooow ❤️

  • @Chris_-nh2ig
    @Chris_-nh2ig3 жыл бұрын

    Can't get this to work; it just prints ANSI escape sequences and not the colours. Using Python 3.9.5 IDLE?

  • @OliOasch
    @OliOasch2 жыл бұрын

    I have a question. How can I change the spinner?

  • @clicksandbeeps61
    @clicksandbeeps612 жыл бұрын

    Is there anyway to change the size of the text?

  • @syedazeemjaved
    @syedazeemjaved2 жыл бұрын

    Only works on vscode terminal, can not get it to work properly on powershell or cmd. It just prints escape sequences, any luck?

  • @pittixixitosilveira3876
    @pittixixitosilveira38762 жыл бұрын

    Please, can u do some recommendations to uncommon lessons like that? somethings like books, KZread channels and etc...

  • @bhagyeshsoni6701
    @bhagyeshsoni67013 жыл бұрын

    Hello, very informative video Can I add data dynamically in the table?

  • @DevOpsJourney

    @DevOpsJourney

    3 жыл бұрын

    Yes, you should be able to create rows and columns in the tables dynamically.

  • @alejanelrosmark7220

    @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?

  • @anzwertree
    @anzwertree2 жыл бұрын

    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

    @Phoenix-zk2oe

    9 ай бұрын

    i think the best option is curses

  • @gedtoon6451
    @gedtoon6451 Жыл бұрын

    How do you get this to work in Pycharm?

  • @DevOpsJourney

    @DevOpsJourney

    Жыл бұрын

    Sorry I use vscode not pycharm so I'm not sure :(

  • @mrmxyzptlk8175
    @mrmxyzptlk8175 Жыл бұрын

    This does not work in Pycharm but it works just fine in Visual Studio Code.

  • @JohnSmith-kd6ip
    @JohnSmith-kd6ipАй бұрын

    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.

  • @mathgeniuszach
    @mathgeniuszach3 жыл бұрын

    console.log() makes me think of javascript, hm...

  • @Mdroudian
    @Mdroudian2 жыл бұрын

    And i was happy using colorama... This is colorama on steroids. Sweet.

  • @DevOpsJourney

    @DevOpsJourney

    2 жыл бұрын

    The gigachad version of Colorama for sure!

Келесі