04 2020 档案

摘要:代码 #!/usr/bin/env python # -*- coding: utf-8 -*- import requests import re import random from bs4 import BeautifulSoup from multiprocessing.dummy impo 阅读全文
posted @ 2020-04-28 21:51 杨灏 阅读(183) 评论(0) 推荐(0) 编辑
摘要:<form action="" name="submitted" method="post"> <input type="text" name="test"/> <button οnclick="test1()"/>测试1</button> <button οnclick="test2()"/>测试 阅读全文
posted @ 2020-04-26 17:01 杨灏 阅读(930) 评论(0) 推荐(0) 编辑
摘要:错误: C:\Users\Administrator\Desktop\code_release\apps\models.py changed, reloading. Watching for file changes with StatReloader Exception in thread dja 阅读全文
posted @ 2020-04-22 12:51 杨灏 阅读(292) 评论(0) 推荐(0) 编辑
摘要:升级Python环境 yum install python3 [root@test ~]# python -V Python 2.7.5 [root@test ~]# python3 -V Python 3.6.8 [root@test bin]# cd /usr/bin/ [root@test b 阅读全文
posted @ 2020-04-09 21:23 杨灏 阅读(118) 评论(0) 推荐(0) 编辑
摘要:爬取妹子图目标网址:http://jandan.net/ooxx #!/usr/bin/env python # -*- coding: utf-8 -*- import requests import os from concurrent.futures import ThreadPoolExec 阅读全文
posted @ 2020-04-07 18:21 杨灏 阅读(474) 评论(0) 推荐(0) 编辑
摘要:Linux系统部分 1、请描述下linux 系统的开机启动过程 开机加电BIOS自检———–>MBR引导———–>grub引导菜单———–>加载内核———–>启动init进程———–>读取inittab文件———–>启动mingetty进程———–>登录系统 2、删除文件名是乱码的文件 通过inod 阅读全文
posted @ 2020-04-07 12:27 杨灏 编辑
摘要:我们在业务开发中会遇到有些字段是不需要用户进行填写的,但需要我们在后端进行赋值的情况。可以通过instance来实现 试图中如下 也可以在modelform中进行实现,通过重写__init__和save来实现 阅读全文
posted @ 2020-04-02 19:07 杨灏 编辑

点击右上角即可分享
微信分享提示