e媒网络

一切皆可能 e媒网络 http://www.eMay.net

博客园 首页 新随笔 联系 订阅 管理

05 2020 档案

摘要:代码: import requests from bs4 import BeautifulSoup r=requests.get("http://exesoft.gitee.io/webshow/spider.html") r.encoding="utf-8" soup=BeautifulSoup( 阅读全文
posted @ 2020-05-29 16:37 e媒网络技术团队 阅读(240) 评论(0) 推荐(0)

摘要:代码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 阅读全文
posted @ 2020-05-29 16:18 e媒网络技术团队 阅读(255) 评论(0) 推荐(0)

摘要:代码1: <!doctype html> <html> <head> <meta charset="utf-8"> <title>transition动画</title> <style type="text/css"> div { width: 200px; height: 200px; backg 阅读全文
posted @ 2020-05-28 18:23 e媒网络技术团队 阅读(246) 评论(0) 推荐(0)

摘要:代码如下: <!doctype html> <html> <head> <meta charset="utf-8"> <title>Rotate 转动动画测试</title> <style type="text/css"> .box{ width:280px; height:280px; backg 阅读全文
posted @ 2020-05-28 11:19 e媒网络技术团队 阅读(376) 评论(0) 推荐(0)

摘要:代码1: import tkinter.filedialog from tkinter import * from tkinter import messagebox def OpenFile(): filename=filedialog.askopenfilename() messagebox.s 阅读全文
posted @ 2020-05-25 17:13 e媒网络技术团队 阅读(127) 评论(0) 推荐(0)

摘要:代码如下: <!doctype html> <html> <head> <meta charset="utf-8"> <title>CSS3 Animation</title> <style type="text/css"> @keyframes myani { from { background: 阅读全文
posted @ 2020-05-25 16:53 e媒网络技术团队 阅读(288) 评论(0) 推荐(0)

摘要:代码演示: import tkinter as tk from tkinter import messagebox as msgbox def LoginFun(): sPass=enPass.get() if(sPass=="htzd"): labTip.config(text="登录成功。密码是 阅读全文
posted @ 2020-05-22 12:06 e媒网络技术团队 阅读(159) 评论(0) 推荐(0)

摘要:代码: <!doctype html> <html> <head> <meta charset="utf-8"> <title>CSS Grid Show</title> <style type="text/css"> *{ margin:0; } html,body{ height:100%; } 阅读全文
posted @ 2020-05-21 11:27 e媒网络技术团队 阅读(264) 评论(0) 推荐(0)

摘要:1.DemoA:Console控制台程序 print("Console控制台程序登录演示") sPass=input("请输入密码:\n") if(sPass=="htzd"): print("登录成功.密码是:{0}".format(sPass)) else: print("登录失败.密码是:{0 阅读全文
posted @ 2020-05-20 11:53 e媒网络技术团队 阅读(286) 评论(0) 推荐(0)

摘要:CSS Grid布局入门 1.普通版 <!doctype html> <html> <head> <meta charset="utf-8"> <title>Css Grid Demo</title> <style> .container { display: grid; grid-gap: 5px 阅读全文
posted @ 2020-05-18 16:47 e媒网络技术团队 阅读(185) 评论(0) 推荐(0)

摘要:Python中count()方法应用汇总 #1 sentence="This is is an example cutting." for word in sentence.split(): print(word,sentence.count(word)) #2 sentence="This is 阅读全文
posted @ 2020-05-12 18:05 e媒网络技术团队 阅读(314) 评论(0) 推荐(0)

摘要:伪元素及Counter的使用 <!doctype html> <html> <head> <meta charset="utf-8"> <title>伪元素及Counter的使用</title> <style type="text/css"> ul { list-style-type: none; 阅读全文
posted @ 2020-05-11 17:20 e媒网络技术团队 阅读(288) 评论(0) 推荐(0)

该文被密码保护。
posted @ 2020-05-11 10:24 e媒网络技术团队 阅读(1) 评论(0) 推荐(0)

摘要:CSS 伪类用于向某些选择器添加特殊的效果。 CSS 伪元素用于向某些选择器添加特殊元素。 新建一个html文件,代码内容如下: <!doctype html> <html> <head> <meta charset="utf-8"> <title>Pseudo Class And Pseudo E 阅读全文
posted @ 2020-05-09 17:31 e媒网络技术团队 阅读(176) 评论(0) 推荐(0)

摘要:1.第一种方法:引入css,或者cdn css或者本地css <!doctype html> <html> <head> <meta charset="utf-8"> <title>Pseudo Element</title> <link rel="stylesheet" type="text/cs 阅读全文
posted @ 2020-05-07 23:11 e媒网络技术团队 阅读(295) 评论(0) 推荐(0)