>>> import os >>> os.getcwd() 'C:\Users\lifei\AppData\Local\Programs\Python\Python36-32' >>> type(os.getcwd) <class 'builtin_function_or_method'>
本文首发于Python黑洞网,博客园同步更新