创建命令目录及文件 settings.py中定义命令 代码 from scrapy.commands import ScrapyCommand??class Command(ScrapyCommand): requires_project = True? def syntax(self): retu ...
分类:
其他好文 时间:
2020-07-28 00:16:25
阅读次数:
83
注册表脚本如下 Windows Registry Editor Version 5.00 [HKEY_CLASSES_ROOT\Directory\Background\shell\CMD Here] "ShowBasedOnVelocityId"=dword:00639bc8 "Icon"="cm ...
进入命令行工具,我们可以使用 \help 来查看各个命令的语法 : postgres-# \help <command_name> 例如,我们查看下 select 语句的语法: postgres=# \help select Command: SELECT Description: retrieve ...
分类:
数据库 时间:
2020-07-27 15:50:37
阅读次数:
203
@author: 庄壮壮 1. 下载FUSE并安装 下载地址:https://osxfuse.github.io/ 2. 安装brew /bin/zsh -c "$(curl -fsSL https://gitee.com/cunkai/HomebrewCN/raw/master/Homebrew. ...
分类:
Web程序 时间:
2020-07-27 13:57:21
阅读次数:
279
Prism.Mvvm: 主要包含 BindableBase 实现数据字段绑定,并有更新通知。 建议先建个基类继承 BindableBase ,然后其他类继承基类,及方便以后有公共属性或方法的使用,也可以方便替换 Prism.Mvvm . 代码例子如下: public class BaseModelV ...
分类:
其他好文 时间:
2020-07-26 19:51:09
阅读次数:
139
Creating a GUI the way we just did works okay for very small scripts, but a much more scalable approach is to subclass Tkinter widgets to create compo ...
分类:
其他好文 时间:
2020-07-26 00:40:59
阅读次数:
61
os常用命令 os.sep:取代操作系统特定的路径分隔符 os.name:指示你正在使用的工作平台。比如对于Windows,它是'nt',而对于Linux/Unix用户,它是'posix'。 os.getcwd:得到当前工作目录,即当前python脚本工作的目录路径。 os.getenv()和os. ...
分类:
编程语言 时间:
2020-07-25 23:27:40
阅读次数:
74
终端中 fn+向上/向下 翻页 command+向上/向下 跳转到上次执行命令的位置 ls ls -a 显示所有文件包括隐藏 ls -t 按照创建时间排序 ls -l 显示文件读写,归属,内容大小等信息 file 文件名 显示文件类型 head 20 文件名 显示文件前20行信息 tail -f 文 ...
分类:
系统相关 时间:
2020-07-24 19:05:55
阅读次数:
85
Comments 注释简介 Let's take a quick break from programming and talk about comments. Comments help programmers understand what exactly the computer progra ...
分类:
其他好文 时间:
2020-07-24 09:19:32
阅读次数:
81
selenium webdriver源码结构 Python版的源码结构,只看webdriver相关 selenium-master\py\selenium\webdriver\remote 下的文件 |-- command.py 命令相关 |-- errorhandler.py 错误处理 |-- f ...
分类:
Web程序 时间:
2020-07-23 22:41:04
阅读次数:
193