- 博客(7)
- 收藏
- 关注
原创 删除LDSGameMaster文件夹
1.在网上搜在注册表上搜LDSGameMaster相关文件,删除——刷新——删除,直到全部删除完,重启删除,还是不行。2.在LDSGameMaster文件夹里的后缀为sys文件,修改名称,在其后边加一个apk,然后重启电脑,直接删除然后就可以了。不知道有没有跟第一步有关系。...
2020-03-21 21:21:17
7801
原创 Python编程从入门到实践
课后习题15.4random_walk.py的代码from random import choiceclass RandomWalk(): """一个生成随机漫步数据的类""" def __init__(self,num_points=5000): """初始化随机漫步的属性""" self.num_points = num_poi...
2019-11-29 17:13:27
170
原创 Python编程从入门到实践课后习题15章
课后习题15.1/15.2彩色立方import matplotlib.pyplot as pltx_values = list(range(1,5001))y_values = [x_value**3 for x_value in x_values]plt.scatter(x_values,y_values,c=y_values,cmap=plt.cm.Blues, ...
2019-11-29 11:38:39
1235
原创 Python 基础学习——测试代码
11.1城市和国家待测试代码def get_format_city_country(city,country): city_and_country=city+", "+country return city_and_country.title()测试函数import unittestfrom city_country_function import get_format...
2019-11-07 23:45:03
149
原创 Python基础学习——文件和异常
文件和异常10.1Python学习笔记filename = 'learning_python.txt'with open(filename) as file_object: contents=file_object.read() print(contents)with open(filename) as file_object: for line in file...
2019-11-05 16:07:25
245
原创 Python 基础学习——类
##类基础学习9.1、9.2class Restaurant(): def __init__(self,restaurant_name,cuisine_type): self.restaurant_name=restaurant_name self.cuisine_type=cuisine_type def describe_r...
2019-11-01 15:34:35
175
原创 Python基础学习——函数后面的练习题
函数重新系统学习Python编程从入门到实践的习题“动手试一试”8.1/8.2动手试一试定义函数及应参、实参应用def display_message(): print('I study how to use fuction.')display_message()def favorite_book(title): print('One of my favorite b...
2019-10-28 15:51:27
298
空空如也
空空如也
TA创建的收藏夹 TA关注的收藏夹
TA关注的人