@user_directory()

returns a string which is the path of the home directory of the user that runs the program.