How to read your OS in Python - #LearningPython 19
Today I learned a bit more about Python, and how I can get information about my Operational System (OS) with just my code, and, it's actually much simpler than it sounds.
Basically what I do is I import information from my System and then I can use this information for my code.
import platform
just with this import now I can use code to communicate with the computer:
print(platform.processor())
for exemple here, I am printing the Processor of my machine, and I can do much more, like showing my OS, my OS version, architecture and more.
The course in using (it's in Portuguese, but free): https://on.fiap.com.br/local/salavirtual/conteudo-digital.php
If you have any question or suggestion on other topics, feel free to comment down below or ask me in Facebook or Instagram!
Visit my Facebook Page in: http://fb.com/teteusbionicoficial
Visit my Instagram: https://www.instagram.com/teteusbionic/
Visit my Website: http://www.teteusbionic.com.br