Skip to content

Monthly Archives: May 2020

Sniptool – Screen Capture


Sniptool – Screen Capture

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


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

针对非 IT 人员,多说些:

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

Microsoft IME + Japanese Useful ShortCut

  • 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