上一页 1 2 3 4 5 6 ··· 11 下一页
摘要: overflow溢出 值: visible | hidden | scroll | auto | inherit 初始值: visible 应用于: 块级元素、替换元素、表单元格 继承性: 无 .menu_login_li:hover { background-color: red; } <div 阅读全文
posted @ 2017-03-03 10:36 200ML 阅读(102) 评论(0) 推荐(0) 编辑
摘要: 写入用户注册信息的时候可以直接取出信息 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 阅读(86) 评论(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 阅读(105) 评论(0) 推荐(0) 编辑
摘要: corsor:not-allowed; 鼠标禁止 cursor: pointer; 鼠标小手 阅读全文
posted @ 2017-02-27 14:50 200ML 阅读(100) 评论(0) 推荐(0) 编辑
摘要: 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 阅读(9497) 评论(0) 推荐(0) 编辑
摘要: 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 阅读(128) 评论(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 阅读(89) 评论(0) 推荐(0) 编辑
摘要: 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 阅读(641) 评论(0) 推荐(0) 编辑
摘要: 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 阅读(74) 评论(0) 推荐(0) 编辑
摘要: 思路: 获取所有有生物课程的人(学号,成绩) - 临时表 获取所有有物理课程的人(学号,成绩) - 临时表 根据【学号】连接两个临时表: 学号 物理成绩 生物成绩 然后再进行筛选 SELECT a_name,h_name,h_number FROM (select (student.student_ 阅读全文
posted @ 2017-02-17 19:59 200ML 阅读(154) 评论(0) 推荐(0) 编辑
上一页 1 2 3 4 5 6 ··· 11 下一页