Python 数值运算算法
最大公约数 greatest common divisor number
最大公倍数
- least common denominator
- lowest common multiple
工具:
- numpy.lcm
- sympy.lcm
简单实现:
| |
解线性方程组
Qtile ---- window manager written in python
参考
- 官方 wiki(github) Home · qtile/qtile Wiki · GitHub
EzKey 按键
概念
group
- 即工作空间 workspace
screen 屏幕
- 屏幕不具有单独的工作空间列表
- 屏幕和 group 是分离的,只是显示容器
快捷键
xah fly keys ---- a modal editing style
教程
中文
官方教程
- Emacs: Xah Fly Keys
- tutorial://xahlee.info/emacs/misc/xah-fly-keys_tutorial.html][Emacs: Xah Fly Keys Tutorial]]
shortcuts
- windows switch:
, - buffer begin:
SPC h - command mode:
M-SPC - insert mode:
f
Lispy ---- lisp language editing helping package
按键
r: raise- 把 () 提升一级
c: convolute- 复制
上下移动
w: 上,s: 下,在键盘(w,s 按键)的下面
() 两边移动:
h,l: 左右移动d: 两边移动
() 遍历
- j,k: 上下多个 () 遍历
() 进入和退出:
Smartparens
kill sexp
smartparens:
sp-kill-sexp- 在 python-mode 中表现不如 kill-sexp
emacs:
kill-sexp- 识别 python 中的缩进对象, for 循环,字符串等
配对对象的跳转
smartparens
sp-forward-sexpsp-backward-sexpsp-down-sexpsp-up-sexp特点:
- 普通的
symbol和普通的单词也是处理的对象 - 配对的 "", (), [], wrap 对象也是跳转对象
- 普通的
emacs