add gitignore and reqs

This commit is contained in:
saqriphnix 2024-04-19 02:58:55 +03:00
parent a56da58b59
commit 64425c66b7
3 changed files with 14 additions and 1 deletions

1
.gitignore vendored Normal file
View file

@ -0,0 +1 @@
.venv

13
main.py
View file

@ -1 +1,12 @@
print("hello lego!")
import psutil
def get_temperatures():
sensors = psutil.sensors_temperatures()
for k in sensors:
print(f"{k}: {sensors[k]}")
if __name__ == "__main__":
get_temperatures()

1
requirements.txt Normal file
View file

@ -0,0 +1 @@
psutil==5.9.8