Python
蚂蚁的希望
CSDN说我人很懒,什么都没有写
展开
-
Python爬取小说
简介 Python爬虫爬取小说 网址www.jingcaiyuedu.com/book/91703.html[] 开发环境:win10 python3.6 import requests import re #下载一个网页 url = 'http://www.jingcaiyuedu.com/book/91703.html' #模拟游览器发送http请求 response = requ...原创 2018-06-20 19:59:56 · 285 阅读 · 0 评论 -
击打小球(python)
击打小球 from tkinter import * import random import time class Ball: def __init__(self, canvas, paddle, color): self.canvas = canvas self.paddle = paddle self.id = canvas.crea...原创 2018-12-31 22:28:18 · 675 阅读 · 0 评论 -
numpy学习笔记
莫烦Python numpy学习笔记 基本用法 a = np.array([1,2 ,3]) # [1 2 3] a = np.array([[1,2 ,3],[4,5,6]]) # [[1 2 3] # [4 5 6]] a = np.array([1,2 ,3],dtype=np.int) # int32默认32 a = np.zeros((3,4),dtype=np.int) # ...原创 2019-01-01 11:36:24 · 144 阅读 · 3 评论