would be great to run this using a separate thread/so that it can continue in the background whilst running your main program.. otherwise you're stuck in this while loop. But I love the simplicity of this neat graphic - think about showing us a video on that if you can ?
You might have a newline escape sequence in the code. print(f" CPU Usage: |{cpu_bar}| {cpu_usage:.2f}% ", end="") print(f"MEM Usage: |{mem_bar}| {mem_usage:.2f}% ", end=" ") works for me.
Hello ,I’ve copied the program exactly into my MacBook laptop and it gives me “cpu_bar” not defined error ,how can I fix this ,any help would be highly appreciated @NeuroNine
For some reason when I run your code each iteration prints a new line in the terminal instead of rewriting the same line. I'm using python 3.10 and VS Code (I get the same result no matter what I use). What version of python do you use?
Just figured it out. For some reason while using VSCode's terminal minimized on a portrait orientation monitor the effect I described occurs. Otherwise it's fine. Keep up the great work.
I Like Your Videos and wait for new videos, just a little demand for you, Please make a crash course on using telethon for telegram I want to make Bots, But very confused in learning from docs. specifically make on joing voice chat in telegram
I really like this quick little tutorials, very informative
This was fantastic - thanks for the great work and keep it up :)
cool symbols to use for the bar
█
━
Your channel is amazing! It has so many useful tutorials! Thank you for working hard on TH-cam!
would be great to run this using a separate thread/so that it can continue in the background whilst running your main program..
otherwise you're stuck in this while loop. But I love the simplicity of this neat graphic - think about showing us a video on that if you can ?
Amazing content, Awesome. Please keep this up.
3:49 doesn't the division operator in Python always return a float though? For example: type(4 / 2) -> float
It does
That is true, although we can use a double division operator to return an int :)
@@premiumifyme ye
how do you do this with a specific process and not total cpu?
can you show us how to get the cpu and gpu temp?
how did you get it to keep printing on the same line rather than writing a newline everytime it prints?
You might have a newline escape sequence in the code.
print(f"
CPU Usage: |{cpu_bar}| {cpu_usage:.2f}% ", end="")
print(f"MEM Usage: |{mem_bar}| {mem_usage:.2f}% ", end="
")
works for me.
how do you display your usage simultaneously with your other script that you are trying to profile is running?
Similarly i want make for GPU and npu how do I proceed ?
Thanks , i like this fun tutorial
As always nice content! Awesome quick introduction to commandline progress bars! But how can I show the bars below each other?
how can we show resource utlization graph
Hello ,I’ve copied the program exactly into my MacBook laptop and it gives me “cpu_bar” not defined error ,how can I fix this ,any help would be highly appreciated @NeuroNine
What's the simplest way to run your program continuously until the user presses 'q'? input() has a pause, so that doesn't work.
you should film c variant too
can i get memory usage of running apps
is there a repo for it?
what is the name of the software that you are using to create scripts?
What about GPU usage? Do we need another module for that?
How we put this inside pysimplegui ?
For some reason when I run your code each iteration prints a new line in the terminal instead of rewriting the same line. I'm using python 3.10 and VS Code (I get the same result no matter what I use). What version of python do you use?
Just figured it out. For some reason while using VSCode's terminal minimized on a portrait orientation monitor the effect I described occurs. Otherwise it's fine. Keep up the great work.
Great. Thank you 👍
Good content.
Good content. Are there anyway to visualize gpu usage like this tutorial?
!nvidia-smi
I tried in VS code, but i get errors...
Nevertheless great input
Thx 🙏 💪❤️
interesting do a video on screen automate thing on android app please (like win easy game like black jack)
Cool
I Like Your Videos and wait for new videos, just a little demand for you, Please make a crash course on using telethon for telegram I want to make Bots, But very confused in learning from docs.
specifically make on joing voice chat in telegram
Thx_.
█
👍👍👍
1st
Can I get a heart?
i guess you can just read from /proc in linux
█