GUNMA GIS GEEK http://shimz.me/blog/ WScript.Shellãªãã¸ã§ã¯ãã§ã¯SpecialFoldersããããã£ãå¾ããã¨ãã§ããã ãã®ããããã£ã¯windowsã®ç¹å¥ãªãã©ã«ã(ãã¹ã¯ãããããã¤ããã¥ã¡ã³ããªã©)ã®ãã¹ãå¾ããã¨ãã§ããã >>> import win32com.client >>> com = win32com.client.Dispatch("WScript.Shell") >>> com.SpecialFolders("MyDocuments") #ãã¤ããã¥ã¡ã³ãã®ãã¹ãåå¾ u'C:\\My Documents' >>> com.SpecialFolders("Favorites") #ããæ°ã«å ¥ãããã©ã«ãã®ãã¹ãåå¾ u'C:\\WINDOWS\\Favorites' >>> com.SpecialFolders
{{#tags}}- {{label}}
{{/tags}}