摘要:
转自:https://www.cnblogs.com/aaronLinux/p/8340281.html 阅读全文
posted @ 2018-06-19 11:05
Presley
阅读(187)
评论(0)
推荐(0)
摘要:
一、获取对应路径下文件的名字 >>> os.path.basename("/etc/sysconfig/selinux") 'selinux' >>> os.path.basename("/usr/local/python3/bin/python3") 'python3' 阅读全文
posted @ 2018-06-19 11:04
Presley
阅读(7553)
评论(0)
推荐(0)

浙公网安备 33010602011771号