文章分类 -  python模块学习

摘要:#创建一个窗口 #QtWidgets类 from PyQt5.QtWidgets import QMainWindow,QApplication,QLabel #QtCore类 from PyQt5.QtCore import Qt #QtGui类 ##from PyQt5.QtGui import * import sys class MainWindow(QMainWindow)... 阅读全文
posted @ 2019-02-23 16:16 Justice-V 阅读(380) 评论(0) 推荐(0)
摘要:柱状图 from pyecharts import Bar attr = ["{}月".format(i) for i in range(1,13)] v1 = [2.0,4.9,7.0,23.2,15.6,76.7,135.6,162.2,32.6,20.0,6.4,3.3] v2 = [2.6,5.9,9.0,26.4,28.7,32.6,44.6,234.5,178,33,44,55... 阅读全文
posted @ 2019-02-09 14:12 Justice-V 阅读(184) 评论(0) 推荐(0)
摘要:快速开始 #coding=utf-8 from __future__ import unicode_literals from pyecharts import Bar bar = Bar("主题","副标题") bar.add("服装",["衬衫","羊毛衫","雪融衣"],[5,20,30],is_more_utils=True)#主要方法,用于添加图表的数据和设置各种配置项 ... 阅读全文
posted @ 2019-02-08 20:46 Justice-V 阅读(231) 评论(0) 推荐(0)
摘要:但是导入出错: 阅读全文
posted @ 2019-02-08 20:45 Justice-V 阅读(97) 评论(0) 推荐(0)
摘要:http://pyecharts.org/#/zh-cn/customize_map 阅读全文
posted @ 2019-02-08 20:17 Justice-V 阅读(134) 评论(0) 推荐(0)
摘要:requests的get请求 """python请求库的使用 requestsrequests源于urllib3,Apache2协议requests库的使用思路:1.导入requests包2.响应头response=requests.get(url,headers,params) 传递url参数,p 阅读全文
posted @ 2019-02-08 19:39 Justice-V 阅读(173) 评论(0) 推荐(0)