https://github.com/okempi/fandle
File handling library for python (dont have high expectations :D)
https://github.com/okempi/fandle
file filehandling filesystem handling library python3
Last synced: 10 months ago
JSON representation
File handling library for python (dont have high expectations :D)
- Host: GitHub
- URL: https://github.com/okempi/fandle
- Owner: oKempi
- License: mit
- Created: 2023-07-06T19:50:45.000Z (over 2 years ago)
- Default Branch: main
- Last Pushed: 2024-02-04T12:42:14.000Z (almost 2 years ago)
- Last Synced: 2025-02-04T15:47:18.471Z (11 months ago)
- Topics: file, filehandling, filesystem, handling, library, python3
- Language: Python
- Homepage:
- Size: 14.6 KB
- Stars: 1
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# Fandle
File handling library for python
## Commands:
### **print(Fandle.Version)**
- prints out the current version of the library
### **write_list** (arguments: list, file (variable that opens the file), spaces (True/False)
- If you specify that: "*spaces* == **True**" the command writes the list with spaces
- Takes your pre-defined arguemts and writes them into a file
### **write_tuple** (arguments: tuple, file (variable that opens the file), spaces(True/False)
- If you specify that: "*spaces* == **True**" the command writes the list with spaces
- Takes your pre-defined arguemts and writes them into a file
### **write_set** (arguments: set, file (variable that opens the file), spaces(True/False)
- If you specify that: "*spaces* == **True**" the command writes the list with spaces
- Takes your pre-defined arguemts and writes them into a file
### **sort** (arguments: constant)
- (You can use list with dicts in it)
### **findIn_dict** (arguments: dict/list (of dicts), keyword)
- Finds value in the **dict/list of dicts** using the set **keyword**
### **check_write** (arguments: data (It can be: str, int, float, range, set, tuple, list))
- Checks if you can write something into any file (right now it only checks in .txt file)
### **CauseOfcheck_write** (arguments: data (It can be: str, int, set, tuple, list))
- Checks if you can write the argument into any file (right now it only checks in .txt file)
- Gives an error at the part that did not work
### **write_eachLine** (arguments: data (It can be: list, set, tuple, dict), file (variable that opens the file), space(True/False))
- Takes your pre-defined argument and uses it to write each part on one line
- If you specify that: "*space* == **True**" the command writes it with space beforehand
### **delete** (arguments: file (variable that opens the file))
- Deletes the file you chose