Python
Jerry_ICCAS
这个作者很懒,什么都没留下…
展开
-
Web crawler
The software needed to be installed sudo pip install requests sudo pip install BeautifulSoup4 sudo pip install jupyter原创 2017-01-02 22:21:06 · 728 阅读 · 0 评论 -
Python异常
原创 2017-01-04 15:43:39 · 356 阅读 · 0 评论 -
Shell 与Python的交互
在python中: import os os.system('mkdir Test') 则会在当前目录下生成Test目录,和shell一样原创 2017-01-04 22:23:00 · 660 阅读 · 0 评论 -
ConfigParser模块简明教程
参考官方文档: https://docs.python.org/3.4/library/configparser.html Supported INI File Structure Please note 写一个文件的例子 再把它读出来 ConfigParser函数原创 2017-01-05 17:58:39 · 407 阅读 · 0 评论 -
Python Requests 简明教程
参考官方文档 http://www.python-requests.org/en/master/ Requests 一个HTTP-Python库 给URL地址传递参数 读出对象的性质 读取二进制文件对象 JSON格式 Github原创 2017-01-05 18:29:31 · 750 阅读 · 0 评论 -
Python类简明教程
Python类简明教程原创 2017-01-04 15:22:00 · 503 阅读 · 0 评论 -
Python3 Urllib学习
urllib 的四个模块 1 . urllib.request 2. urllib.error 3. urllib.parser 4. urllib.robotparser import urllib.request response = urllib.request(“http://yaopu.github.io“) /#得到的是一个对象,response type(resp原创 2017-01-07 20:17:35 · 729 阅读 · 0 评论 -
Python读文件要用到的一些东西
enumerate 函数,读取内容和行split 函数 切割字符串 len() 每一行字符串的个数原创 2017-01-09 14:08:36 · 442 阅读 · 0 评论 -
Python数理统计
参考此文: http://wenku.baidu.com/link?url=A6-0HbEHaHO4XFMwaoTuHzEnkaDhmzjCjGxpLh3dey3rJlPR9n63opl-uwOiaNm3W08qDl-IZv9hVulOGZCXF0CIzJPAQ5ahtiJ8HyiIdkG原创 2017-02-13 20:15:15 · 2502 阅读 · 0 评论