Gavin‘s 开发笔记

Gavin‘s 开发笔记

  • 首页
  • AI
    • ChatGPT
  • Java
    • Java 基础
    • Java 快餐
    • maven依赖
  • Python
    • Python基础
    • 爬虫技术
    • 自动化测试
    • 量化交易
  • Uniapp
  • Docker
  • MacOS
  • 物联网
    • esp32
  • 其他

Python基础 10 MyQR二维码生成模块

10月20日 Python,Python基础 没有评论 MyQR

# 先导入模块 from MyQR import myqr myqr.run( words='http://weixin.qq.com/r/kzlje9TEE4lsrZAY92yB', # 扫描二维码后,显示的内容,或是跳转的链接 version=5, # 设置容错率 level='H', #...

Python基础 9 smtplib模块发邮件

10月20日 Python,Python基础 没有评论 smtp

1、smtplib模块的使用规范 # smtplib 用于邮件的发信动作 import smtplib # 发信方的信息:发信邮箱,QQ邮箱授权码 from_addr = 'xxx@qq.com' password = '你的授权码数字' # 收信方邮箱 to_addr = 'xxx@qq...

Python基础 8 文件的读写操作

10月20日 Python,Python基础 没有评论 open()

file1 = open('name.txt','r',encoding='utf-8') file2=file1.read() print(file2) file1.close() #open的参数w写入、a追加、r读取 file1 = open('name.txt', 'w',encoding='utf-8') file1.write('张无忌\n') f...

Python基础 7 类&继承类

10月19日 Python,Python基础 没有评论 __init__,class

1、类的初始化传参__init__默认执行的方法 class Chinese: def __init__(self, name, birth, region): self.name = name # self.name = '吴枫' self.birth = birth # self.birth = ...

Python基础 6 取整数的三个方法

10月19日 Python,Python基础 没有评论 int(),math,round()

1、向上取值 import math # 人力计算 number = math.ceil(5.2) print(number) 2、向下取值 number=int(5.5) print(number) 3、四舍五入 number=round(5.3) print(number)

Python基础 5 循环语句for&While

10月19日 Python,Python基础 没有评论 for,while

for用于已明确循环次数,while可用于未知循环次数 #用for循环把诗句打印3遍 for i in range(1,4) : print('明日复明日,明日何其多。') #用while循环把诗句打印3遍 j = 1 while j<4 : print ('明...

Python基础 4 列表(数组)的常用方法

10月19日 Python,Python基础 没有评论

列表的数据循环使用 students = ['党志文', '浦欣然', '罗鸿朗', '姜信然', '居俊德', '宿鸿福', '张成和', '林景辉', '戴英华', '马鸿宝', '郑翰音', '厉和煦', '钟英纵', '卢信然', '任正真', '翟彭勃', '...

Python基础 3 条件判断 IF

10月19日 Python,Python基础 没有评论 if

IF语句的条件判断 stonenumber=0 if stonenumber>=6: print('你拥有了毁灭宇宙的力量') elif 0<stonenumber<=5: print('绯红女巫需要亲手毁掉幻视额头上的心灵宝石') else: pr...

Python基础 2 常用的模块

10月19日 Python,Python基础 没有评论 random,sleep,time

time模块: import time print('如果你想拥有无限的力量和能量,那必须夺得力量宝石') time.sleep(2) print('如果你想扭曲时空和任意地传送,那必须夺得空间宝石') random随机数模块: import rando...

Python基础 1 运算符&基础函数

10月19日 Python,Python基础 没有评论 float(),int(),print(),str()

type()函数:可以输出变量类型 code = '通行密码' print(type(code)) 数据类型的转换函数: str() int() float() input()函数:输入内容附值给变量 print('那么,您的选择是什么? 1 接受...

  • 18
  • 19
  • 20
  • 21
  • 22
  • 23(current)
  • 24

文章分类

  • 未分类 (41)
  • MacOS (8)
  • Java (48)
  • Python (40)
  • Docker (30)
  • Dart (1)
  • uniapp (30)
  • 区块链 (4)
  • 挖矿 (1)
  • 魔兽搬砖 (5)
  • 物联网 (9)
  • AI (22)
  • 运营 (1)
  • ES (3)

热门文章

  • 网易音乐下载方法
  • docker 修改时区
  • 解决:claude code 无法连接到 Anthropic 服务
  • cursor + context7 + RIPER5.md
  • docker 部署postgres

随机推荐

  • Nginx配置https
  • Docker启动mongo并配置链接权限
  • git 常用命令
  • 爬虫 和机器人聊天
  • js判断变量是否为 undefine,是否 null,
  • Java (常用变量、运算符、选择、循环)
  • JAVA快餐 6 spring boot集成mybatis(3) – mybatis generator 配置
  • 【以太坊DAPP开发】2 前端页面及web3的实现
  • Springboot2.6-7不兼容swagger3.0.0问题
  • JAVA快餐 7 spring boot 接口返回值封装

标签云

ai assert centos charles ChatGPT Date() docker flex https if int() jar Java基础 linux lsof MacOs maven minio mock.patch mongo mybatis-plus mybatisplus mysql Next-Web nginx open() PaginationInterceptor pytest pytest.fixture python3.9 requests socks5 springboot ssh static swagger tyindb uni-app Vercel vue while yield 潘多拉 虚拟机 量化交易

友情链接

  • B 站视频下载
  • Gavin's 钢琴笔记
  • 图片压缩
  • 二维码生成
  • 奇客谷
  • 人邮教育
  • SpringBoot集合教程
  • Ray's Blog
  • Python自动化测试
  • el-admin
  • GIISO写作机器人
  • 微90(AI配音)
  • Mixkit视频素材
  • 牛片网
  • 悦比特
  • 茶杯狐
  • 未来MAC软件下载
  • No视频
  • 图片转文字
  • google play

2011-2023 G.lvovl.cn | 沪ICP备11031715号

代码在页面底部,统计标识不会显示,但不影响统计效果