wangyan188 发表于 2017-4-22 10:48:36

python小记

  http://stackoverflow.com/questions/926946/checking-to-see-if-a-list-exists-within-another-lists
  判断一个list是否存在于另外一个list中
  根据分隔符转字符串为list:
  str.split('sep')
  字符串格式化:
  '%(lang)019s has %(#)03s quote types.' % {'lang': "China", '#':"abc"}
  http://docs.python.org/release/2.5.2/lib/typesseq-strings.html
页: [1]
查看完整版本: python小记