单项选择题
A.sys.argv[0]B.__file__C.os.path.abspath(__file__)D.B和C都对
在Python中,如何判断一个字符串是否全是字母?()A.str.isalpha()B.str.islette...
单项选择题在Python中,如何判断一个字符串是否全是字母?()
A.str.isalpha()B.str.isletter()C.str.onlyletters()D.str.letters()
在Python中,哪个关键字用于定义上下文管理器?()A.withB.contextC.manageD.usi...
单项选择题在Python中,哪个关键字用于定义上下文管理器?()
A.withB.contextC.manageD.using
在Python中,如何获取当前工作目录?()A.os.pwd()B.os.cwd()C.os.getdir()...
单项选择题在Python中,如何获取当前工作目录?()
A.os.pwd()B.os.cwd()C.os.getdir()D.os.getcwd()