A few ready-to use python tools for machine learning
Project description
FlashPythonToolbox
A few ready-to use python tools for machine learning
Logger (to file)
For every print function, we print a copy to file without changing the whole file.
Logger(filepath = "./log.txt", mode = "w", stdout = None)
filepath
: output path. Default: "./log.txt"mode
: write mode, e.g., w,w+,a,a+. Default: "w"stdout
: capture which print source. Default: "sys.stdout"
Example:
from flashtool import Logger
import sys
sys.stdout = Logger("path/to/log/file/log.txt")
sys.stdout = Logger("path/to/log/file/log.txt","w")
sys.stdout = Logger("path/to/log/file/log.txt","w", sys.stdout)
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 Distribution
flashtool-0.0.1.tar.gz
(1.7 kB
view hashes)
Built Distribution
Close
Hashes for flashtool-0.0.1-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | a7b5201fae71e2d0d985ffc01587af1134b04bf58bd3376849dbabaf35cd8f74 |
|
MD5 | 51fd254eb5d855ee6e6d84b387ea4b38 |
|
BLAKE2b-256 | 5dbd1d4612becaad3cb2b1262d1c6d117b771454ca2d0a63d87f10db76220ccf |