Python basic tutorial

Python
Tutorial
Beginner
Author

Vincent Grégoire, PhD, CFA

Published

January 7, 2024

I posted a tutorial on the basics of the Python syntax. This tutorial has been updated for Python 3.12, and covers the basics of the Python syntax. It is intended for beginners and is a good starting point for those who want to learn Python. It does not cover the whole syntax, only the elements that I find essential to get started with data analysis and empirical research using Python. After the tutorial, you should have enough knowledge to start learning the modules that are relevant to data analysis such as pandas, numpy, matplotlib, etc.

I am in the process of recording a video tutorial that will be posted on my YouTube channel. I will post the link to the video here once it is ready.

If you haven’t done so already, I recommend you to install Python on your computer. You can find instructions on how to do so here.