The file processing collection for Python
Project description
This is a powerful package for manipulatinf files. It contains all the attribute and functions in model sky-txt. So model sky-txt won't be updated from now on.
#Warnings This packages was called PFI before version 0.0.2. And now it is called PFL.
#History
0.0.1 (2024-11-09}
I have written packages since 2022.And I uplowded txt in Feb,2023. This time I add more files in to this model.
0.0.2 (2024-11-16}
Fixed a major issue with incompleted packages.
0.0.3 (2024-11-16锝
Fixed a major issue with syntax errors packages.
How to use PFL
- Install PFL
pip install PythonFileLib
- You're done! Now all there is to do is read the documentation.
Documentation
- Load Package
import PFL
dir(PFL)
- get files(examples)
from PFL import file
from file import file
f = file.file('C:/123.py',file.AP)
f.change_extension('.txt') #it would become 123.txt
f.movefile('D:/')
- Get text in .txt files
from PFL import file
from file import txt
f = txt.txt('C:/123.txt')
f.write("123")
f.write("456")
print(f.read_first_line) #return 123
f.change_txt_line(2,'123') #line2 will become 123
- Read .csv files
from PFL import file
from file import csv
f = csv.csv('C:/123.csv')
f.read()
Functions and classes are updating......
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
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
File details
Details for the file pythonfilelib-0.0.3.tar.gz.
File metadata
- Download URL: pythonfilelib-0.0.3.tar.gz
- Upload date:
- Size: 6.0 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/5.1.1 CPython/3.11.0
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
693df5a1f695a616c38281872e31d6b77335691751122b6e077ac9d8e05d5072
|
|
| MD5 |
bc164c9fa8292b97e3d94858ea01c28c
|
|
| BLAKE2b-256 |
acf0d48df7cdb5aa830ee7ad32d00d64872febeda99ab676a78c559bb00fb508
|
File details
Details for the file PythonFileLib-0.0.3-py3-none-any.whl.
File metadata
- Download URL: PythonFileLib-0.0.3-py3-none-any.whl
- Upload date:
- Size: 7.5 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/5.1.1 CPython/3.11.0
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
6e792aa9f74d34c84780905982d30ca374557091a40df1a9498c6d0d1e8bbd36
|
|
| MD5 |
a0042fde5fb7bff2aecd16f9cf06d6dc
|
|
| BLAKE2b-256 |
66a9e21dc265ce013da4890fee5a31a5b69560f89592672ba95f7d551ca4aded
|