Moves print_info() to separate file
Fixes 'connect' test on Python 3