获取当前目录
摘要:Java: // 获取当前工作目录 String basePath = System.getProperty("user.dir"); Python: curr_dir = os.path.dirname(__file__) os.path.join(curr_dir,“...”)
阅读全文
posted @ 2023-05-26 08:46
posted @ 2023-05-26 08:46