dharmit / tinyutils

Small utils to print Linux system info in a prettier format
MIT License
4 stars 8 forks source link

Modular or Functional design #4

Closed vatsalparekh closed 9 years ago

vatsalparekh commented 9 years ago

The file tinyutils.py should be edited in a way that it all the network information can be fetched from just a function of the file network_info(), just as that we can have other functions like user_info(), memory_info(). This will become handy for us in further use because we can call directly the for that specific information. In the main() of the current code, we can call all the functions, so that prints all information of system.