Flask开发猜数字小游戏---聪明的奥特曼

【华为机试题解】奥特曼打怪兽 大概题意 在一个N*N的正方形区域,每个小格可能有三种状态 值为0,正常可通过 值为1,奥特曼可通过,同时还可以消灭怪兽,消灭后值变为0,消灭怪兽数量+1 值为-1,有大石头,奥特曼无法通过 奥特曼需要先从上往下走,这个过程只能向下或者向右,到达右下角后,再从下往上走,这个过程只能向左或向上。需要找到奥特曼可以消灭怪兽的最大数量 输入: 第一行一个N,表示N的正方形区域的大小,N不超过50 第二行... 阅读详情
套路开场

连着写了三天的selenium,得换换胃口了,毕竟selenium的关注度不是很高,感觉看的人寥寥无几。虽然是把公众号当做博客,进行知识的记录与分享,但写了文章没人看也是惆怅啊....
本来打算今天休息一天的,可是想想还是明天停更一天,更新公众号22天了,明天算是第一天断更。每天回来学习知识,然后再写公众号,熬得身体有些受不了,所以以后每周还是给自己放一天假吧。

说说今天的内容

web端一直是短板,最近在恶补,所以今天就想着拿Flask配合jQuery写点js玩玩,css懒得写就用bootstrap的模板吧。写什么内容呢?看标题就一目了然了,猜数字!
先来看看效果:

5847426-dedda1ffb3bb7dae.gif
猜数字游戏展示

为什么会想到这个游戏呢?老婆之前给孩子买了一套类似的卡片游戏,但是被这俩不听话的小兔崽子给撕坏了,所以就做个网页版的,拿手机跟他们玩吧。至于为什么叫 聪明的奥特曼?没办法,他俩喜欢奥特曼呗...
看着只有9个数字,但让我一次性猜对还真不能保证次次稳赢,毕竟戴眼镜的眼神儿不好,哈哈。所以悄悄留个console.log:
5847426-20a2e29ac0307715.png
悄悄作弊

为了避免他俩一直做不对给我闹腾,所以再来一次的时候不会刷新序列,只要按着之前的记忆继续往下走,多点几次肯定是可以赢的。
5847426-2728cce718c23794.png
看着console.log获胜的截个图

当然刷新浏览器,即可重置新序列去开始游戏了...

简单说说代码

首先说说Flask内容:

# -*- coding: utf-8 -*-
# @Author   : 王翔
# @JianShu  : 清风Python
# @Date     : 2019/6/20 22:24
# @Software : PyCharm
# @version  :Python 3.7.3
# @File     : app.py

from flask import Flask, render_template
import random

app = Flask(__name__)


@app.route('/')
def index():
   number_list = random.sample(list(range(1, 10)), 9)
   return render_template('index.html', num_list=number_list)


if __name__ == '__main__':
   app.run(host='0.0.0.0')

Flask只负责创建一个随机数,然后去渲染模板并传参,要不是为了flask的httpserver,这东西完全可以考虑用纯前台搞....
再说说html吧:

<div class="container">
    <div>
        <h2 class="clearfix text-center">聪明的奥特曼</h2>
    </div>
    <button class="control btn btn-primary btn-lg btn-block">点击开始游戏</button>
    {% for num in num_list%}
    <div class="col-xs-4 card">
        <div id="{{loop.index0}}" class="box" hidden> {{num}}</div>
    </div>
    {%endfor%}
</div>

用jinjia2创建九宫格,然后用jQuery,控制开始游戏button的disable效果,并设置setInterval和mousedown的监听事件。完美.....
如果大家对这个小项目感兴趣,可以从我的github上下载KingUranus/FlaskTests

The End

明天就不更新了,大半个月了,明晚放松一天,看是开黑呢,还是撸串呢?haha ....
今天的内容就到这里,如果觉得有帮助,欢迎将文章或者我的公众号【清风Python】分享给更多喜欢python的人。最近关注人数基本零增长,心塞啊....

在一个 N × N 的方形网格中,每个单元格有两种状态:空(0)或者阻塞(1)。 一条从左上角到右下角、长度为 k 返回这条从左上角到右下角的最短畅通路径的长度。如果不存在这样的路径,返回 -1 。 在一个 N × N 的方形网格中,每个单元格有两种状态:空(0)或者阻塞(1)。 一条从左上角到右下角、长度为 k 返回这条从左上角到右下角的最短畅通路径的长度。如果不存在这样的路径,返回 -1 。 利用BFS的思想,并且注意开始的字符不为0的情况 import javafx.util.Pair; class Solution { public static int shortest... 阅读详情

相关推荐

Python Flask开发实例(自己敲的试验楼小Demo)

Flask web开发了一个简单的博文系统,用户可登录登出,发表博文,并在网页上实时查看历史博文,数据库使用了sqlite3,测试已经通过。

Python打发无聊时光:10.用flask创造按键控制的网页小游戏

用flask创造按键控制的网页小游戏,适合flask框架的入门或消磨时光。

qq_53529450的博客 1040

SAP BTP开发入门:从PaaS到CAP/UI5的30天学习路线

在云计算与数字化转型的大背景下,企业系统集成与云端扩展需求激增,传统的单点开发模式正面临深刻变革。PaaS(平台即服务)作为云原生的核心概念,将基础设施、开发环境与应用服务统一封装,为企业提供了灵活的扩展能力。SAP BTP正是SAP生态中的PaaS平台,它承载着系统集成、低代码开发、AI服务与数据管理,成为连接S/4HANA等核心业务系统与创新应用的桥梁。对于ABAP开发者而言,掌握BTP不仅是技能升级,更是应对从传统部署向云端订阅模式转型的必由之路。本文从平台基础出发,梳理BTP的核心服务与开发模型(如

weixin_31766003的博客 296

《Python入门经典》——Flask开发Hangman游戏

源代码如下: import pygame import sys from random import choice from pygame.locals import * RED = (255, 0, 0) GREEN = (0, 255, 0 ) BLUE = (0, 0, 255) YELLOW = (255, 255, 0) ORANGE = (255, 100, 0) PURPLE = (100, 0, 255) def get_words(): f = open(“E://word.txt...

m0_47397401的博客 648

h5页面调用微信JS-SDK分享到微信好友或者朋友圈的配置

1.引入js &lt;script type="text/javascript" src="http://res.wx.qq.com/open/js/jweixin-1.2.0.js"&gt;&lt;/script&gt; 2.在页面添加配置 &lt;script type="text/javascript"&gt; var url = location.href..

tiantiandashi的博客 2万+

我用 AI Agent 全自动跑 COMSOL 仿真:从建模到后处理,踩了 10+ 个深坑

本文探讨了利用AI通过COMSOL Java API实现AI芯片液冷冷板全流程自动化仿真的实践。针对700W高功耗AI芯片的散热需求,构建了包含4颗Chiplet和微通道冷板的三维液冷模型。通过严格设计的Prompt工程,AI Agent成功完成了从几何建模到结果验证的全过程,最终实现了芯片最高温度54°C的良好散热效果。文章重点分享了10个关键问题的解决经验,包括流体连通性验证、网格顺序控制、离散阶数选择、收敛判据优化等,并建立了包含流场/热场/网格独立性的三重验证体系。实践表明,AI可高效处理重复性工作

sjjsjjsjjsjjsjj的博客 1110

Flask开发成语接龙游戏实战:从入门到高并发的架构演进

本文系统讲解基于Flask框架开发成语接龙游戏的全流程实践,深入解析游戏逻辑设计、前后端交互优化、高并发架构演进等关键技术。通过单机版到分布式架构的迭代过程,揭示RESTful API设计、WebSocket实时交互、数据库性能调优等核心知识点。结合日活百万级的线上运营数据,分享负载均衡、缓存策略、自动化测试等工程经验,为文化类小游戏开发提供可复用的解决方案。

水务人 920

反爬虫:对抗最新反爬技术 Cloudflare详解

本文针对Cloudflare最新反爬机制提供完整解决方案,覆盖TLS指纹、行为轨迹、设备指纹等检测场景。文章首先分析Cloudflare的三重检测体系(TLS指纹、行为指纹、设备指纹)及其拦截表现,随后提出四种绕过方案:1)使用curl_cffi模拟浏览器TLS指纹;2)通过undetected-chromedriver移除自动化特征;3)Playwright结合stealth插件模拟人类行为;4)动态请求调度策略。重点推荐轻量级Python方案curl_cffi和浏览器自动化方案Playwright-st

数据知道的博客 4639

flask实践:猜数字

作者:李辉 链接:https://zhuanlan.zhihu.com/p/23340992 来源:知乎 著作权归作者所有。商业转载请联系作者获得授权,非商业转载请注明出处。Demo体验:猜数字 - Flask难度:1使用扩展:Flask-Bootstrap、Flask-WTF每个学编程的人大概都写过猜数字游戏,今天我们用Flask来做一个Web版本的猜数字。功能很简单,只有两个路由,三个模板

yz764127031的博客 726

MICCAI‘23 | TSegFormer:基于几何引导Transformer的口内扫描3D牙齿分割

光学口内扫描仪(IOS)在数字牙科中广泛应用于提供牙冠和牙龈的详细3D信息。准确的3D牙齿分割对于各种牙科应用至关重要,但现有方法在复杂边界处容易出错,并且在不同患者之间表现不佳。本文提出了TSegFormer,它通过多任务3D Transformer架构捕捉IOS点云中不同牙齿和牙龈之间的局部和全局依赖关系。此外,作者设计了一种基于新颖点曲率的几何引导损失,以端到端方式优化边界,避免了耗时的后处理,从而实现临床适用的分割。

小白学视觉 295

从服务器到桌面超算:当3999美元的NVIDIA DGX Spark装上Ubuntu,普通开发者能玩出什么花?

DGX Spark的出现,标志着AI算力正在经历从"数据中心集中供给"到"个人桌面按需拥有"的范式转移。它让开发者可以在本地完成从数据预处理、模型微调到推理验证的全流程,只有在需要大规模训练时才调用云端资源。迭代速度:从按小时计费的云端调试,变成随时随地的本地实验数据主权:敏感信息永不离开本地成本可控:一次投入,长期使用,不受API调用次数限制AI算力民主化的时代,真的来了。你的下一台超级计算机,不必在云端。它就在你的桌面上,安静地等待着你的下一个创意。附录:实用资源。

QQ_778132974的博客 633

SpriteKit项目——消灭怪兽、效果图及详细代码,

一、注意 1.新建项目并改为横屏运行 2.导入游戏素材 3.创建GameSence 4.添加忍者 5.隐藏状态栏,配置游戏场景大小 #pragma mark - 隐藏状态栏 - (BOOL)prefersStatusBarHidden { return YES; } 二、添加忍者 // 1. 设置背景颜色 self.backgroundColor = [SKCol...

weixin_30892037的博客 391

YOLO-World:从入门到实战的多模态目标检测全指南

想象一下,你给模型一张“公园”的图片,再输入文字“红色的郁金香”,它能直接在图中框出所有红色郁金香的位置——这就是多模态目标检测:结合图像视觉信息和文本语义信息,同时完成“是什么”(分类)和“在哪里”(定位)的任务。传统目标检测(如YOLOv5、YOLOv8)只能识别预定义的类别(比如训练时学过“猫”“狗”),但多模态目标检测摆脱了“类别预定义”的限制,只要文本能描述,它就能检测,这就是“开放词汇检测(Open-Vocabulary Detection)”的魅力。

know_F0727的博客 208

Python实现简单的猜数字游戏

Python实现简单的猜数字游戏,具体如下: 随机生成一个1-10之间的数字,让用户来猜,当猜错时,会提示猜的数字是大还是小了,直到用户猜对为止。 import random secret = random.randint(1,10) #print(secret) print('------猜数字游戏!-----') guess = 0 while guess != secret...

weixin_33682719的博客 643

fasterlio原理及代码框架梳理

Faster-LIO 的优势是在保持同等高精度的前提下,显著提升计算效率,以支持更极端的应用场景(如高速无人机)和更廉价的硬件平台。可以把 Faster-LIO 理解为用一把更快的“空间哈希筛子”(iVox)替换了原来精细的“动态平衡树”(ikd-Tree),从而在精度损失极小的情况下,实现了效率的显著提升。:只在实际有地图点的空间区域动态创建和保留体素单元,形成一个稀疏的体素地图。是关键:将去畸变点云中的每个点,在 iVox 维护的局部地图中搜索近邻(如5个最近点),构建点到面的距离残差。

Studying…… 249

汉书HE8,好用的汇编代码编写工具

汉书HE8,好用的汇编代码编写工具早期编写汇编代码所用功能强大

从0开始搭建flask web 程序(1)

Flask是一个Python编写的Web 微框架,让我们可以使用Python语言快速实现一个网站或Web服务。 一、开始项目 1.pip 安装所需依赖 Flask==0.12.2 Flask-Bootstrap==3.3.7.1 Flask-HTTPAuth==3.2.3 Flask-Login==0.4.0 Flask-Mail==0.9.1 Flask-Migrate==2.0.4 F...

小小白的博客 846

OV9734 DATASHEET,完整规格书

OV9734完整规格书,包括电气参数,尺寸规格,寄存器配置表等

Flask 简单demo

实现目标:前端输入一个ID,通过查询,返回数据库中这个ID的所有信息。//由于主要目的是实现功能,所以界面巨丑app.pyfrom flask import Flask,request,render_template import db app = Flask(__name__) @app.route('/') def index(): return 'hello world' @a...

马木木的个人博客 6647

深度学习工具包 DeepLearningToolbox

深度学习工具包Deprecation notice.-----This toolbox is outdated and no longer maintained.There are much better tools available for deep learning than this toolbox, e.g. [Theano](http://deeplearning.net/software/theano/), [torch](http://torch.ch/) or [tensorflow](http://www.tensorflow.org/)I would suggest you use one of the tools mentioned above rather than use this toolbox.Best, Rasmus.DeepLearnToolbox================A Matlab toolbox for Deep Learning.Deep Learning is a new subfield of machine learning that focuses on learning deep hierarchical models of data.It is inspired by the human brain's apparent deep (layered, hierarchical) architecture.A good overview of the theory of Deep Learning theory is[Learning Deep Architectures for AI](http://www.iro.umontreal.ca/~bengioy/papers/ftml_book.pdf)For a more informal introduction, see the following videos by Geoffrey Hinton and Andrew Ng.* [The Next Generation of Neural Networks](http://www.youtube.com/watch?v=AyzOUbkUf3M) (Hinton, 2007)* [Recent Developments in Deep Learning](http://www.youtube.com/watch?v=VdIURAu1-aU) (Hinton, 2010)* [Unsupervised Feature Learning and Deep Learning](http://www.youtube.com/watch?v=ZmNOAtZIgIk) (Ng, 2011)If you use this toolbox in your research please cite [Prediction as a candidate for learning deep hierarchical models of data](http://www2.imm.dtu.dk/pubdb/views/publication_details.php?id=6284)```@MASTERSTHESIS\{IMM2012-06284, author = "R. B. Palm", title = "Prediction as a candidate for learning deep hierarchical models of data", year = "2012",}```Contact: rasmusbergpalm at gmail dot comDirectories included in the toolbox-----------------------------------`NN/` - A library for Feedforward Backpropagation Neural Networks`CNN/` - A library for Convolutional Neural Networks`DBN/` - A library for Deep Belief Networks`SAE/` - A library for Stacked Auto-Encoders`CAE/` - A library for Convolutional Auto-Encoders`util/` - Utility functions used by the libraries`data/` - Data used by the examples`tests/` - unit tests to verify toolbox is workingFor references on each library check REFS.mdSetup-----1. Download.2. addpath(genpath('DeepLearnToolbox'));Example: Deep Belief Network---------------------```matlabfunction test_example_DBNload mnist_uint8;train_x = double(train_x) / 255;test_x = double(test_x) / 255;train_y = double(train_y);test_y = double(test_y);%% ex1 train a 100 hidden unit RBM and visualize its weightsrand('state',0)dbn.sizes = [100];opts.numepochs = 1;opts.batchsize = 100;opts.momentum = 0;opts.alpha = 1;dbn = dbnsetup(dbn, train_x, opts);dbn = dbntrain(dbn, train_x, opts);figure; visualize(dbn.rbm{1}.W'); % Visualize the RBM weights%% ex2 train a 100-100 hidden unit DBN and use its weights to initialize a NNrand('state',0)%train dbndbn.sizes = [100 100];opts.numepochs = 1;opts.batchsize = 100;opts.momentum = 0;opts.alpha = 1;dbn = dbnsetup(dbn, train_x, opts);dbn = dbntrain(dbn, train_x, opts);%unfold dbn to nnnn = dbnunfoldtonn(dbn, 10);nn.activation_function = 'sigm';%train nnopts.numepochs = 1;opts.batchsize = 100;nn = nntrain(nn, train_x, train_y, opts);[er, bad] = nntest(nn, test_x, test_y);assert(er < 0.10, 'Too big error');```Example: Stacked Auto-Encoders---------------------```matlabfunction test_example_SAEload mnist_uint8;train_x = double(train_x)/255;test_x = double(test_x)/255;train_y = double(train_y);test_y = double(test_y);%% ex1 train a 100 hidden unit SDAE and use it to initialize a FFNN% Setup and train a stacked denoising autoencoder (SDAE)rand('state',0)sae = saesetup([784 100]);sae.ae{1}.activation_function = 'sigm';sae.ae{1}.learningRate = 1;sae.ae{1}.inputZeroMaskedFraction = 0.5;opts.numepochs = 1;opts.batchsize = 100;sae = saetrain(sae, train_x, opts);visualize(sae.ae{1}.W{1}(:,2:end)')% Use the SDAE to initialize a FFNNnn = nnsetup([784 100 10]);nn.activation_function = 'sigm';nn.learningRate = 1;nn.W{1} = sae.ae{1}.W{1};% Train the FFNNopts.numepochs = 1;opts.batchsize = 100;nn = nntrain(nn, train_x, train_y, opts);[er, bad] = nntest(nn, test_x, test_y);assert(er < 0.16, 'Too big error');```Example: Convolutional Neural Nets---------------------```matlabfunction test_example_CNNload mnist_uint8;train_x = double(reshape(train_x',28,28,60000))/255;test_x = double(reshape(test_x',28,28,10000))/255;train_y = double(train_y');test_y = double(test_y');%% ex1 Train a 6c-2s-12c-2s Convolutional neural network %will run 1 epoch in about 200 second and get around 11% error. %With 100 epochs you'll get around 1.2% errorrand('state',0)cnn.layers = { struct('type', 'i') %input layer struct('type', 'c', 'outputmaps', 6, 'kernelsize', 5) %convolution layer struct('type', 's', 'scale', 2) %sub sampling layer struct('type', 'c', 'outputmaps', 12, 'kernelsize', 5) %convolution layer struct('type', 's', 'scale', 2) %subsampling layer};cnn = cnnsetup(cnn, train_x, train_y);opts.alpha = 1;opts.batchsize = 50;opts.numepochs = 1;cnn = cnntrain(cnn, train_x, train_y, opts);[er, bad] = cnntest(cnn, test_x, test_y);%plot mean squared errorfigure; plot(cnn.rL);assert(er<0.12, 'Too big error');```Example: Neural Networks---------------------```matlabfunction test_example_NNload mnist_uint8;train_x = double(train_x) / 255;test_x = double(test_x) / 255;train_y = double(train_y);test_y = double(test_y);% normalize[train_x, mu, sigma] = zscore(train_x);test_x = normalize(test_x, mu, sigma);%% ex1 vanilla neural netrand('state',0)nn = nnsetup([784 100 10]);opts.numepochs = 1; % Number of full sweeps through dataopts.batchsize = 100; % Take a mean gradient step over this many samples[nn, L] = nntrain(nn, train_x, train_y, opts);[er, bad] = nntest(nn, test_x, test_y);assert(er < 0.08, 'Too big error');%% ex2 neural net with L2 weight decayrand('state',0)nn = nnsetup([784 100 10]);nn.weightPenaltyL2 = 1e-4; % L2 weight decayopts.numepochs = 1; % Number of full sweeps through dataopts.batchsize = 100; % Take a mean gradient step over this many samplesnn = nntrain(nn, train_x, train_y, opts);[er, bad] = nntest(nn, test_x, test_y);assert(er < 0.1, 'Too big error');%% ex3 neural net with dropoutrand('state',0)nn = nnsetup([784 100 10]);nn.dropoutFraction = 0.5; % Dropout fraction opts.numepochs = 1; % Number of full sweeps through dataopts.batchsize = 100; % Take a mean gradient step over this many samplesnn = nntrain(nn, train_x, train_y, opts);[er, bad] = nntest(nn, test_x, test_y);assert(er < 0.1, 'Too big error');%% ex4 neural net with sigmoid activation functionrand('state',0)nn = nnsetup([784 100 10]);nn.activation_function = 'sigm'; % Sigmoid activation functionnn.learningRate = 1; % Sigm require a lower learning rateopts.numepochs = 1; % Number of full sweeps through dataopts.batchsize = 100; % Take a mean gradient step over this many samplesnn = nntrain(nn, train_x, train_y, opts);[er, bad] = nntest(nn, test_x, test_y);assert(er < 0.1, 'Too big error');%% ex5 plotting functionalityrand('state',0)nn = nnsetup([784 20 10]);opts.numepochs = 5; % Number of full sweeps through datann.output = 'softmax'; % use softmax outputopts.batchsize = 1000; % Take a mean gradient step over this many samplesopts.plot = 1; % enable plottingnn = nntrain(nn, train_x, train_y, opts);[er, bad] = nntest(nn, test_x, test_y);assert(er < 0.1, 'Too big error');%% ex6 neural net with sigmoid activation and plotting of validation and training error% split training data into training and validation datavx = train_x(1:10000,:);tx = train_x(10001:end,:);vy = train_y(1:10000,:);ty = train_y(10001:end,:);rand('state',0)nn = nnsetup([784 20 10]); nn.output = 'softmax'; % use softmax outputopts.numepochs = 5; % Number of full sweeps through dataopts.batchsize = 1000; % Take a mean gradient step over this many samplesopts.plot = 1; % enable plottingnn = nntrain(nn, tx, ty, opts, vx, vy); % nntrain takes validation set as last two arguments (optionally)[er, bad] = nntest(nn, test_x, test_y);assert(er < 0.1, 'Too big error');```[![Bitdeli Badge](https://d2weczhvl823v0.cloudfront.net/rasmusbergpalm/deeplearntoolbox/trend.png)](https://bitdeli.com/free "Bitdeli Badge")

Probability and Statistics - 4th edition

Probability and Statistics - 4th edition

1670 打怪兽

1670 打怪兽 题目来源: 原创 基准时间限制:1 秒 空间限制:131072 KB 分值: 40 难度:4级算法题 收藏 关注 lyk在玩一个叫做“打怪兽”的游戏。 游戏的规则是这样的。 lyk一开始会有一个初始的能量值。每次遇到一个怪兽,若lyk的能量值>=怪兽的能量值,那么怪兽将会被打败,lyk的能量值增加1,否则lyk死亡,游戏结束。 若怪兽全部

xdlove 1931

奥特曼打小怪兽

1 /** 2 * OUTMAN附 3 * 4 * @author 王启文 5 * 6 */ 7 public class One { 8 private String name; 9 private int hp; 10 private int mp; 11 private int damage; ...

dinuo2992的博客 236

用flask创建一个简单web应用

flask框架,是WSGI的上层封装实现,使用它,我们完全不用再去了解底层的WSGI的细节了。 第一个flaskweb应用 run.py from flask import Flask # 导入Flask模块 app = Flask(__name__) # 创建应用实例 @app.route('/') # 使用route装饰器创建一个路由 def hello(): # 视图函数,访问此路由时执...

快乐是一切的博客 2227

华为机试题Java解

刚开始做算法题,菜鸟,可能不太规范,大神请指点 /*    * 题目一:通过键盘输入一串小写字母(a~z)组成的字符串。           请编写一个字符串过滤程序,若字符串中出现多个相同的字符,将非首次出现的字符过滤掉。   比如字符串“abacacde”过滤结果为“abcde”。   要求实现函数:void stringFilter(const char *pInputStr,

ZXL工作室 1292

HDU 3008 Warcraft (动态规划)【打怪类】

Have you ever played the Warcraft?It doesn't matter whether you have played it !We will give you such an experience.There are so many Heroes in it,but you could only choose one of them.Each Hero has his own skills.When such a Skill is used ,it costs some M

风的记忆 852

Flask项目能打包为单个exe文件运行?知道原理后简直不要太简单!

python打包exe工具 Python打包工具主要有三种:py2exe、PyInstaller和cx_Freeze。虽然是三种工具,但是实现打包的方式都是大同小异。无非将Python运行所需的基础dll文件和源码依赖的模块筛选后聚合在一起,从而达到脱离环境单独运行的目的。但其中比较新奇的是它们居然可以将最终代码打包成单个文件去运行,简直不要太神奇。 清风常用的打包工具为pyinstaller,安...

清风Python 9049

css实现列表展开与收起

列表的展开与收起 大家先开看看这张图: css实现列表展开与收起.gif 很多人会说,裤子都脱了,你给我看这个?不就是js点击效果么.... NO!!! checkbox input标签大家经常用到,form表单用的心累....可一般咱们的input标签中,type字段都是text、submit居多。只有到恶霸条款(已阅读以上协议,并同意...)时,才会使用。 但如果使...

清风Python 4356
上一篇: 大型情感剧集Selenium:3_元素定位
下一篇: 大型情感剧集Selenium:4_老中医教你(单/多/下拉框)选项定位
清风Python
博客等级 码龄7年 406粉丝 267原创
评论
成就一亿技术人!
拼手气红包6.0元
还能输入1000个字符
 
 条评论被折叠 查看
添加红包

请填写红包祝福语或标题

个

红包个数最小为10个

元

红包金额最低5元

当前余额3.43元 前往充值 >
需支付:10.00元
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付元
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值
⌂ 换网址