随笔分类 - 小工具
摘要:摘自:http://yshblog.com/blog/117 pip install cython 安装Cython之后,还需要指定vcvarsall.bat的位置。 vcvarsall.bat是VC编译Python环境的文件之一。而vcvarsall.bat需要安装VC For Python2.7
阅读全文
posted @ 2020-07-15 20:35
慕沁
摘要:1、能用的第三方的插件 Chrome:Tampermonkey 或 Violent monkey Firefox:Greasemonkey、Tampermonkey 或 Violentmonkey Safari:Tampermonkey Microsoft Edge:Tampermonkey Ope
阅读全文
posted @ 2020-01-21 14:03
慕沁
摘要:# Copyright (c) 1993-2009 Microsoft Corp. # # This is a sample HOSTS file used by Microsoft TCP/IP for Windows. # # This file contains the mappings of IP addresses to host names. Each # entry sho...
阅读全文
posted @ 2019-02-14 23:55
慕沁
摘要:计算机\HKEY_CLASSES_ROOT\Directory\Background\shell\新建命令行\command 右键没有新建命令 计算机\HKEY_CLASSES_ROOT\Directory\Background\shellex\ContextMenuHandlers\New
阅读全文
posted @ 2019-02-05 16:55
慕沁
摘要:from io import BytesIO from reportlab.pdfgen import canvas from django.http import HttpResponse def index(request): response = HttpResponse(content_type='application/pdf') response['Conte...
阅读全文
posted @ 2018-12-13 11:26
慕沁
摘要:windows [global] timeout = 6000 index-url = https://mirrors.aliyun.com/pypi/simple/ trusted-host = mirrors.aliyun.com 在文件管理器地址输入%APPDATA% 在该目录下创建pip文件
阅读全文
posted @ 2018-11-24 14:45
慕沁
摘要:找到占用8088端口的PID netstat -ano|findstr 8088 强制杀死PID taskkill /pid 2472 -t -f
阅读全文
posted @ 2018-10-15 11:34
慕沁
摘要:pip3 install pipreqs 终端 pipreqs ./ --encoding=utf-8 curl https://bootstrap.pypa.io/get-pip.py -o get-pip.py python get-pip.py --force-reinstall
阅读全文
posted @ 2018-10-04 14:53
慕沁
摘要:pip3 install virtualenv virtualenv -p c:\Python36\python.exe venv --no-site-packages # 必须要写,指定解释器版本 virtualenv venv 默认会有安装过的所有包 C:\Users\ls\Desktop\新建文件夹 (2)\venv>Scripts\activate...
阅读全文
posted @ 2018-09-22 09:46
慕沁
摘要:根据字符串导入模块, 利用反射找到模块下的类,实例化。执行 # settings.py NOTIFY_LIST = [ 'notify.email.Email', 'notify.msg.Msg', 'notify.wechat.Wechat', ] ----------------------------- # app.py from notify imp...
阅读全文
posted @ 2018-09-07 22:05
慕沁