Decision tree doubt

PLs provide me python code for the Implementation of decision tree considering Information gain as attribute selection

Please go through the below discussion for more details:

https://www.saedsayad.com/decision_tree.htm