Python中的split 小细节
Python中的split有两个: str.split() os.path.split()1 str.split(]) 我们最常用到的!
help 信息如下:
<div class="quote_div">split(...)
S.split(]) -> list of strings
Return a list of the words in the string S, using sep as the
delimiter string.If maxsplit is given, at most maxsplit
splits are done. If sep is not specified or is None, any
whitespace string is a separator.
页:
[1]