Skip to main content

Module dirs

Module dirs 

Source
Expand description

Access to home and data folder (windows) when running natively or within Node.js

Functions§

data_dir
Returns the platform-appropriate user data directory (e.g. LOCALAPPDATA on Windows), resolved natively or via Node.js, or None if undetermined.
home_dir
Returns the current user’s home directory, resolved natively or via Node.js (os.homedir()), or None if it cannot be determined.