“TypeError: ‘module’ object is not callable” trying to use pprint [duplicate] November 26, 2023 by Tarik Try importing using: from pprint import pprint The pprint() function is in the pprint module.