上一页 1 2 3 4 5 6 7 8 9 ··· 20 下一页
摘要: http://my.oschina.net/u/1024140/blog/188154 阅读全文
posted @ 2016-01-17 16:41 aprial 阅读(145) 评论(0) 推荐(0) 编辑
摘要: copyfrom: http://www.cnpythoner.com/post/263.html 如果给定你一个URL,比如: http://url/api?param=2&param2=4 我们需要获取参数名和参数值的话,那可以用到python标准库urlparse import urlparse def qs(url): query = urlparse.urlpa... 阅读全文
posted @ 2015-12-12 16:47 aprial 阅读(2950) 评论(0) 推荐(0) 编辑
摘要: http://www.iselenium.com/ 阅读全文
posted @ 2015-12-12 12:35 aprial 阅读(383) 评论(0) 推荐(0) 编辑
摘要: copy from: http://www.jroller.com/selenium/ Selenium tutorial/overview 1. Selenium Introduction 2. Selenium Installation 3. Getting Started/Selenium RC steps 4. Selenium Tips and Quirks/FAQ 5. E... 阅读全文
posted @ 2015-12-12 10:03 aprial 阅读(539) 评论(0) 推荐(0) 编辑
摘要: 转自: http://www.iselenium.com/read.php?tid=458 首先声明我还是一只很菜的菜鸟,学习Selenium一个来月而已,发这个帖子是想利用我这块板砖引出真正的玉来,也希望帮助菜鸟们更快地入门,好,废话不多说: 1.对于selenium入门的教程,当然是hyddd的Selenium私房菜和沈东良的Selenium深入浅出 另附oliviazhu推荐的 ... 阅读全文
posted @ 2015-12-12 09:59 aprial 阅读(13893) 评论(0) 推荐(0) 编辑
摘要: 转自: http://www.codeweblog.com/php%E4%B8%ADheredoc%E7%9A%84%E4%BD%BF%E7%94%A8%E6%96%B9%E6%B3%95/ Heredoc技术,在正规的PHP文档中和技术书籍中一般没有详细讲述,只是提到了这是一种Perl风格 的字符串输出技术。但是现在的一些论坛程序,和部分文章系统,都巧妙的使用heredoc技术,来部分的实现了... 阅读全文
posted @ 2015-12-12 09:40 aprial 阅读(238) 评论(0) 推荐(0) 编辑
摘要: import sys; print('%s %s' % (sys.executable or sys.platform, sys.version)) PyDev console: starting. C:\Python27\python.exe 2.7.10 (default, May 23 2015, 09:40:32) [MSC v.1500 32 bit (Intel)] imp... 阅读全文
posted @ 2015-12-11 21:13 aprial 阅读(3080) 评论(0) 推荐(0) 编辑
摘要: # encoding: utf-8 ''' unicode字符串解码显示 ''' import sys reload(sys) sys.setdefaultencoding('utf-8') a = '\u5b64' aa = a.decode('unicode-escape') print aa, repr(aa) 阅读全文
posted @ 2015-12-11 20:24 aprial 阅读(352) 评论(0) 推荐(0) 编辑
摘要: Example 登录用户名 密码 阅读全文
posted @ 2015-12-09 21:01 aprial 阅读(889) 评论(0) 推荐(0) 编辑
摘要: pip install Sphinx cd /d E:\work\soft\selenium-2.48.0\py\selenium sphinx-quickstart sphinx-apidoc -o outputdir packagedir sphinx-apidoc -s .txt -o E:\work\soft\selenium-2.48.0\source E:\work\s... 阅读全文
posted @ 2015-12-03 22:28 aprial 阅读(298) 评论(0) 推荐(0) 编辑
上一页 1 2 3 4 5 6 7 8 9 ··· 20 下一页