Change working directory up a number of levels or to a named folder
Project description
ezdir
Simple utilities to change the current working directory in Python:
up(n)goes upndirectory levels.find("foldername")goes up to the first parent folder matching a name.
Installation
pip install ezdir
Example
from updir import up, find
up(2) # Go up two levels
find("scripts") # Change to a parent folder named 'scripts', errors if it doesn't exist
Project details
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
ezdir-0.1.1.tar.gz
(3.8 kB
view details)
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
ezdir-0.1.1-py3-none-any.whl
(4.6 kB
view details)
File details
Details for the file ezdir-0.1.1.tar.gz.
File metadata
- Download URL: ezdir-0.1.1.tar.gz
- Upload date:
- Size: 3.8 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.1.0 CPython/3.9.16
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
fc03a7a0d5c2a12dabada2c4ab4dc3df889cc9e9e458248de997abd39af3cc8d
|
|
| MD5 |
768850e80358b0d8604d0e6801353620
|
|
| BLAKE2b-256 |
aad9465c76f553d24b896fbc83e048d76df14f731c788bec0b98986359f2c97e
|
File details
Details for the file ezdir-0.1.1-py3-none-any.whl.
File metadata
- Download URL: ezdir-0.1.1-py3-none-any.whl
- Upload date:
- Size: 4.6 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.1.0 CPython/3.9.16
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
65121ad16eb5c620aded4fed89be33d24d8606215ae1c9ef089f04cf9c75748a
|
|
| MD5 |
0d5b913af436f82bb77d1c31479d281d
|
|
| BLAKE2b-256 |
34c0d696eee30863f7ad8749865280a91c1f2ea2a883b3ca9dd475867d308866
|