def getWindowsDir():
buf = ctypes.create_unicode_buffer( ctypes.wintypes.MAX_PATH )
ctypes.windll.shell32.SHGetFolderPathW( 0, CSIDL_WINDOWS, 0, SHGFP_TYPE_CURRENT, buf )
return pathlib.Path( buf.value )
wb_platform_win32_specific.py 文件源码
python
阅读 20
收藏 0
点赞 0
评论 0
评论列表
文章目录