os.Path.homedir

The os.Path.homedir method is used to return the path to the HOME directory of the current user. The syntax of the function is as follows:

 

CALL os.Path.homedir() RETURNING home_dir

 

where:

ยท         home_dir = a string containing the full path to the user HOME directory.