Creating, Reading, Editing, and Executing files.
Project description
FilesLib
What is fileslib?
Fileslib is a module to create, read, edit, and execute files (see LICENSE for usage terms).
Installation
To Install type into your terminal the following command
pip install fileslib
Examples
Example 1 (Windows):
import fileslib
fileslib.file(r"C:\Users\Public\Downloads\hello_world.txt", msg="Hello World!")
# This creates a file in the Public user and writes "Hello World!" in it.
Example 2 (MacOS):
import fileslib
fileslib.file("/Users/Joe/Documents/schedule.txt", msg="1:30 -> Work starts, 9:30 -> Work ends", execute=True)
# This creates a file in Joe's documents that has his work schedule in it, and then it runs it after
Example 3 (Linux):
import fileslib
fileslib.file("/home/Joe/Documents/how_fun_new_year_was.txt", "It was really fun")
# This creates a file in Joe's documents explaining how fun new year was.
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
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 fileslib-0.1.0-py3-none-any.whl.
File metadata
- Download URL: fileslib-0.1.0-py3-none-any.whl
- Upload date:
- Size: 3.2 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.1.0 CPython/3.13.0
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
a290c94fa8977f530cd9c93d9f3f742a5337229af832f047c3d11a97eb5c9d10
|
|
| MD5 |
7868dd7d3713d3d08ae029dd0d642145
|
|
| BLAKE2b-256 |
8b7e353fabcd8c0a4ffaf2fc78a2dd6d44536fe00e45c2333b02264363f7ebed
|