Example UsageΒΆ
Installation is as easy as running python -m pip install shinerainsevenlib.
Then you can run a script like this,
from shinerainsevenlib.standard import *
# iterate through files
for f in files.recurseFileInfo('/path/to/files'):
print(f.path)
if getInputBool("Display the size of this file?"):
print(f.size())
# ask yes/no
if srss.getInputBool('Show the crc32 of a file?'):
print(files.computeHash('file.jpg'), 'crc32')