Answers for "Verificar quanto de memória disponível"

0

Verificar quanto de memória disponível

from psutil import virtual_memory
ram_gb = virtual_memory().total / 1e9
print('Your runtime has {:.1f} gigabytes of available RAM\n'.format(ram_gb))

if ram_gb < 20:
  print('Not using a high-RAM runtime')
else:
  print('You are using a high-RAM runtime!')
Posted by: Guest on April-22-2022

Code answers related to "Verificar quanto de memória disponível"

Browse Popular Code Answers by Language