会员
周边
新闻
博问
闪存
赞助商
Chat2DB
所有博客
当前博客
我的博客
我的园子
账号设置
会员中心
简洁模式
...
退出登录
注册
登录
首页
新随笔
订阅
管理
上一页
1
···
94
95
96
97
98
99
100
101
102
···
347
下一页
2022年2月6日
PyQt5 入门系列 目录
摘要: PyQT5 PyQT入门教程(之一) PyQT5 PyQT入门教程(之二) PyQT5 PyQT入门教程(之三) PyQt5实现从主窗口打开子窗口的方法 PyQT5 实现窗口跳转并关闭上一个窗口(多窗口跳转) PyQt 自定义信号带参数 emit PyQT5 绑定函数的传参(connect 带参数)
阅读全文
posted @ 2022-02-06 16:47 emanlee
阅读(107)
评论(0)
推荐(0)
2022年2月5日
Python Web Django 模板语言中的 extends,block 和 include
摘要: 一、extends使用方法 首先 extends 也就是继承,子类继承父类的一些特性。在Django 模板中通过继承可以减少重复代码。 首先我们建立一个app,名字叫做 hello。别忘了在 settings.py 中的 INSTALLED_APPS 注册这个app。不注册会出现 hello 目录下
阅读全文
posted @ 2022-02-05 19:18 emanlee
阅读(1070)
评论(0)
推荐(0)
2022年2月4日
Django 2.1 用户认证系统 authenticate() 一直返回None
摘要: 用了 Django 一段时间后,发现存在各种各样的问题 Django 2.1 用户认证系统authenticate()一直返回None 解决方法: (1) User.objects.create_user(username=username,password=password) (2) is_act
阅读全文
posted @ 2022-02-04 19:09 emanlee
阅读(150)
评论(0)
推荐(0)
Django: ConnectionAbortedError: [WinError 10053] An established connection was aborted by the software in your host machine
摘要: Traceback (most recent call last): File "D:\Program Files\python_3_6_4\lib\wsgiref\handlers.py", line 138, in run self.finish_response() File "D:\Prog
阅读全文
posted @ 2022-02-04 16:36 emanlee
阅读(571)
评论(0)
推荐(0)
使用 pycharm 调试 Python django web项目(单步调试)
摘要: 使用 pycharm 调试 Python django web项目(单步调试) PyCharm 专业版: 先做好简易的网站: views.py from django.shortcuts import HttpResponse def index(request, year, month): pri
阅读全文
posted @ 2022-02-04 15:59 emanlee
阅读(1012)
评论(0)
推荐(0)
2022年2月3日
Python 注册表操作
摘要: 在python3以上,_winreg已经变成了winreg 读取注册表 读取用的方法是OpenKey方法:打开特定的key winreg.OpenKey(key,sub_key,res=0,sam=KEY_READ) # Computer\HKEY_LOCAL_MACHINE\SOFTWARE\Mi
阅读全文
posted @ 2022-02-03 17:02 emanlee
阅读(1094)
评论(0)
推荐(0)
2022年2月2日
cannot import name 'ugettext_lazy' from 'django.utils.translation'
摘要: 问题: from django.utils.translation import ugettext_lazy as _ImportError: cannot import name 'ugettext_lazy' from 'django.utils.translation' (C:\Python3
阅读全文
posted @ 2022-02-02 23:30 emanlee
阅读(5540)
评论(1)
推荐(0)
Django 4.0 入门系列 目录 *****
摘要: 以下文章对应的B站视频: https://www.bilibili.com/video/BV1Tu41127Ca/ Django 安装 Django 简单示例 Django 模板标签(变量 列表 字典) Django 模板标签(过滤器) Django 模板标签(if for 注释 include)
阅读全文
posted @ 2022-02-02 12:55 emanlee
阅读(1805)
评论(1)
推荐(0)
2022年2月1日
Django 部署在Windows Apache上
摘要: 文章对应的B站视频:https://www.bilibili.com/video/BV1Tu41127Ca/ Django系列文章对应的目录:https://www.cnblogs.com/emanlee/p/15860241.html Django 部署(发布)在Windows Apache上 安
阅读全文
posted @ 2022-02-01 20:18 emanlee
阅读(1134)
评论(0)
推荐(0)
启动 Apache Only one usage of each socket address (protocol/network address/port) is normally permitted. : AH00072: make_sock: could not bind to address [::]:443
摘要: 启动 D:\software\httpd-2.4.52-o111m-x64-vc15\Apache24\bin\httpd.exe 程序 D:\software\httpd-2.4.52-o111m-x64-vc15\Apache24\bin>httpd.exe (OS 10048)Only one
阅读全文
posted @ 2022-02-01 18:23 emanlee
阅读(953)
评论(0)
推荐(0)
上一页
1
···
94
95
96
97
98
99
100
101
102
···
347
下一页