say in on windows 7 using python language: os.path.expanduser(‘~’) gets me ‘E:\Users\san’
and in there is a Documents folder so i can get to it by os.join()
what is it called on MAC OSx or other linux distros?
Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.
Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.
Lost your password? Please enter your email address. You will receive a link and will create a new password via email.
Please briefly explain why you feel this question should be reported.
Please briefly explain why you feel this answer should be reported.
Please briefly explain why you feel this user should be reported.
The users directory in UNIX (Mac OS X) and UNIX-like (Linux, et al.) systems is called “Users”.
In that directory are the account directories. Typically in OS X, you see the one account directory for the owner of the computer, and another called “Shared”. The Shared account is read-write access for everyone.
The Documents directory for the logged in user is in the user account directory. For OS 10.4.11 or earlier, there is no default Documents directory. Some installations (MS Office, for example) create a Documents directory in older OS versions.
Using UNIX pathway marks for a user called Bob Smith…
/Users/bobsmith/Documents