Firstly, the theory of the Artificial Intelligence and then you will find some useful examples of how to use Python for Machine learning and artificial intelligence applications.
Note, before using them, you will probably have to install some packages (e.g. TensorFlow) on your computer.
- Modern Theory of Deep Learning: Why Does It Work so Well
- Stock Analysis in Python -- Exploring financial data with object-oriented programming and additive models