Rodrigo Girão Serrão
Rodrigo has always been fascinated by problem solving and that is why he picked up programming – so that he could solve more problems. He also loves sharing knowledge, and that is why he spends so much time writing articles in his blog mathspp.com/blog, writing on Twitter @mathsppblog, and giving workshops and courses.
His main areas of scientific interest are mathematics (numerical analysis in particular) and programming in general (with a preference for the Python and APL languages), but Rodrigo also enjoys reading fantasy books, watching silly comedy movies and eating chocolate.
All materials can be accessed from this GH repo.
Sessions
Learn how to build powerful terminal-based user interfaces (TUIs) with ease using Textual - an open-source Python framework.
Throughout this tutorial, you'll learn how to use Textual's built-in widgets, reactive features, and message-passing system to create a dynamic and user-friendly TODO app that's perfect for managing your daily tasks.
From creating and displaying tasks to editing and deleting them, you'll cover all the essential features needed to make a functional TODO app.
You'll also learn how to use Textual CSS to style your TUI for a polished and elegant look, together with some tips and tricks to make it even easier to develop your TUIs in Textual.
This tutorial provides everything you need to get started with building TUIs in Python. By the end of the tutorial, you'll have a fully functional and stylish TODO app that showcases Textual's versatility and useful features.
Learn how to build powerful terminal-based user interfaces (TUIs) with ease using Textual - an open-source Python framework.
Throughout this tutorial, you'll learn how to use Textual's built-in widgets, reactive features, and message-passing system to create a dynamic and user-friendly TODO app that's perfect for managing your daily tasks.
From creating and displaying tasks to editing and deleting them, you'll cover all the essential features needed to make a functional TODO app.
You'll also learn how to use Textual CSS to style your TUI for a polished and elegant look, together with some tips and tricks to make it even easier to develop your TUIs in Textual.
This tutorial provides everything you need to get started with building TUIs in Python. By the end of the tutorial, you'll have a fully functional and stylish TODO app that showcases Textual's versatility and useful features.
Descriptors are not black magic and this practical tutorial will show you that.
In fact, you use descriptors every day and you don't even know it!
Through a series of practical, hands-on exercises, you will learn
- how to create a descriptor;
- how to use the dunder methods
__get__
,__set__
, and__set_name__
; - what the descriptor protocol is; and
- where descriptors show up in day-to-day Python code.
Python dunder methods – like __init__
– are sometimes referred to as “magic methods” but they are not!
They are just regular methods!
Functions that are associated with objects and that you can call with arguments.
The only thing is... Python also calls those functions behind the scenes in certain situations!
So, let us learn what that is all about.
You don't know comprehensions!
Why are list comprehensions good?
Because they are fast?
Wrong!
Because they are short?
Wrong!
This poster session will show why list comprehensions are an excellent Python tool.
The poster session will:
- teach you to convert loops to list comprehensions;
- show how to write list comprehensions from scratch; and
- give 10+ actionable tips and tricks for list comprehensions.
The poster will also show the similarities between list comprehensions and:
- set comprehensions;
- dict comprehensions; and
- generator expressions.