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