cekong

导航

上一页 1 ··· 9 10 11 12 13 14 15 下一页

2018年12月13日 #

flask 知识积累

摘要: PythonWEB框架之Flask Flask快速入门,知识整理 Flask 框架 阅读全文

posted @ 2018-12-13 09:52 cekong 阅读(118) 评论(0) 推荐(0) 编辑

2018年12月12日 #

python中下划线

摘要: 引用:https://blog.csdn.net/tcx1992/article/details/80105645?from=timeline Python中下划线的5种含义 class A(object): def __method(self): print("I'm a method in A" 阅读全文

posted @ 2018-12-12 09:15 cekong 阅读(113) 评论(0) 推荐(0) 编辑

2018年12月6日 #

pipenv知识积累

摘要: pip install pipenv 安装pipenv pipenv --python 3.6 指定某一Python版本创建环境 pipenv --py 显示Python解释器信息 pipenv --venv 显示虚拟环境信息 pipenv --where 显示目录信息 pipenv install 阅读全文

posted @ 2018-12-06 15:43 cekong 阅读(126) 评论(0) 推荐(0) 编辑

2018年12月3日 #

shell知识积累

摘要: 教程:Shell脚本:Linux Shell脚本学习指南(超详细) Ubuntu下常用的快捷键:https://blog.csdn.net/u010771356/article/details/53543041 变量名和等号之间不能有空格,变量名中间不能有空格,可以使用下划线 使用 readonly 阅读全文

posted @ 2018-12-03 11:14 cekong 阅读(107) 评论(0) 推荐(0) 编辑

2018年11月29日 #

AttributeError: type object 'testClass' has no attribute 'testMothod'

摘要: 点击"Unittest for test_post_API.testClass"按钮,点击”Edit configuration...“,弹出对话框Run/Debug configurations. 点左侧绿色“+”,选择python tests,选择unittests。 右侧选择configura 阅读全文

posted @ 2018-11-29 15:17 cekong 阅读(1041) 评论(0) 推荐(0) 编辑

2018年11月26日 #

python知识积累

摘要: python数据结构与算法https://www.yiibai.com/python/py_data_structure/python_data_structure_introduction.html 1. 安装requirements.txt依赖: pip install -r requireme 阅读全文

posted @ 2018-11-26 13:32 cekong 阅读(141) 评论(0) 推荐(0) 编辑

2018年11月21日 #

补全爬取的url

摘要: 有时爬取到的href不全,如href=‘/11031/’解决方法:from urllib import parseurl=parse.urljoin(response.url,get_url)response.url 正在爬取的网页的urlget_url 网页中条目的url 阅读全文

posted @ 2018-11-21 15:15 cekong 阅读(289) 评论(0) 推荐(0) 编辑

2018年11月20日 #

linux 的基本命令

摘要: 引用https://coding.imooc.com/learn/list/182.html 第六章 (1)基础命令: cd:变换目录 pwd:显示当前所在目录 mkdir dir1 创建一个叫做 'dir1' 的目录' rmdir dir1 删除一个叫做 'dir1' 的目录' ls -l 查看目 阅读全文

posted @ 2018-11-20 11:11 cekong 阅读(147) 评论(0) 推荐(0) 编辑

2018年11月19日 #

Python里的拷贝

摘要: 可变数据类型:list、dict 不可变数据类型:int、float、string、tuple 引用 https://github.com/taizilongxu/interview_python 4 urllib%E5%92%8Curllib2%E7%9A%84%E5%8C%BA%E5%88%AB 阅读全文

posted @ 2018-11-19 09:58 cekong 阅读(111) 评论(0) 推荐(0) 编辑

2018年11月16日 #

爬虫知识积累

摘要: 爬虫小程序(1)爬取豆瓣电影Top250 引用:https://blog.csdn.net/fighting_no1/article/details/50926008 (2)爬虫博客 引用:https://cuiqingcai.com/?s=%E7%88%AC%E8%99%AB 阅读全文

posted @ 2018-11-16 13:52 cekong 阅读(119) 评论(0) 推荐(0) 编辑

上一页 1 ··· 9 10 11 12 13 14 15 下一页