📜  将 python 添加到路径 - Python 代码示例

📅  最后修改于: 2022-03-11 14:45:09.307000             🧑  作者: Mango

代码示例6
# On linux
$ which python; # Get Path of the executable
$ export PATH=$PATH:{PATH_PYTHON}; # but it isn't continue
# ----------------------
$ which python; # Get Path of the executable
export PATH=$PATH:{PATH_PYTHON}; # add in your ~/.bashrc or your ~/.zshrc