better console structure for python3