会员
众包
新闻
博问
闪存
赞助商
HarmonyOS
Chat2DB
所有博客
当前博客
我的博客
我的园子
账号设置
会员中心
简洁模式
...
退出登录
注册
登录
200ML
博客园
首页
新随笔
联系
订阅
管理
上一页
1
2
3
4
5
6
···
11
下一页
2017年3月3日
css补充知识
摘要: overflow溢出 值: visible | hidden | scroll | auto | inherit 初始值: visible 应用于: 块级元素、替换元素、表单元格 继承性: 无 .menu_login_li:hover { background-color: red; } <div
阅读全文
posted @ 2017-03-03 10:36 200ML
阅读(105)
评论(0)
推荐(0)
2017年2月27日
sqlalchemy 知识补充
摘要: 写入用户注册信息的时候可以直接取出信息 def write_info(user,pwd,phone,email): aaaa = time.strftime('%Y-%m-%d-%H-%M-%S', time.localtime(time.time())) Session = sessionmake
阅读全文
posted @ 2017-02-27 17:21 200ML
阅读(100)
评论(0)
推荐(0)
类的知识补充
摘要: class aa: def __init__(self): self.a = 'a' class bb(aa): def __init__(self): self.b = 'b' super(bb, self).__init__() print(self.a) obj = bb() class fo
阅读全文
posted @ 2017-02-27 15:16 200ML
阅读(109)
评论(0)
推荐(0)
鼠标样式css
摘要: corsor:not-allowed; 鼠标禁止 cursor: pointer; 鼠标小手
阅读全文
posted @ 2017-02-27 14:50 200ML
阅读(106)
评论(0)
推荐(0)
2017年2月26日
sqlalchemy基本类型
摘要: engine = create_engine("mysql+pymysql://root:123456@127.0.0.1:3306/ct?charset=utf8") 写入中文时候要加 ?charset=utf8 更多参照官网:http://docs.sqlalchemy.org/en/rel_1
阅读全文
posted @ 2017-02-26 12:27 200ML
阅读(9528)
评论(0)
推荐(0)
2017年2月24日
邮件发送
摘要: import smtplib from email.mime.text import MIMEText from email.utils import formataddr msg = MIMEText('邮件内容', 'plain', 'utf-8') msg['From'] = formataddr(["武沛齐",'wptawy@126.com']) msg['To'] = fo...
阅读全文
posted @ 2017-02-24 21:25 200ML
阅读(134)
评论(0)
推荐(0)
获取当前时间
摘要: import datetime a = datetime.datetime.now() print(a) import time time.strftime('%Y-%m-%d-%H-%M-%S',time.localtime(time.time()))
阅读全文
posted @ 2017-02-24 21:04 200ML
阅读(95)
评论(0)
推荐(0)
__dict__ 方法
摘要: class MainHandler: def __init__(self): self.host = "(.*)" self.ip = "^(25[0-5]|2[0-4]\d|[0-1]?\d?\d)(\.(25[0-5]|2[0-4]\d|[0-1]?\d?\d)){3}$" self.port = "(\d+)" se...
阅读全文
posted @ 2017-02-24 10:01 200ML
阅读(645)
评论(0)
推荐(0)
2017年2月22日
Mysql纯方法
摘要: create table userinfo( user_nid int auto_increment primary key not null, user_name char(16) not null, user_pwd varchar(64) not null, user_email varcha
阅读全文
posted @ 2017-02-22 22:05 200ML
阅读(82)
评论(0)
推荐(0)
2017年2月17日
Mysql-练习题
摘要: 思路: 获取所有有生物课程的人(学号,成绩) - 临时表 获取所有有物理课程的人(学号,成绩) - 临时表 根据【学号】连接两个临时表: 学号 物理成绩 生物成绩 然后再进行筛选 SELECT a_name,h_name,h_number FROM (select (student.student_
阅读全文
posted @ 2017-02-17 19:59 200ML
阅读(156)
评论(0)
推荐(0)
上一页
1
2
3
4
5
6
···
11
下一页
公告