Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR PYTHON

python get user home directory

from pathlib import Path
home = str(Path.home())
Source by stackoverflow.com #
 
PREVIOUS NEXT
Tagged: #python #user #home #directory
ADD COMMENT
Topic
Name
1+5 =