Module for python3 only.
from manage_psql.manage_psql import HandlePsql MY_PSQL_CONN = HandlePsql() MY_PSQL_CONN.psql_checkcon()