
Python
英杰丶
这个作者很懒,什么都没留下…
展开
-
Python学习笔记之MySql数据库(一)
准备1.下载地址:https://dev.mysql.com/downloads/mysql 2.开发工具:Eclipse for Python 3.Python版本:Python3.6 4.Python 数据库连接模块:pymysql 5.数据库:MySql 6.数据库管理工具:navicat for mysql 7.mySql解压版使用教程 8.pymysql安装方法cmd命令行:原创 2018-03-27 13:05:16 · 760 阅读 · 0 评论 -
Python网络爬虫(第一天)
urllib :DOC 地址Python 2 中 分为 urllib 和urllib2。 Python 3 中 为 urllib ,是python 中的标准库。urllib库可以读取HTML文件、图像文件 或者其他任何文件流。BeautifullSoup4(也叫BS4)DOC 中文文档 1.他不是Python标准库,所以需要安装 。 2.window下安装方法: cmd命令行中 : pip i原创 2018-04-12 16:06:02 · 346 阅读 · 0 评论 -
Python学习笔记之继承
继承代码的重用1.单继承 –单继承: 父类放在子类的括号中 –初始化父类: (1)super().init() 注意括号中没有self,super()是个对象 (2)father.init() 注意这里father是类型class father: def __init__(self): self.money=2000e8 def buy(...原创 2018-05-10 21:18:26 · 289 阅读 · 0 评论 -
Python FTP学习笔记(一)
环境: 1.python 3.6 2.windows 7 3 开源库pyftpdlib一、安装pyftpdlib cmd 命令: pip install pyftpdlib二、服务端创建from pyftpdlib.authorizers import DummyAuthorizerfrom pyftpdlib.handlers import FTPHandlerfrom...原创 2018-07-04 15:10:36 · 376 阅读 · 0 评论 -
Python学习笔记之编写简单HTTP服务器
from http.server import HTTPServer,BaseHTTPRequestHandler import jsondata={“code”:200,”data”:{“staffid”:”9999”,”nickname”:”张fdsafa二”},”msg”:”2”} host = (‘192.168.31.246’,8888)class Request(BaseH...原创 2018-07-25 10:35:13 · 384 阅读 · 0 评论