Helper functions to read, write, append and delete files easily.
Project description
file_dealer
file_dealer is a simple Python package that makes it easier to work with files — read, write, append, and delete — using interactive, beginner-friendly commands.
✨ Features
- 📖 Read the full content of any file
- 🖊 Write new data to a file (creates the file if it doesn't exist)
- ➕ Append new data to an existing file
- ❌ Delete files easily
📦 Installation
pip install file_dealer
After installing it, you can freely use it's functions such as:
- append_data()
- write_data()
- delete_data()
- get_data()
- read data()
Example
from file_dealer import append_data, write_data, delete_data, get_data
(Using any of these functions will make the user to first input a path where to realise the action.)
write_data()
Terminal:
Enter file location: <\my path>
Enter the data you want to write: <(the data i want to write)>
✅ File written successfully.
(If any errors occur, the program won't realize the action and, instead, it will print out the error.)
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
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 file_dealer-0.2.4.tar.gz.
File metadata
- Download URL: file_dealer-0.2.4.tar.gz
- Upload date:
- Size: 3.0 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.1.0 CPython/3.13.5
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
0586054ea23dc49bb485e0a9477e672501d779ad10cddf84c94b665b40c45230
|
|
| MD5 |
016c04534d72578772f6c82ad5999371
|
|
| BLAKE2b-256 |
5ab36b2e690d0a9b3d2a0be58e9a2e046ecded06b78098b579267c6a3251f9c7
|
File details
Details for the file file_dealer-0.2.4-py3-none-any.whl.
File metadata
- Download URL: file_dealer-0.2.4-py3-none-any.whl
- Upload date:
- Size: 4.7 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.1.0 CPython/3.13.5
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
8224c4980635b87abc07adc12bfdc21f2d852ccf7301a863bccfa10b15bd86fe
|
|
| MD5 |
9fcbdd41f7c4f560fc6a4c5978205692
|
|
| BLAKE2b-256 |
d34691c287deb9dfb63b24b29200f451dd90698258c956e0d5467c0fad1eae02
|