mirror of
https://github.com/NohamR/knowledge-kit.git
synced 2026-05-25 04:17:17 +00:00
docs: Electron
This commit is contained in:
@@ -105,4 +105,17 @@ pip3 install requests
|
||||
python3 coronavirus.py
|
||||
```
|
||||
|
||||

|
||||

|
||||
|
||||
|
||||
|
||||
|
||||
## 三、 疑问点
|
||||
|
||||
当我在写完 markdown 文件后,执行快捷指令打开 Typora,报错了,信息为 `command not found`。
|
||||
|
||||
```Python
|
||||
os.system('OpenMDPreview ./coronavirus.md')
|
||||
```
|
||||
|
||||
当时以为是我设置 iterm2 的 `.zshrc` 文件内 alias OpenMDPreview,但是没给 `terminal.app` 设置,为了验证猜想,给 `.bash_profile` 设置 alias 后还是无效。谷歌一下找到了问题,可以查看这个[链接](https://stackoverflow.com/questions/42677066/python-os-system-issue-sh-1-command-not-found-command-works-interactivel?answertab=active#tab-top)
|
||||
|
||||
Reference in New Issue
Block a user