如题所述
import osprint(os.getcwd())print(os.getcwd().split('\\')[-1])
import os[x for x in os.listdir() if os.path.isdir(x)]