- 博客(17)
- 收藏
- 关注
原创 Vim 方向键变ABCD SecureCRT解决方法
将SecureCRT里→→全局设置→→默认会话设置→→终端→→仿真模式里的初始模式的光标键模式取消勾选即可= =
2019-11-27 11:07:43
718
原创 peewee函数
fn.MAX(Die.id) 最大值fn.MIN(Die.id) 最小值fn.CONCAT(Die.file_name, ' ', Die.borrower) 连接字符串fn.DISTINCT() 去重fn.DATE(Feelog.create_time == datetime.date(now.year, now.month, now.day)) 匹配时间 ...
2018-09-27 11:27:27
1774
原创 BitField
Mysql 里 peewee中没有一些字段类型(?)报错 “invalid literal for int() with base 10:.....”在BaseModel类并排放置class BitField(object): def __init__(self, *_, **__): pass即可...
2018-09-18 11:17:05
940
原创 crypto 安装
只要。。。。。。。。。。。。。。。。 pip install pycryptodome 即可!!!!!!!!!!!!!!!!!!!
2018-09-07 14:31:56
1194
原创 HTTP 405: Method Not Allowed
get 。。。restlet使用了post报错“HTTP 405: Method Not Allowed”
2018-09-05 11:37:24
1233
原创 python disabled butthon
Button(self.root, text = ' Start ', font = ('arial', 20), command = self.Start, state = 'disabled')
2018-06-20 17:53:24
923
原创 python3 entry處理回車
from tkinter import *def main(): root = Tk() root.geometry('800x300') def l2tobutton(event): print(2) l_glass = Label(root, text = 'Glass number : ', font = ('Consalas', 20)) l_glass.grid(row...
2018-05-16 10:01:57
889
原创 取消 MFC窗口置頂
SetWindowPos(&wndNoTopMost, 0, 0, 0, 0, SWP_NOSIZE | SWP_NOMOVE);
2018-05-07 09:33:42
824
转载 python sublime text3基础用户设置
工具栏 Preferences – Settings-User// "color_scheme" : "Packages/Color Scheme - Default/Monokai.tmTheme", // theme"draw_minimap_border" : true, ...
2018-04-19 17:16:24
587
原创 使用ImageFont.truetype时跳出OSError: cannot open resource
font = ImageFont.truetype('Arial.ttf', 36)改为font = ImageFont.truetype('arial.ttf', 36)即可
2018-03-09 17:31:40
15749
8
原创 安装Pillow
1.python模块的网站:https://www.lfd.uci.edu/~gohlke/pythonlibs根据版本下载的 Pillow‑3.4.2‑cp36‑cp36m‑win32.whl在cmd里输入pip install Pillow-3.4.2-cp36-cp36m-win32.whl但总是提示于是...2.在shell中输入import pip; print(pip.pep425ta...
2018-03-09 11:36:14
3524
2
转载 wcstombs_s 问题
#include //加头文件..setlocale(LC_CTYPE,"Chinese-simplified");//在wcstombs_s之前设置
2018-01-29 11:25:50
2057
转载 Source Tree免登陆安装
整理自网络打开我的电脑,输入%LocalAppData%\Atlassian\SourceTree\新建文件accounts.json[{"$id": "1","$type": "SourceTree.Api.Host.Identity.Model.IdentityAccount, SourceTree.Api.Host.Identity","Authenticat
2017-12-28 09:55:09
334
原创 error MSB8031: Building an MFC project for a non-Unicode character set is deprecated
在 https://www.microsoft.com/en-us/download/details.aspx?id=40770 下載2013或者
2017-11-03 16:53:56
317
原创 MSVCRTD.lib(crtexe.obj) : error LNK2019
vs2005 WIN32應用臺應用程序MSVCRTD.lib(crtexe.obj) : error LNK2019: unresolved external symbol _main referenced in function ___tmainCRTStartup
2017-10-27 11:10:16
404
空空如也
空空如也
TA创建的收藏夹 TA关注的收藏夹
TA关注的人