Python and Machine Learning Courses and Tutorials

Tutorial

PEP8 in Python: Main Rules You Need To Know

Every programming language has its own guidelines and best practices. The official style guide in Python is defined in PEP 8. In this tutorial, I will list the most common and practical rules from it.

6 minutes read
Tutorial

Calculate Cost of OpenAI API Calls from Python

When working with OpenAI and GPT models, it's crucial to calculate the costs. In this tutorial, I will show you how to check the costs of the API calls, both humanly and automatically, with Python and LangChain.

4 minutes read