{{ header }}
util_pathio#
path#
|
Convert path to linux path for all OSes. |
|
Convert path to a uniform path for all OSes This function is an alternative function of path2linus. |
|
Get a list of filenames in a folder by file extension. |
|
Get a list of filenames in a folder by file extension. |
|
Check if provided list of files exist in the given directory. |
|
Validate the filename, if the file exists, return True, otherwise False. |
|
Validate the filename, if the file exists, return True, otherwise False. |
|
Generate a unique filename by adding a suffix number to the end of the filename. |
|
Generate a unique filename by adding a suffix number to the end of the filename. |
|
List contents of directories in a tree-like format. |
|
Automatically finds an importable Python package by its name in the current directory, parent directories, or child directories, and adds it to the system path. |
|
Find the executable from the system PATH. |
|
Find the filename from the system PATH. |
io#
|
Get the size of a file in the specified unit. |
|
Get the size of a file in the specified unit. |
|
Get the size of a directory in the specified unit. |
|
Get the size of a directory in the specified unit. |
|
Create a temporary file with the specified size. |
|
Remove a file from the filesystem. |
|
Remove a file from the filesystem. |
|
Add a directory to the PATH environment variable. |
|
Save an object to a file using the pickle module. |
|
Load an object from a file using the pickle module. |
|
Find duplicate files in a directory and its subdirectories. |
|
Remove duplicate files in a directory and its subdirectories. |
platform#
argparse#
|
Decorator to add argparse support to a function or class. |