单项选择题

取得当前工作目录的命令是()

A.os.listdir(path)
B.os.getcwd()
C.os.path.isdir(path)
D.os.path.isfile(path)