摘要:上篇用qpython不成功,想用termux试试, 1 从https://store.nethunter.com/en/packages/com.termux/下载apk,我是安桌5.1未root,心中没底能否安装:-) 2 安装比较顺利,但是一打开就显示install中,又是可恶的q,之前找的老王
阅读全文
摘要:吐槽一下,明明github已经是微软的了,为什么用微软的edge去访问就显示“无法安全地连接到此页面 这可能是因为该站点使用过期的或不安全的 TLS 安全设置。如果这种情况持续发生,请与网站的所有者联系。” 相关设置中与tls相关的都打了勾,网络也重置过了,死活不行。然而,换了chrome就正常访问
阅读全文
摘要:https://www.google.cn/intl/zh-HK/chrome/canary/
阅读全文
摘要:英语不好,幸好Django官方3.0版教程有中文版,对照官方教程将初学者部分过一下 win10 python 3.7.7 第1 部分 1 安装 python -m pip install Django 创建项目-打开命令行,cd 到一个你想放置你代码的目录(如:www),然后运行以下命令: djan
阅读全文
摘要:win10 cmd 又出现乱码,用chcp 65001 也不行,改字体也不行。 乱码为:Comment: \xE6\x89\x93\xE5\x8D\xB0\xE6\x9C\xBA\xE9\xA9\xB1\xE5\x8A\xA8\xE7\xA8\x8B\xE5\xBA\x8F 想看看是什么意思 代码:
阅读全文
摘要:1 安装 (如果误用了 pip insatll nmap的话,要先 pip uninstall nmap) pip install python-nmap Nmap 是一款用于网络发现和安全审计的网络安全工具,可以检测目标主机是否在线、端口开放情况、侦测运行的服务类型及版本信息、侦测操作系统与设备类
阅读全文
摘要:win10+python 3.7.7 1 准备软件和对应版本的字库 我是从这里https://digi.bib.uni-mannheim.de/tesseract/下载的tesseract-ocr-w64-setup-v4.0.0.20181030.exe将然后从https://github.com
阅读全文
摘要:1 从https://tlanyan.me/v2防风ray-clients-download/下载到了软件 2 从http://ooask.com/35565.html 找到了免费帐号 V2防风ray账号1(ws+tls): Address(地址): tr3.free6666.net Port(端口
阅读全文
摘要:目标:虽然类似QQ等软件带有截屏功能,但还是感觉自造的好 使用说明:将以下代码保存为如:截屏.pyw 并发送到 桌面快捷方式 然后修改快捷方式的属性 增加快捷键。 现在可以用快捷键启动脚本截屏了。 然而:win10自带的 “Win+Shift+S”组合键便可进入截屏模式 代码: #! /usr/bi
阅读全文
摘要:将之前用go写的代码改为python,这种应用还是用python方便 #coding=utf8 import os,re,time,logging import pyautogui from apscheduler.schedulers.background import BackgroundSch
阅读全文
摘要:安装 pip install apscheduler 2 APScheduler最基本的用法: “定时几秒后启动job” 每个job都会以thread的方式被调度。分为BlockingScheduler与BackgroundScheduler方式 BackgroundScheduler例子(不阻塞)
阅读全文
摘要:1 win10系统,代码: #!/usr/bin/python # -*- coding: UTF-8 -*- import time import tkinter as tk import tkinter.font as tf import webbrowser as web def save()
阅读全文
摘要:1、 先要安装第三方库 python-docx。(处理doc和docx,但是doc易出问题) pip install python-docx 2、生成一个word #coding=utf-8 from docx import Document Doc = Document() Doc.save("m
阅读全文
摘要:执行 pip install pyautogui 提示: Could not find a version that satisfies the requirement Pillow>=6.2.1 (from pyscreeze>=0.1.21->pyautogui) (from versions:
阅读全文
摘要:代码: import win32api,win32con win32api.MessageBox(0, "这是一个测试消息", "消息框标题",win32con.MB_OK) 需要安装pywin32模块, pip install pywin32 有了这个模块python就可以使用windows ap
阅读全文
摘要:win10环境,假设: py脚本所在的当前目录下有index.html文件,现在, 要将index.html 中的汉字提取出来,保存为当前目录下的temp.txt,然后用notepad.txt打开查看。代码: #coding=utf8 import os,re with open('index.ht
阅读全文
摘要:win10环境 一、 安装node 下载地址:http://nodejs.cn/download/ ,一路NEXT,我安装到了d:\nodejs 目录。 二、让node自带的npm使用淘宝镜像(推荐方式) npm config set -g registry https://registry.npm
阅读全文