str = 'jquery.js?1234556'
head, center, end = str.partition('(')
print(head)
字符被切分成三个部分,输出头部,就会输出
jquery.js
str = 'jquery.js?1234556'
head, center, end = str.partition('(')
print(head)
字符被切分成三个部分,输出头部,就会输出
jquery.js