Operating system paths and files.
Project description
systempath
Operating system paths and files.
Let Python operating system paths and files become Simple, Simpler, Simplest, Humanization, Unification, Flawless.
pip3 install systempath
>>> from systempath import SystemPath, Directory, File
>>> root = SystemPath('/')
>>> home: Directory = root['home']['gqylpy']
>>> home
/home/gqylpy
>>> file: File = home['alpha.txt']
>>> file
/home/gqylpy/alpha.txt
>>> file.open.rb().read()
b'GQYLPY \xe6\x94\xb9\xe5\x8f\x98\xe4\xb8\x96\xe7\x95\x8c'
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 Distributions
No source distribution files available for this release.See tutorial on generating distribution archives.
Built Distribution
systempath-1.0a8-py3-none-any.whl
(27.1 kB
view hashes)
Close
Hashes for systempath-1.0a8-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 3f3374957378943fcf566d2f1d9ba93d6fe3e56ac32b639038e3a3220444d6b7 |
|
MD5 | 776febecd75b408bf4be2eeb1f66f144 |
|
BLAKE2b-256 | 5bbc611934e160a19307b2fb112a066801478805258d04ba94d63eeac2b835f2 |