摘要: 起因 需要在一台联网的计算机和一台不联网的计算机上安装 Python 包。 pygame 在线安装失败 在 CMD 命令行运行下列命令安装 pygame: python -m pip install --user pygame 或 pip install pygame 超时安装失败! 离线安装 py 阅读全文
posted @ 2023-01-08 17:41 X2009 阅读(1228) 评论(0) 推荐(0) 编辑
摘要: I was working on a series of dialogs that required validation, and since there's a funky validation setup in place, I thought I might build up a nice 阅读全文
posted @ 2021-07-12 11:45 X2009 阅读(50) 评论(0) 推荐(0) 编辑
摘要: 问题如图: 以管理员权限进入cmd 复制要运行的文件的路径到cmd,小技巧:按shift+右键此文件,可看到“复制为路径”,复制后粘贴到命令行,回车即可运行 阅读全文
posted @ 2021-04-15 21:07 X2009 阅读(3096) 评论(0) 推荐(0) 编辑
摘要: 安装CAD时提示错误:驱动器无效 随后提示 安装时发生严重错误,导致CAD无法安装 使用 subst 命令创建虚拟磁盘 将临时文件夹虚拟为 H 盘: subst H: %temp% 阅读全文
posted @ 2020-09-07 20:22 X2009 阅读(367) 评论(0) 推荐(0) 编辑
摘要: 通常制作一个可以在不同配置电脑上使用的Ghost系统需要使用系统封装软件,该类软件的核心是删除所有设备驱动, 这里自己编写命令行程序删除所有驱动替代系统封装软件 @echo off :: CPU devcon remove ACPI"Processor ::GAME Port devcon remo 阅读全文
posted @ 2020-06-06 13:27 X2009 阅读(1081) 评论(0) 推荐(0) 编辑
摘要: static void Main(string[] args) { string[] arr = { "X", "2", "0", "0", "9" }; Console.WriteLine(arr.First()); Console.WriteLine(arr.FirstOrDefault(... 阅读全文
posted @ 2018-09-15 09:57 X2009 阅读(242) 评论(0) 推荐(0) 编辑
摘要: 1. 打开注册表编辑器 2. 展开 HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows Photo Viewer\Capabilities\FileAssociations,新建 字符串值 2.1若关联jpg,则新建 名称 .jpg,值 PhotoViewer 阅读全文
posted @ 2018-08-20 21:30 X2009 阅读(226) 评论(0) 推荐(0) 编辑
摘要: EventLog标示开关,而6005表示开机,6006表示关机 阅读全文
posted @ 2018-04-25 20:19 X2009 阅读(264) 评论(0) 推荐(0) 编辑
摘要: 1 using System; 2 using System.Collections.Generic; 3 using System.Linq; 4 using System.Text; 5 6 namespace ClrVarCSharp.C13Interface 7 { 8 class Program 9 { 10 pu... 阅读全文
posted @ 2018-04-01 18:50 X2009 阅读(333) 评论(0) 推荐(0) 编辑
摘要: 1 using System; 2 using System.Collections.Generic; 3 using System.IO; 4 using System.Linq; 5 using System.Text; 6 7 namespace ClrVarCSharp.C12Generic 8 { 9 class Program 10 ... 阅读全文
posted @ 2018-04-01 18:47 X2009 阅读(182) 评论(0) 推荐(0) 编辑