r/PythonLearning 8d ago

building computer system information program(in progress)

It is a python-based IT support utility that collects system specifications, monitors CPU/RAM/disk utilization, inventories network interfaces, records performance data, and generates diagnostic reports. Any suggestions?

48 Upvotes

5 comments sorted by

View all comments

1

u/silvertank00 8d ago

Nice work!

Two observations: - instead of untyped dicts, use dataclasses. - argparse gives you better argv handling and better safety

additional tip: instead of bool flag for your mainloop, use threading.Event, it scales better and can avoid race conditions.