0.2.25-beta.01
Pre-release
Pre-release
[0.2.25] - 2023-7-3
Major QOL update!
Added
- New file
file_editor.py- Has the class
FileEditor - Can read, edit and write to a file with ease
- STILL WIP, so may not work as intended
- Has the class
- New function
try_listdir()- Tries to list a directory
- Returns
Noneif it fails
fprint()- New function
error()- Prints an error messade to the console, with your own text
fprint.error('This is an error message')->--[!]-- This is an error message --[!]--
sep(separator) variable- What to join the
*argswith
- What to join the
- New function
Changed
- A lot of classes had the problem of "sharing" the same
fprint(), sodo_printwas shared between all classes.- This has been fixed, and now each class has its own
fprint()
- This has been fixed, and now each class has its own
- Changed docstring format from my custom created, to NumnPy style
- should make it easier to read and understand
- In a lot of class
__call__()functions, the default input values were set asNone. Those are removed, and now are being taken from a kwargs.- This makes the code a lot more readable, and easier to understand
fprint()- Total rework of the function
- Should be easier to add more functions in the future
Removed
- Some classes had unnecceary
@dataclassdecorators, so those have been removed- Shouldn't affect anything