I try to get the username in a variable on mac OS. In mac terminal the code is:
$USER
I tried to do this in python with
import os
os.system('$USER')
The output of these lines give me a number. Any tips for a solution to get the name for mac/python