Get Total Amount of RAM in System using Python September 8, 2020 Python 0 Comments 606 Views psutil library Install psutil library from the command line: pip install psutil Get total amount of RAM in system: from psutil import virtual_memory mem = virtual_memory() totalMem = mem.total print(totalMem)
Leave a Comment
Cancel reply