会员
众包
新闻
博问
闪存
赞助商
HarmonyOS
Chat2DB
所有博客
当前博客
我的博客
我的园子
账号设置
会员中心
简洁模式
...
退出登录
注册
登录
Alnk
邮箱:1029612787@qq.com
博客园
管理
上一页
1
···
25
26
27
28
29
30
31
32
33
···
35
下一页
2021年4月27日
Python语言系列-10-数据库
摘要: MySQL 基础环境准备 readme.txt 作者:Alnk(李成果) 版本:v1.0 安装mysql数据库 略 创建student库 # mysql> create database student charset=utf8mb4; 导入 student.sql 文件到数据库 # mysql>
阅读全文
posted @ 2021-04-27 16:24 李成果
阅读(91)
评论(0)
推荐(0)
2021年4月26日
Python语言系列-09-socket编程
摘要: 简介 软件开发的架构 1.C/S架构(client-server) 2.B/S架构 (browser-server) 网络基础概念 网络三要素: 1、ip 2、port 3、通信协议:TCP、UDP TCP(Transmission Control Protocol)可靠的、面向连接的协议(eg:打
阅读全文
posted @ 2021-04-26 16:17 李成果
阅读(65)
评论(0)
推荐(0)
2021年4月23日
Python语言系列-08-面向对象3
摘要: 反射 #!/usr/bin/env python3 # author: Alnk(李成果) # 反射 # hasattr getattr setattr delattr class Animal(object): gender = 'male' def __init__(self, name, ag
阅读全文
posted @ 2021-04-23 15:53 李成果
阅读(46)
评论(0)
推荐(0)
2021年4月21日
Python语言系列-07-面向对象2
摘要: 重构父类__init__方法 #!/usr/bin/env python3 # author:Alnk(李成果) # 需求:Dog类要新增一个实例属性,但是Cat类不需要 class Animal(object): def __init__(self, name, age): self.name =
阅读全文
posted @ 2021-04-21 17:40 李成果
阅读(78)
评论(0)
推荐(0)
2021年4月20日
Python语言系列-06-面向对象1
摘要: 楔子 #!/usr/bin/env python3 # author:Alnk(李成果) # 人狗大战例子引入面向对象 # 版本1 def hero(name, sex, hp, ce, level=2, exp=2000, money=10000): hero_info = { 'name': n
阅读全文
posted @ 2021-04-20 17:18 李成果
阅读(107)
评论(0)
推荐(0)
上一页
1
···
25
26
27
28
29
30
31
32
33
···
35
下一页
公告