Python+Selenium
文章平均质量分 67
突出重围123
这个作者很懒,什么都没留下…
展开
-
Python基础-List列表
#!usr/bin/env/ python #coding:utf-8 #序列的分片、步长 string = 'hello' print(string[1:3]) print(string[:]) print(string[::-1]) print(string[::2]) #序列的加法、乘法、成员资格 str = 'e' str2 = 'ert' l原创 2016-09-12 20:57:35 · 339 阅读 · 0 评论 -
Python基础-String字符串
#!usr/bin/env/ python #coding:utf-8 #1.单双引号转义及字符串拼接、前台界面输入 print('hello') print("word") print('hello'' word!') print('hello'+' word') print('hel\"lo') ''' name = input('Please inp原创 2016-09-12 19:33:19 · 276 阅读 · 0 评论 -
Python基础-dict字典
#!usr/bin/env/ python #coding:utf-8 #dict字典 items = [('name','lichanglin'),('age',24)] print(items) print(dict(items)) dict1 = dict(name = 'wangwang',age = 42) print(dict1)原创 2016-09-12 22:00:30 · 225 阅读 · 0 评论 -
Python基础-正则表达式
额外额外他原创 2016-09-13 07:33:48 · 239 阅读 · 0 评论