27 """ |
27 """ |
28 Global function to get the name of the directory storing the config data. |
28 Global function to get the name of the directory storing the config data. |
29 |
29 |
30 @return directory name of the config dir (string) |
30 @return directory name of the config dir (string) |
31 """ |
31 """ |
32 if sys.platform.startswith("win"): |
32 cdn = ".eric6" |
33 cdn = "_eric6" |
33 |
34 else: |
|
35 cdn = ".eric6" |
|
36 |
|
37 hp = os.path.join(os.path.expanduser("~"), cdn) |
34 hp = os.path.join(os.path.expanduser("~"), cdn) |
38 if not os.path.exists(hp): |
35 if not os.path.exists(hp): |
39 os.mkdir(hp) |
36 os.mkdir(hp) |
40 return hp |
37 return hp |
41 |
38 |