Uploaded March 2022 | Updated September 2026, 2 weeks ago
Episode 6 of #PythonLiveLessons, a weekly live stream about Python code and more, hosted by Sebastiaan Mathôt. In this episode, we'll learn how to use pyproject.toml to add information about our package, and how to use flit to build our package and upload it to pypi so that users can easily install it with `pip install markdown_code_exec`.
Episode 6 of #PythonLiveLessons, a weekly live stream about Python code and more, hosted by Sebastiaan Mathôt. In this episode, we'll learn how to use pyproject.toml to add information about our package, and how to use flit to build our package and upload it to pypi so that users can easily install it with `pip install markdown_code_exec`.
![Completing a code sketch (exec and eval) [PythonLiveLessons #1]
Episode 1 of #PythonLiveLessons, a weekly live stream about Python code (with live coding) and more, hosted by Sebastiaan Mathôt. In this episode, well continue working on our Python project, `markdown_code_exec`. Well learn about the difference between expressions and statements, and the difference between eval() and exec(). At the end of this episode, well have a fully functional sketch of our program, which well develop further in future episodes! [To join a live broadcast, tune in to this YouTube channel on Tuesdays, 22:00 New Delhi, 18:00 Paris (CET), 09:00 Los Angeles.] Completing a code sketch (exec and eval) [PythonLiveLessons #1]](https://i.ytimg.com/vi/nBpVHmdXNuc/mqdefault.jpg)
![Starting a new Python project (regular expressions) [PythonLiveLessons #0]
Episode 0 of #PythonLiveLessons, a weekly live stream about Python code (with live coding) and more, hosted by Sebastiaan Mathôt. In this episode, well get started with a new Python project, and well get our hands dirty with regular expressions. Well also lay out a roadmap for a full development workflow, which well walk through in future episodes. [To join a live broadcast, tune in to this YouTube channel on Tuesdays, 22:00 New Delhi, 18:00 Paris (CET), 09:00 Los Angeles.] Starting a new Python project (regular expressions) [PythonLiveLessons #0]](https://i.ytimg.com/vi/nLsDKIWIQMA/mqdefault.jpg)


![Python basics: So you thought you understood True, False, and, or?
[https://www.buymeacoffee.com/cogsci] In this video, I explain how Python determines whether values are True or False, and how the seemingly trivial and and or operators really work. Python basics: So you thought you understood True, False, and, or?](https://i.ytimg.com/vi/pDs66nI53kg/mqdefault.jpg)



![Working with files and folders in Rapunzel Code Editor
[https://www.buymeacoffee.com/cogsci] Rapunzel is a code editor for numerical computing in Python and R. In this video, I show how you can work with project folders and files, and how to quickly jump to function definitions and other symbols. For more information, visit https://rapunzel.cogsci.nl/ Working with files and folders in Rapunzel Code Editor](https://i.ytimg.com/vi/qQY1-xwjkxE/mqdefault.jpg)
![List comprehensions in Python [Python comprehensions #1]
[https://www.buymeacoffee.com/cogsci] In this video, I demonstrate list comprehensions in Python. This is a way to build list objects with a single expression. The notebook for this video is available at https://osf.io/pyk7w/. For more tutorials, visit https://python.cogsci.nl/. List comprehensions in Python [Python comprehensions #1]](https://i.ytimg.com/vi/qYbyXy0VPNo/mqdefault.jpg)
![Creating your own class [Object-oriented programming in Python, pt. 2]
In this video, the second of a two-part series about object-oriented programming in Python, I show how to create your own class, including an initialization function, a method, and a property. (For more tutorials, see https://python.cogsci.nl/. For the Rapunzel IDE, see https://rapunzel.cogsci.nl/) Creating your own class [Object-oriented programming in Python, pt. 2]](https://i.ytimg.com/vi/qxtmVGdDlwk/mqdefault.jpg)