摘要:
代码: <!doctype html> <html> <head> <meta charset="utf-8"> <title>Animate Demo</title> <link rel="stylesheet" type="text/css" href="animate.min.css"> <s 阅读全文
2020年6月4日 #
2020年6月3日 #
摘要:
Turtle库是Python语言中一个很流行的绘制图像的函数库,想象一个小乌龟,在一个横轴为x、纵轴为y的坐标系原点,(0,0)位置开始,它根据一组函数指令的控制,在这个平面坐标系中移动,从而在它爬行的路径上绘制了图形。 代码1: import turtle turtle.setup(500,300 阅读全文
2020年5月29日 #
摘要:
代码: import requests from bs4 import BeautifulSoup r=requests.get("http://exesoft.gitee.io/webshow/spider.html") r.encoding="utf-8" soup=BeautifulSoup( 阅读全文
摘要:
代码1: a=[3.45,4.45,5] b=[5,4] c=["aa",456,True] myList=[] myList.append(a) myList.append(b) myList.append(c) print(myList) 代码2: #coding=utf-8 list=[] f 阅读全文
2020年5月28日 #
摘要:
代码1: <!doctype html> <html> <head> <meta charset="utf-8"> <title>transition动画</title> <style type="text/css"> div { width: 200px; height: 200px; backg 阅读全文
摘要:
代码如下: <!doctype html> <html> <head> <meta charset="utf-8"> <title>Rotate 转动动画测试</title> <style type="text/css"> .box{ width:280px; height:280px; backg 阅读全文
2020年5月25日 #
摘要:
代码1: import tkinter.filedialog from tkinter import * from tkinter import messagebox def OpenFile(): filename=filedialog.askopenfilename() messagebox.s 阅读全文
摘要:
代码如下: <!doctype html> <html> <head> <meta charset="utf-8"> <title>CSS3 Animation</title> <style type="text/css"> @keyframes myani { from { background: 阅读全文
2020年5月22日 #
摘要:
代码演示: import tkinter as tk from tkinter import messagebox as msgbox def LoginFun(): sPass=enPass.get() if(sPass=="htzd"): labTip.config(text="登录成功。密码是 阅读全文
2020年5月21日 #
摘要:
代码: <!doctype html> <html> <head> <meta charset="utf-8"> <title>CSS Grid Show</title> <style type="text/css"> *{ margin:0; } html,body{ height:100%; } 阅读全文