上一页 1 ··· 11 12 13 14 15 16 17 18 19 ··· 21 下一页
  2018年4月25日
摘要: 1 第一部分目录详解 修改django的项目当中的url中的配置: from django.contrib import admin from django.conf.urls import url from django.urls import path from django.shortcuts 阅读全文
posted @ 2018-04-25 23:49 90500042陈 阅读(266) 评论(0) 推荐(0) 编辑
摘要: 针对此 需要安装itchat第三方模块 采用pip安装就可以了 pip install itchat 阅读全文
posted @ 2018-04-25 18:29 90500042陈 阅读(497) 评论(0) 推荐(0) 编辑
  2018年4月24日
摘要: 第一部分socket的简单示例 服务器部分: 客户端部分:注意在发送数据时发送的是二进制 """ Description: Author:Nod Date: Record: # v1 # """ import socket plone=socket.socket(socket.AF_INET,soc 阅读全文
posted @ 2018-04-24 19:36 90500042陈 阅读(144) 评论(0) 推荐(0) 编辑
摘要: """Description:Author:NodDate:18-04-24Record:#---------------------------------v1-----------------------------------#"""## print('====start======')# try:# l=[]# print(l[10000])# prin... 阅读全文
posted @ 2018-04-24 18:45 90500042陈 阅读(150) 评论(0) 推荐(0) 编辑
摘要: http://www.themesmap.com/theme.html?t=time&page=3 一些好的主题地址 直接导入import settings就可以使用了 阅读全文
posted @ 2018-04-24 08:13 90500042陈 阅读(105) 评论(0) 推荐(0) 编辑
  2018年4月23日
摘要: 1 替换 r 替换 先按r再按要替换的内容 2 按yy复制当前行 按p是粘贴 3 # add at 18-10-25 # # vim整理# VIM 快捷键记录快速定位到某行 ctrl+a 到最前面ctrl+e 到最后 dG 删除所有内容 ctrl+w 删除一个单词 # # route 整理# rou 阅读全文
posted @ 2018-04-23 20:34 90500042陈 阅读(172) 评论(0) 推荐(0) 编辑
  2018年4月17日
摘要: #模拟故障:-bash-4.1$ [root@nodchen ~]# su - cisco[cisco@nodchen ~]$ \rm -f .*rm: cannot remove `.': Is a directoryrm: cannot remove `..': Is a directory[c 阅读全文
posted @ 2018-04-17 10:11 90500042陈 阅读(183) 评论(0) 推荐(0) 编辑
  2018年4月12日
摘要: 先来一段代码 表示互殴 class Gailun: country='demaxia' def __init__(self,name,age,life_value,att): self.name=name self.age=age self.life_value=life_value self.at 阅读全文
posted @ 2018-04-12 16:46 90500042陈 阅读(246) 评论(0) 推荐(0) 编辑
  2018年4月11日
摘要: 日志模块的用法 json部分 先开一段测试代码:注意 str可以直接处理字典 eval可以直接将字符串转成字典的形式 原先目录结构为: logging begin settings.py 1 """ 2 Description: 3 Author:Nod 4 Date: 5 Record: 6 # 阅读全文
posted @ 2018-04-11 20:22 90500042陈 阅读(529) 评论(0) 推荐(0) 编辑
摘要: 假定spam代码如下 money=1000 def index(): print('in the index') def bbs(): print('in the bbs') def delphi(): print('in the delphi') if __name__=='__main__': 阅读全文
posted @ 2018-04-11 18:53 90500042陈 阅读(174) 评论(0) 推荐(0) 编辑
上一页 1 ··· 11 12 13 14 15 16 17 18 19 ··· 21 下一页