摘要:
WEB应用程序开发 使用浏览器/服务器架构(Browser/Server)B/S 使用TCP/IP协议 极简服务器程序 from flask import Flask app=Flask(__name__) @app.route("/") def hello(): return "Hello Wor 阅读全文
posted @ 2020-09-19 18:15
life_if_forever
阅读(116)
评论(0)
推荐(0)
摘要:
有关类的一些知识 因为python 的类的情况比起C++简单了很多,这里就只说一下有些需要注意的事情 私有与公有成员 __init__ 或者__xxx__ 是系统特殊成员(前后两条下划线) _xxx 是保护成员(前面一条下划线) __xxx 是私有成员,不能通过实例来访问(前面两条下划线) 调用私有 阅读全文
posted @ 2020-09-19 17:44
life_if_forever
阅读(98)
评论(0)
推荐(0)
摘要:
pandas的使用 DataFrame的使用 列表产生 import plotly as py from plotly import figure_factory as ff import pandas as pd pyplt=py.offline.plot # 离线模式 data=pd.DataF 阅读全文
posted @ 2020-09-19 17:39
life_if_forever
阅读(184)
评论(0)
推荐(0)
摘要:
一些常见的内置函数 函数 参数 sorted(iterable[,key,reverse]) iterable为原序列,key为排序参考位置,reverse若为true则降序,false则升序 map(function,iterable1[,iterable2......]) 调用参数序列的每一个元 阅读全文
posted @ 2020-09-19 14:36
life_if_forever
阅读(136)
评论(0)
推荐(0)

浙公网安备 33010602011771号