【发布时间】:2017-05-15 12:40:52
【问题描述】:
如何将带有子目录的整个目录添加到我的路径中?我需要它从我的 python 目录中获取至少 2 深度。 python/x/y/MYEXE 和 python/x/MYEXE。谢谢!我知道如何添加它,我只需要所有路径。
python
├── artist
│ ├── curses
│ └── draw
├── binary
├── check
│ ├── pycheck.py
│ └── README.md
├── classexample
│ └── myclass
├── clixr
│ ├── clix
│ └── crcards.json
├── conn4generator
├── conway
│ ├── cell_checker_lib.py
│ └── game
├── elementify
│ ├── elementify
│ └── elements.txt
├── encryption
│ ├── encoder1
│ │ ├── decode
│ │ └── encode
│ └── encoder2
│ ├── code
│ └── decode
【问题讨论】:
-
您只需添加两次。之前回答过很多次。 stackoverflow.com/questions/15508892/…