os.chdir() 方法用于改变当前工作目录到指定的路径。
语法
chdir()方法语法格式如下:
os.chdir(path)
参数
path — 要切换到的新路径。
返回值
如果允许访问返回 True , 否则返回False。
https://www.runoob.com/python/os-chdir.html
喜欢
(0)
打赏
- 支付宝扫一扫
- 微信扫一扫
Warning: include(/www/wwwroot/fengjinwei.com/wp-content/themes/fj/relatepost.php): failed to open stream: No such file or directory in
/www/wwwroot/fengjinwei.com/wp-content/themes/fj/single.php on line
97
Warning: include(): Failed opening '/www/wwwroot/fengjinwei.com/wp-content/themes/fj/relatepost.php' for inclusion (include_path='.:') in
/www/wwwroot/fengjinwei.com/wp-content/themes/fj/single.php on line
97
最新评论