Skip to content

Commit 2ff51bd

Browse files
committed
添加 python command
1 parent e2af171 commit 2ff51bd

File tree

1 file changed

+36
-0
lines changed

1 file changed

+36
-0
lines changed

Temp/bash/python_bash_command.md

Lines changed: 36 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,36 @@
1+
# 常用命令
2+
3+
- [一. pip](#一-pip)
4+
- [1.1. pip --editable](#11-pip---editable)
5+
- [1.2. pip list](#12-pip-list)
6+
- [二. flake8](#二-flake8)
7+
8+
## 一. pip
9+
10+
### 1.1. pip --editable
11+
12+
```bash
13+
pip2 install -e .
14+
pip3 install -e .
15+
```
16+
17+
### 1.2. pip list
18+
19+
```bash
20+
pip2 list > ./Temp/txt/pip2_list.txt
21+
pip3 list > ./Temp/txt/pip3_list.txt
22+
23+
pip2 freeze > ./Temp/txt/pip2_freeze.txt
24+
pip3 freeze > ./Temp/txt/pip3_freeze.txt
25+
```
26+
27+
## 二. flake8
28+
29+
```bash
30+
31+
flake8 ./src/ > ./Temp/flake8_recorder.txt
32+
flake8 --exclude [*.pyc] ./src/
33+
flake8 --exclude [*.pyc] ./src/ > ./Temp/flake8_recorder.txt
34+
flake8 --help > ./Temp/flake8_help.txt
35+
36+
```

0 commit comments

Comments
 (0)