菜粥
菜粥
全部文章
Python
Android(48)
API(6)
C++(11)
CodeBlocks(2)
Docker(12)
Git(2)
GitHub(3)
IDE(16)
Java(41)
JavaWeb(16)
Java编程思想(3)
Linux(37)
MarkDown(2)
Maven(6)
MyBatis(5)
MySQL(14)
Nginx(11)
Oracle(16)
Redis(13)
Spring(8)
SpringBoot(6)
Struts2(1)
UML(1)
书籍推荐(2)
图解设计模式(22)
大话设计模式(50)
操作系统(4)
数据库系统概论(7)
数据结构(10)
未归档(1)
计算机组成原理(2)
计算机网络(8)
面试经(4)
归档
标签
去牛客网
登录
/
注册
菜粥很菜
融不进的城市,回不去的故乡。若是生活如意,谁愿颠沛流离。
全部文章
/ Python
(共4篇)
Python-Pygal模拟掷骰子
from random import randint # 骰子类 class Die(): def __init__(self, num_sides=6): # 骰子的面数 self.num_sides = num_sides def ro...
2019-03-23
0
413
Python-matplotlib随机漫步
from random import choice class RandomWalk: def __init__(self, num_points=1000): # 随机漫步的最大距离 self.num_poimts = num_points ...
2019-03-23
0
451
Python-matplotlib的使用简介
import matplotlib.pyplot as plt # 解决中文乱码问题 plt.rcParams['font.sans-serif'] = ['SimHei'] # 用来正常显示中文标签 plt.rcParams['axes.unicode_minus'] = False # 用...
2019-03-22
0
784
Python-Tim Peters的Python之禅
The Zen of Python, by Tim Peters Beautiful is better than ugly. Explicit is better than implicit. Simple is better than complex. Complex is better th...
2019-02-18
0
731