随笔分类 - python之基础
函数说明
摘要:datesets.py中 anno = annotation.strip().split(" ") 1)split()方法 split() 通过指定分隔符对字符串进行切片,如果参数 num 有指定值,则分隔 num+1 个子字符串 str.split(str="", num=string.count
阅读全文
摘要:1. os.path.dirname(__file__)、os.path.abspath(__file__)、os.path.join()使用 os.path.abspath(file)返回代码文件的所在的目录,不带文件名;os.path.dirname(path)返回path目录或者绝对路径的上一
阅读全文

浙公网安备 33010602011771号