def _rc_path():
 rc_file = '.fabricrc'
 rc_path = ('~/' + rc_file)
 expanded_rc_path = os.path.expanduser(rc_path)
 if ((expanded_rc_path == rc_path) and win32):
  from win32com.shell.shell import SHGetSpecialFolderPath
  from win32com.shell.shellcon import CSIDL_PROFILE
  expanded_rc_path = ('%s/%s' % (SHGetSpecialFolderPath(0, CSIDL_PROFILE), rc_file))
 return expanded_rc_path

def _rc_path ( ) : rc_file = '.fabricrc' rc_path = ( '~/' + rc_file ) expanded_rc_path = os . path . expanduser ( rc_path ) if ( ( expanded_rc_path == rc_path ) and win32 ) : from win32com . shell . shell import SHGetSpecialFolderPath from win32com . shell . shellcon import CSIDL_PROFILE expanded_rc_path = ( '%s/%s' % ( SHGetSpecialFolderPath ( 0 , CSIDL_PROFILE ) , rc_file ) ) return expanded_rc_path
return platform-specific default file path for $home/ .