def total_physical_memory():
 try:
  return psutil.virtual_memory().total
 except AttributeError:
  return psutil.TOTAL_PHYMEM

def total_physical_memory ( ) : try : return psutil . virtual_memory ( ) . total except AttributeError : return psutil . TOTAL_PHYMEM
return the total number of bytes of physical memory .