chdir
chdir is a tiny Python library for setting the current working directory to the location of a Python script.
Why?
When writing Python scripts, you might be tired of doing this:
import os
os.chdir(os.path.dirname(os.path.abspath(__file__)))
With chdir, you can do this:
import chdir
chdir.here(__file__)
Release files for chdir 1.0.0
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | |
|---|---|---|---|
| chdir-1.0.0.tar.gz | 2.4 kB | Details |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| chdir-1.0.0-py3-none-any.whl | Python 3 | none | any | Details |
Total release size: 5.6 kB
Release files / chdir-1.0.0.tar.gz
| Download URL | chdir-1.0.0.tar.gz |
|---|---|
| Size | 2.4 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
7d28caf9f4fe2b2d78d5311da35956777c651174e8eb7d9d63218bf4a46d00ea
|
|
BLAKE2b-256 checksum How to use checksums |
35d6a87936620a54c9e94b6c72b7df09fe50998fdcee4450522109924202f321
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/3.1.1 pkginfo/1.5.0.1 requests/2.23.0 setuptools/41.2.0 requests-toolbelt/0.9.1 tqdm/4.43.0 CPython/3.8.2
|
Release files / chdir-1.0.0-py3-none-any.whl
| Download URL | chdir-1.0.0-py3-none-any.whl |
|---|---|
| Size | 3.2 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
80185f8e6f7043141ca9640e8d61fee3c1f7108bd3721fe51e8f925d2fb9a4fb
|
|
BLAKE2b-256 checksum How to use checksums |
2667b07fc68c02ae6f025f87d202dfca7a0bf67a695e3469cfe9dba905135471
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/3.1.1 pkginfo/1.5.0.1 requests/2.23.0 setuptools/41.2.0 requests-toolbelt/0.9.1 tqdm/4.43.0 CPython/3.8.2
|