Get Total Amount of RAM in System using Python September 8, 2020 Python 0 Comments 613 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