This library can help you to work with files
Project description
FileWorker
Install
Install library in pip
Requires pip installed
pip install fileworkerpy
Work with library
Import library
from FileWorkerPy import *
or
import FileWorkerPy
Create File
Create File object
file = File("file_path", "permissions")
If script can't find file, he will send error message to console
Work with file
Get file
Method returning a file variable
file.getFile()
Get file path
Method returning a full file path
file.getFilePath()
Get file path name
Method returning a full name of file
file.getFilePathName()
Get file name
Method returning a name of file
file.getFileName()
This method returning only file name without file extension
Get file extension
Method returning a file extension
file.getFileExtension()
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
Built Distribution
File details
Details for the file TheAlixi-fileworkerpy-0.0.2.tar.gz
.
File metadata
- Download URL: TheAlixi-fileworkerpy-0.0.2.tar.gz
- Upload date:
- Size: 2.6 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/4.0.1 CPython/3.10.7
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 082689528230baec5d1ee28b9ed219cff4f63acba57b41f267a570fbe1b41483 |
|
MD5 | a6a7691a62abdef8f062d51fa61c926a |
|
BLAKE2b-256 | 76fad245c4b58beb3d5b0e78a1be9831389bc4962cbc4044c9689a8d7183065b |
File details
Details for the file TheAlixi_fileworkerpy-0.0.2-py3-none-any.whl
.
File metadata
- Download URL: TheAlixi_fileworkerpy-0.0.2-py3-none-any.whl
- Upload date:
- Size: 3.1 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/4.0.1 CPython/3.10.7
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 7f3e32393338145e54eaee991e22b473bce4eb390f91fc2c4d55994df7421b9e |
|
MD5 | eaba4ced1923a677bfa72354f2c6207d |
|
BLAKE2b-256 | a4f90dc01feb18ddf64b679388edc110fbe3c32dca4fa05fb0266284dd70abb7 |