many problems when using python and their solutions