Skip to content

Monthly Archives: May 2020

Sniptool – Screen Capture

26-May-20

Sniptool – Screen Capture

Python for Machine Learning: Indexing and Slicing for Lists, Tuples, Strings, and other Sequential Types

25-May-20

List is arguably the most useful and ubiquitous type in Python. One of the reasons it’s so handy is Python slice notation. In short, slicing is a flexible tool to build new lists out of an existing list.

Python supports …

flask-mdict 架设自己的 MDict Web Server

23-May-20


https://github.com/liuyug/flask-mdict!
针对非 IT 人员,多说些:

1. 安装 python3,加入到 windows 路径
2. 下载  https://github.com/liuyug/flask-mdict/archive/master.zip 并解压缩
3. 打开 cmd 窗口,进入解压缩目录
4. 安装依赖包,pip3 install -r requirements.txt
5.建立 content 目录, mkdir content8 I. I; a3 d* r
6. 下载词频信息  https://github.com/skywind3000/ECDICT/raw/master/ecdict.csv
7.将 ecdict.csv 转换为 sqlite3

Microsoft IME + Japanese Useful ShortCut

23-May-20
  • Press Alt + Shift to change the input language
  • Press Ctrl + Caps Lock to change to Hiragana
  • Press Alt + Caps Lock to change to Katakana
  • Press Alt + ~ to toggle between alphanumeric and kana modes