Search for files in sys.path
Project description
Search for files in sys.path
$pip install search-in-syspath
from search_in_syspath import search_in_syspath
print(search_in_syspath(filename="__init__.py", isregex=False))
print(search_in_syspath(filename=r"_+i.it_+\.py", isregex=True))
...
'C:\\Users\\Gamer\\anaconda3\\envs\\dfdir\\lib\\site-packages\\torch\\nn\\quantized\\dynamic\\__init__.py',
'C:\\Users\\Gamer\\anaconda3\\envs\\dfdir\\Lib\\site-packages\\tensorflow\\_api\\v2\\compat\\v2\\types\\__init__.py',
'C:\\Users\\Gamer\\anaconda3\\envs\\dfdir\\Lib\\site-packages\\pip\\_vendor\\urllib3\\contrib\\_securetransport\\__init__.py',
'C:\\Users\\Gamer\\anaconda3\\envs\\dfdir\\lib\\site-packages\\tabledata\\__init__.py',
...
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
search_in_syspath-0.10.tar.gz
(3.4 kB
view hashes)
Built Distribution
Close
Hashes for search_in_syspath-0.10-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 75b4d15ad93dac566b3f12d8c81a3579a2ddee0b743ad1a88f7c5a5077920c9b |
|
MD5 | 29347d719a333c1ef97050a576552bb3 |
|
BLAKE2b-256 | 39dd1fc9dc369444cc07234e617137fa1a1ad5881cf005b38b7ac13b43312227 |