该文被密码保护。 阅读全文
posted @ 2018-02-23 09:06 Justice-V 阅读(3) 评论(0) 推荐(0) 编辑
摘要: 【快捷键 zend studio】 1.调出查找面板【ctrl+f】 2.全文检索【ctrl+h】 3.关闭当前文件【ctrl+w】 4.代码格式化【ctrl+shift+f】 5.代码转换【alt+上/下】 6.所有快捷键【ctrl+shift+l】 7.复制粘贴行【ctrl+alt+下】 8.删 阅读全文
posted @ 2018-02-22 13:51 Justice-V 阅读(128) 评论(0) 推荐(0) 编辑
摘要: 1.今天学着学着就发现一个特别有趣的数列,斐波那契数列,感觉很好玩,翠花,上代码~~~~~~~ #include <stdio.h> int fibonaci(int i) { if(i == 0) { return 0; } if(i == 1) { return 1; } return fibo 阅读全文
posted @ 2018-01-29 18:40 Justice-V 阅读(186) 评论(0) 推荐(0) 编辑
摘要: import timeimport requestsfrom bs4 import BeautifulSoupimport threadingdef format_str(s): return s.replace("\n","").replace("","").replace("\t",'')def 阅读全文
posted @ 2017-12-31 10:35 Justice-V 阅读(183) 评论(0) 推荐(0) 编辑
摘要: json import requestsimport jsonurl="https://sp0.baidu.com/5a1Fazu8AA54nxGko9WTAnF6hhy/su?wd=na&json=1&p=3&sid=1459_19036_21110_25227_25436_25178&req=2 阅读全文
posted @ 2017-12-29 23:00 Justice-V 阅读(770) 评论(0) 推荐(0) 编辑
摘要: 查找网页中<a>标签中的链接from bs4 import BeautifulSoupwith open('beautifulSoup_test.html','r',encoding='utf-8')as f: #beautifulSoup_test.html是同级网页源代码 bs=Beautifu 阅读全文
posted @ 2017-12-29 14:38 Justice-V 阅读(369) 评论(0) 推荐(0) 编辑
摘要: 0 101 202 303 404 505 60 阅读全文
posted @ 2017-12-29 13:10 Justice-V 阅读(196) 评论(0) 推荐(0) 编辑
摘要: import randomrandom.seed(20)print(random.random())random.seed(10) #random.seed()指定随机数,与下面的相同的种子值print(random.random())random.seed(20)print(random.rand 阅读全文
posted @ 2017-12-29 12:59 Justice-V 阅读(153) 评论(0) 推荐(0) 编辑
摘要: 阅读全文
posted @ 2017-12-26 14:26 Justice-V 阅读(128) 评论(0) 推荐(0) 编辑
该文被密码保护。 阅读全文
posted @ 2017-12-26 12:42 Justice-V 阅读(4) 评论(0) 推荐(0) 编辑