useful snippets
General Info
Useful Snippets

14.0.7 Calculate the amount of memory available

Example:

import psutil

# Get a summary of available memory
psutil.virtual_memory()

# save the data as a dict so you can access each element
memory_dict_end = dict(psutil.virtual_memory()._asdict())