Uploaded February 2022 | Updated November 2026, 3 hours ago
Episode 3 of #PythonLiveLessons, a weekly live stream about Python code and more, hosted by Sebastiaan Mathôt. In this episode, we'll continue the `markdown_code_exec` project that we started in previous episodes. We'll learn how to turn our code sketch into a Python module, and we'll also learn about functions and packages! At the end of this episode, we'll have a fully functional Python module, which we'll polish and package in future episodes!
Episode 3 of #PythonLiveLessons, a weekly live stream about Python code and more, hosted by Sebastiaan Mathôt. In this episode, we'll continue the `markdown_code_exec` project that we started in previous episodes. We'll learn how to turn our code sketch into a Python module, and we'll also learn about functions and packages! At the end of this episode, we'll have a fully functional Python module, which we'll polish and package in future episodes!


![Character encoding in Python made easy
[https://www.buymeacoffee.com/cogsci] In this video, I explain the basics of character encoding (and decoding) in Python 3. The notebook from this video can be downloaded from https://osf.io/sdu9z/ Character encoding in Python made easy](https://i.ytimg.com/vi/CxeP1dQi9rg/mqdefault.jpg)
![Numerical Python tricks: All there is to know about nan and inf
[https://www.buymeacoffee.com/cogsci] If you have ever done numerical processing in Python, you have probably encountered nan and inf values. But what are they exactly? In this video, I explain everything there is to know about not-a-number and infinite float values. Numerical Python tricks: All there is to know about nan and inf](https://i.ytimg.com/vi/E2xgnrrmJc8/mqdefault.jpg)

![Creating a psychology experiment with OpenSesame 3.1
[https://www.buymeacoffee.com/cogsci] OpenSesame is a free program for developing experiments in psychology, neuroscience, and experimental economics. This screencast is a step-by-step walk through the beginner tutorial. This screencast is for OpenSesame version 3.1, Jazzy James. Creating a psychology experiment with OpenSesame 3.1](https://i.ytimg.com/vi/FCXcnAv9aMA/mqdefault.jpg)




