上一页 1 ··· 81 82 83 84 85 86 87 88 89 ··· 96 下一页
摘要: App 创建一个app : python manage.py startapp app01 admin: from django.contrib import admin# Register your models here. apps: from django.apps import AppCon 阅读全文
posted @ 2019-12-12 17:08 干it的小张 阅读(978) 评论(0) 推荐(0) 编辑
摘要: 1、socket服务端.py import socketsk = socket.socket()sk.bind(("127.0.0.1",8000))sk.listen()while True: conn,addr = sk.accept() data = conn.recv(1024) # pri 阅读全文
posted @ 2019-12-11 17:06 干it的小张 阅读(325) 评论(0) 推荐(0) 编辑
摘要: 事件:绑定bind和解绑unbind: $('选择器').bind('事件',function(){ // 操作 ​ }) ​ $('选择器').unbind('事件') ​ $('选择器').click(function(){ // 操作 ​ }) ​mouseenter 鼠标进入 mousele 阅读全文
posted @ 2019-12-10 16:53 干it的小张 阅读(165) 评论(0) 推荐(0) 编辑
摘要: jquery 是一个模块 一个库 js封装的一个库 导入jq <script src="jquery.js"></script> <script src="https://cdn.bootcss.com/jquery/3.4.1/jquery.min.js"></script> $ == Jquer 阅读全文
posted @ 2019-12-09 16:02 干it的小张 阅读(198) 评论(0) 推荐(0) 编辑
摘要: 内存管理机制(垃圾回收机制) 对象分类: 定长: int / float #define _PyObject_HEAD_EXTRA \ struct _object *_ob_next; \ struct _object *_ob_prev; ​ typedef struct _object { _ 阅读全文
posted @ 2019-12-08 11:31 干it的小张 阅读(212) 评论(0) 推荐(0) 编辑
上一页 1 ··· 81 82 83 84 85 86 87 88 89 ··· 96 下一页