Uploaded May 2018 | Updated September 2026, 2 weeks ago
(For more, visit https://pythontutorials.eu !) In this video, I show how you can create a Python decorator that accepts arguments by implementing what you might call a 'meta-decorator'. You can also create decorators that work both with and without arguments.
You can download the Jupyter Notebook for this video from osf.io/u96zr
(For more, visit https://pythontutorials.eu !) In this video, I show how you can create a Python decorator that accepts arguments by implementing what you might call a 'meta-decorator'. You can also create decorators that work both with and without arguments.
You can download the Jupyter Notebook for this video from osf.io/u96zr
![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)
![Introduction to deep learning with Python and Keras [Part 1]
(See https://python.cogsci.nl for code and written tutorials.) This is the first of a series of video tutorials about deep learning with Keras in Python. Here I introduce the basic concepts and terminology related to deep learning. I also describe how artificial neural networks compare to biological neural networks, such as our brains. Finally, I introduce TensorFlow and Keras, the Python libraries that we will use in later tutorials. Introduction to deep learning with Python and Keras [Part 1]](https://i.ytimg.com/vi/rmNTqYGpr6Y/mqdefault.jpg)






![Visual debugging in Python with PDB and Rapunzel
[https://www.buymeacoffee.com/cogsci] In this video, I show how to use PDB, the standard Python Debugger, and Rapunzel, a code editor, for visual debugging. This allows you to inspect the state of your code after it has crashed (post-mortem debugging) or when it has paused at a breakpoint. See also: https://rapunzel.cogsci.nl/ Visual debugging in Python with PDB and Rapunzel](https://i.ytimg.com/vi/t8wo4dTkUJA/mqdefault.jpg)