📜  使用 python 代码示例编辑路径变量

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

代码示例4
# 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