Skip to main content

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.

#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.

How to use PFI

  1. Install PFI
pip install PythonFileLib
  1. You're done! Now all there is to do is read the documentation.

Documentation

  1. Load Package
import PFI

dir(PFI)
  1. get files(examples)
from PFI 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:/')
  1. Get text in .txt files
from PFI 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
  1. Read .csv files
from PFI import file
from file import csv

f = csv.csv('C:/123.csv')
f.read()

Functions and classes are updating......

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

pythonfilelib-0.0.1.tar.gz (4.0 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

PythonFileLib-0.0.1-py3-none-any.whl (4.3 kB view details)

Uploaded Python 3

File details

Details for the file pythonfilelib-0.0.1.tar.gz.

File metadata

  • Download URL: pythonfilelib-0.0.1.tar.gz
  • Upload date:
  • Size: 4.0 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/5.1.1 CPython/3.11.0

File hashes

Hashes for pythonfilelib-0.0.1.tar.gz
Algorithm Hash digest
SHA256 67eb3ea27a2d198b7d2e3b4dbf7f3d7c4608d9e0cbf4ec8af2e8bc2e95be865f
MD5 27722d9929f7e9e27a7a628e6083db15
BLAKE2b-256 748755cbfc11960558d165b01ca0f3bd8795442fa86a54e582232b657fe9aa02

See more details on using hashes here.

File details

Details for the file PythonFileLib-0.0.1-py3-none-any.whl.

File metadata

  • Download URL: PythonFileLib-0.0.1-py3-none-any.whl
  • Upload date:
  • Size: 4.3 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/5.1.1 CPython/3.11.0

File hashes

Hashes for PythonFileLib-0.0.1-py3-none-any.whl
Algorithm Hash digest
SHA256 d300b72664850ddcc39a33e333d631c98787ab36d46147a4361d601d840cd480
MD5 ad8d537ac4543edd7a333446b1d0bb0c
BLAKE2b-256 e13d0db931b7edcb8dffbd1d22ee343a0c379a581393cd71cf68f1ce074358dc

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page