I have two things to say: 1. This is a great video (thanks for the great content by the way). 2. in the "Progress Bar" part, it would be much prettier not to print anything and just add the `time.sleep() in the for loop. The result is a beautifully minimal progress bar without the extra lines. :) Cheers mate!
The big libraries usually have a sort of “introduction” section or small snippets of code like this, It’s just that watching it In video is more fun than reading it
Thanx for this tutorial. The styled output looks awesome and the formatted traceback is much nicer than the built-in traceback. PyCharm users don't forget to enable “emulate terminal” in output console option in run/debug configuration to see styled output.
If I want to do `for item in List`, can I do `for item in track(List, ...)` instead to achieve the same effect but with a nicer progress bar? EDIT: I tested it out, you can.
Great video - thanks. Can you tell me please, am I right in thinking this DOES NOT format or give me invitation for INPUT from the user? How do I ask for input using Rich??? I have a horrible feeling that I can not do this! I feel that I need a terminal-user-interface :¬( thanks
You might want to take a look also into `icecream`: ``` - It prints both expressions/variable names and their values. - It's 40% faster to type. - Data structures are pretty printed. - Output is syntax highlighted. - It optionally includes program context: filename, line number, and parent function. ``` github.com/gruns/icecream
hi i have a question, I'm making my own terminal and i've got some ascii text on the top and i wanted to make it green, but rich wont let me, it looks decent don't get me wrong but its highlighting the slashes purple and it's bugging me, any fixes or am i stuck with hints of purple
I love rich (also textual, a TUI from the same dev that heavily makes use of rich). My only problem with this is it doesn't plays nice with terminal output thats not natively styled with rich. Any idea how we can show standard ansi colored terminal output (from another app) with rich as it is supposed to look like? when working with these strings, rich kills all color data and formatting :-/. I even went to the length to write my own pygments syntax highlighter that is supposed to show colored terminal output but it's so painful, unreliable and feels so unnecessary
Your English is quite good, so your pronunciation of "console" sticks out. When pronounced with the stress on the second syllable (conSOLE), it means "comfort (someone) at a time of grief." To refer to a terminal you should pronounce it with stress on the *first* syllable (CONsole). Mach's gut!
I have been looking for a way to make textmode programs in Python, since I messed around with Turbo Pascal in my youth. So I installed the 'rich' library on my Win10 PC. When I type "python -m rich", the colors are less rich (looks like only 13 different colors), the text formats (bold, italic, underline etc) are not showing, just plain basic text. Also the asian characters don't show.
Sounds like english isn't your first language. And it's bugging me when you say console as in the verb(emphasis on the second syllable) rather than console like the noun(emphasis on the first syllable).
This is better if u are building some kind of console application else it just waste of time just practice improving the logic no one cares about this in Industry.
Do you agree that this library makes the output much more beautiful? :)
Ofc
Oh yes! 😎👍👏👏
Please share the code files or links in the description...! It's really Awesome.
I have two things to say:
1. This is a great video (thanks for the great content by the way).
2. in the "Progress Bar" part, it would be much prettier not to print anything and just add
the `time.sleep() in the for loop. The result is a beautifully minimal progress bar without the extra lines. :)
Cheers mate!
Yes of course
This is how every python library should be introduced.
The big libraries usually have a sort of “introduction” section or small snippets of code like this, It’s just that watching it In video is more fun than reading it
Excellent presentation and content.
I use python for 3 years and I wasn't aware of this package. Ty
Wow that is one really cool module. Thanks for bringing this to my attention.
Thanx for this tutorial.
The styled output looks awesome and the formatted traceback is much nicer than the built-in traceback.
PyCharm users don't forget to enable “emulate terminal” in output console option in run/debug configuration to see styled output.
Thank you so much bro. This truly helped to change my console look for the better.
Great Tutorial. Thanks for explaining it in an enjoyable way
Excellent video, I
I am learning python even though I can only say that I know the most basic, but even so I feel that I need more to learn Python
Python is so much fun, take it easy tho!
Nice tour! Thanks.
very easy to learn and super useful module.
This is fantastic....!!! Such colorful print statements. Definitely it's a must to use in projects. Thank you...
Glad you like it!
Just discovered your channel, I love it.
thank you!
Cool.... looking good.... thanks for sharing the tutorial on this package....
Very useful for CLI app, thanks!
yep it's pretty nice :)
This is best for console applications
Just awsome... Thanks alot for the video..
Fun fact: the newest update of pip uses this library, and it looks amazing
Very nice! Thank you!
Thank you !
beautiful module thanks
awsome library... i will definitely use it in my project
Nice!
Great tool! Thank you for sharing!
glad you like it!
Very neat library! Thanks
glad you like it!
If I want to do `for item in List`, can I do `for item in track(List, ...)` instead to achieve the same effect but with a nicer progress bar?
EDIT: I tested it out, you can.
great!
very good video seriously.
Is it possible to generate an output html updating in realtime to see the running code directly in the browser?
Great, thanks
Very useful indeed. Thanks
How does this work across other OSes? Will this work on our primary AIX servers? What termcaps?
What plugin do you use for your ide?
Thanks for the tip.
I need your Hep In progress Bar
Big fan of yours .
Any videos on automation framework for testing plz
Thanks! not yet but maybe in the future
How do you use new line
in console?
Intresting
Great video - thanks. Can you tell me please, am I right in thinking this DOES NOT format or give me invitation for INPUT from the user? How do I ask for input using Rich??? I have a horrible feeling that I can not do this! I feel that I need a terminal-user-interface :¬( thanks
hi! can you show how to setup your terminal?
I will definitely use it for debugging [ its hard to find print("function called") in console 😁]
Nice 👍🏻
You might want to take a look also into `icecream`:
```
- It prints both expressions/variable names and their values.
- It's 40% faster to type.
- Data structures are pretty printed.
- Output is syntax highlighted.
- It optionally includes program context: filename, line number, and parent function.
```
github.com/gruns/icecream
Does it work in Jupyter Lab?
am I dreaming? is this real? this is some game changing stuff!
You got a sub
Great channel
Yeah thanks :)
Is beautiful :o
Can i create full screen app with this library?
how it works on input?
Beautiful! 😍
hi i have a question, I'm making my own terminal and i've got some ascii text on the top and i wanted to make it green, but rich wont let me, it looks decent don't get me wrong but its highlighting the slashes purple and it's bugging me, any fixes or am i stuck with hints of purple
how to do this with inputs?
Hey man can you suggest how to print pandas data frames in styles over cmd ?
I'm not using jupyter notebook. Would love the cmd option.
did you find out?
no
What other terminal emulators does this work with ?
I love rich (also textual, a TUI from the same dev that heavily makes use of rich). My only problem with this is it doesn't plays nice with terminal output thats not natively styled with rich. Any idea how we can show standard ansi colored terminal output (from another app) with rich as it is supposed to look like? when working with these strings, rich kills all color data and formatting :-/. I even went to the length to write my own pygments syntax highlighter that is supposed to show colored terminal output but it's so painful, unreliable and feels so unnecessary
hmm no idea. maybe you can open a question in the github repo
how do i do the blinking text?
i feel i am indebted to u
Can you use rich on G Colab. Thank you kindly
Your English is quite good, so your pronunciation of "console" sticks out. When pronounced with the stress on the second syllable (conSOLE), it means "comfort (someone) at a time of grief." To refer to a terminal you should pronounce it with stress on the *first* syllable (CONsole). Mach's gut!
how does your mac's terminal has so many colors? I have been trying to do with my terminal, but all in vain. Help me with this please.
I customized it with iTerm2 and Oh My Zsh
@@patloeber thanks a lot
NICE
I have been looking for a way to make textmode programs in Python, since I messed around with Turbo Pascal in my youth. So I installed the 'rich' library on my Win10 PC. When I type "python -m rich", the colors are less rich (looks like only 13 different colors), the text formats (bold, italic, underline etc) are not showing, just plain basic text. Also the asian characters don't show.
Best.
nice
What even is the use of javascript anymore python already has console.log()
where are you from?
Germany
It is nice but it should be developed as plugin rather than package
Nice but I don't think I'll need to learn another html
Sir, please python developer learning ROADMAP PATH PLZ for web and app data science, AI plz share pic
Sounds like english isn't your first language. And it's bugging me when you say console as in the verb(emphasis on the second syllable) rather than console like the noun(emphasis on the first syllable).
Hide that you can’t code; with colors!
haha yeah ;)
can you make a tutorial about pytest.🙄
Yes this is on my list
@@patloeber okay.
@@patloeber can you also make a tutorial on debugging using pycharm or VSC IDE? Danke!
This is better if u are building some kind of console application else it just waste of time just practice improving the logic no one cares about this in Industry.