随笔分类 -  python

python学习路程1
摘要:常用的转义字符还有: 任务 请将下面两行内容用Python的字符串表示并打印出来: Python was started in 1989 by "Guido". Python is free and easy to learn. 脚本实现: s = 'Python was started in 19 阅读全文

posted @ 2018-09-07 11:40 tianlintest 阅读(154) 评论(0) 推荐(0)

python设置路径值时为什么要输入r
摘要:r:代表处理不转义现象 Python中,u表示unicode string,表示使用unicode进行编码,没有u表示byte string,类型是str,在没有声明编码方式时,默认ASCI编码。如果要指定编码方式,可在文件顶部加入类似如下代码: # -*- coding: utf-8 -*- ut 阅读全文

posted @ 2018-09-06 16:43 tianlintest 阅读(6969) 评论(0) 推荐(1)

各浏览器驱动下载地址
摘要:安装三大浏览器驱动driver 1.chromedriver 下载地址:https://code.google.com/p/chromedriver/downloads/list 2.Firefox的驱动geckodriver 下载地址:https://github.com/mozilla/geck 阅读全文

posted @ 2018-09-06 15:31 tianlintest 阅读(3667) 评论(0) 推荐(0)

python 一个.py文件如何调用另一个.py文件中的类和函数
该文被密码保护。

posted @ 2018-09-06 10:25 tianlintest 阅读(0) 评论(0) 推荐(0)

python在idea常用快捷键整理
该文被密码保护。

posted @ 2018-09-06 09:21 tianlintest 阅读(0) 评论(0) 推荐(0)

学习python时所遇到报错问题1
该文被密码保护。

posted @ 2018-09-05 17:58 tianlintest 阅读(0) 评论(0) 推荐(0)

idea+maven+python+selenium配置搭建
该文被密码保护。

posted @ 2018-09-05 16:36 tianlintest 阅读(0) 评论(0) 推荐(0)

导航