A tutorial on how to get text input from the user. This will also include a textbox (made up of a rect) and some code on how to select and deselect the textbox.
If you know how to get text in pygame you already basically know how to get text input, you just need to learn about event.unicode
Timestamps:
0:00 - Intro
0:23 - Theory
1:29 - Basic Code
7:28 - Creating a text box
12:52 - Enabling and disabling the text