Hiding or showing the console cursor on Windows and Unix platforms with the Python Standard Library only