tree = ast.parse('import a; from b import c')
tree.body
tree.body[0].names[0].name
tree.body[1].module
tree.body[1].names[0].name
List all third party packages and theirselves functions used in a Python file