会员
众包
新闻
博问
闪存
赞助商
HarmonyOS
Chat2DB
所有博客
当前博客
我的博客
我的园子
账号设置
会员中心
简洁模式
...
退出登录
注册
登录
李瑞鑫
博客园
首页
新随笔
联系
订阅
管理
上一页
1
2
3
4
5
6
7
下一页
2017年1月9日
python小程序之并发连接
摘要: 1 import threading 2 import socket 3 import time 4 def conn(): 5 cli = socket.socket() 6 cli.connect(("58.68.232.139",80)) 7 while True: 8 data = input(">>>").strip() 9 ...
阅读全文
posted @ 2017-01-09 21:40 李瑞鑫
阅读(298)
评论(0)
推荐(0)
2017年1月8日
django之模版的自定义函数
摘要: - 自定义函数 simple_tag a. app下创建templatetags目录 b. 任意xxoo.py文件 c. 创建template对象 register d. __author__ = 'Administrator'from django import templatefrom djan
阅读全文
posted @ 2017-01-08 23:07 李瑞鑫
阅读(1854)
评论(0)
推荐(0)
django之母版的继承
摘要: 模板继承示例 继承
阅读全文
posted @ 2017-01-08 22:26 李瑞鑫
阅读(810)
评论(0)
推荐(0)
2017年1月6日
jQuery 模态对话框示例
摘要: 1 <!DOCTYPE html> 2 <html lang="en"> 3 <head> 4 <meta charset="UTF-8"> 5 <title>Title</title> 6 <style> 7 .hide{ 8 display: none; 9 } 10 .modal{ 11 po
阅读全文
posted @ 2017-01-06 14:22 李瑞鑫
阅读(273)
评论(0)
推荐(0)
HTML之form表单和input系列
摘要: 表格 model 查询操作
阅读全文
posted @ 2017-01-06 00:35 李瑞鑫
阅读(1026)
评论(0)
推荐(0)
2017年1月5日
html之select标签
摘要: 循环select标签
阅读全文
posted @ 2017-01-05 22:43 李瑞鑫
阅读(298)
评论(0)
推荐(0)
django ORM的外键操作
摘要: 外键约束示例 注意: server_group 是一个对象 里边封装了id和caption,如果想取 caption可以通过如下方法: for row in list row.servername row.serverip row.server_group.caption
阅读全文
posted @ 2017-01-05 22:41 李瑞鑫
阅读(575)
评论(0)
推荐(0)
Ajax请求示例
摘要: Ajax请求示例
阅读全文
posted @ 2017-01-05 15:46 李瑞鑫
阅读(7677)
评论(0)
推荐(0)
2016年12月1日
mysql 基本操作
摘要: 创建数据库 连表查询
阅读全文
posted @ 2016-12-01 00:26 李瑞鑫
阅读(217)
评论(0)
推荐(0)
2016年11月14日
python学习之day6,常用标准模块
摘要: 1.时间模块 time 2.random模块 生成随机字符 3.shutil 模块 复制,删除,打包压缩 4.hashlib 模块 可以用来校验文件一致性 5. logging 模块
阅读全文
posted @ 2016-11-14 13:57 李瑞鑫
阅读(212)
评论(0)
推荐(0)
上一页
1
2
3
4
5
6
7
下一页
公告