Home | History | Annotate | Download | only in idlelib

Lines Matching refs:userDir

184         userDir=self.GetUserCfgDir()
190 usrCfgFiles[cfgType]=os.path.join(userDir,'config-'+cfgType+'.cfg')
202 userDir = os.path.expanduser('~')
203 if userDir != '~': # expanduser() found user home dir
204 if not os.path.exists(userDir):
206 userDir+',\n but the path does not exist.\n')
211 userDir = '~'
212 if userDir == "~": # still no path to home!
214 userDir = os.getcwd()
215 userDir = os.path.join(userDir, cfgDir)
216 if not os.path.exists(userDir):
218 os.mkdir(userDir)
221 userDir+'\n Check path and permissions.\n Exiting!\n\n')
224 return userDir