Skip to content

Instantly share code, notes, and snippets.

@chiaoyaaaaa
Created September 13, 2020 03:41
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save chiaoyaaaaa/6652d09cc9d0f23cfcf914c55052dc1d to your computer and use it in GitHub Desktop.
Save chiaoyaaaaa/6652d09cc9d0f23cfcf914c55052dc1d to your computer and use it in GitHub Desktop.
clean share list
# 把'則留言'和','去掉
for i in range(len(share)):
index = share[i].find('次')
share[i] = int(share[i][:index].replace(',',''))
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment