def getcwd(fs_encoding=FS_ENCODING, cwd_fnc=os.getcwd):
path = fsdecode(cwd_fnc(), fs_encoding=fs_encoding)<EOL>return os.path.abspath(path)<EOL>
Get current work directory's absolute path.
Like os.getcwd but garanteed to return an unicode-str object.

:param fs_encoding: filesystem encoding, defaults to autodetected
:type fs_encoding: str
:param cwd_fnc: callable used to get the path, defaults to os.getcwd
:type cwd_fnc: Callable
:return: path
:rtype: str