Initialize the console to be able to use ANSI escape characters on Windows.
()
| 90 | |
| 91 | |
| 92 | def init_console(): |
| 93 | """ |
| 94 | Initialize the console to be able to use ANSI escape characters on Windows. |
| 95 | """ |
| 96 | if os.name == "nt": |
| 97 | from colorama import init |
| 98 | |
| 99 | init() |
| 100 | |
| 101 | |
| 102 | class SavePath: |