Python Curses Tutorial #4 - User Input and Textboxes

preview_player
Показать описание
Welcome back to the fourth video in this curses tutorial series! In this video I am going to be showing you how to get input from the user, like how to get keystrokes, as well as the characters that they type! I'm first going to show how to get keystrokes and then go into textboxes and more advanced things!

📄 Resources 📄

⭐️ Timestamps ⭐️
00:00 | Introduction
00:24 | Getting User Keystrokes
06:21 | Keystrokes Without Delay
10:30 | Textboxes and User Input

◼️◼️◼️◼️◼️◼️◼️◼️◼️◼️◼️◼️◼️◼️
💰 Courses & Merch 💰

🔗 Social Medias 🔗

🎬 My YouTube Gear 🎬

💸 Donations 💸
◼️◼️◼️◼️◼️◼️◼️◼️◼️◼️◼️◼️◼️◼️

⭐️ Tags ⭐️
-Tech With Tim
-Python Curses
-Curses Textboxes
-Curses Tutorial
-Make Terminal Apps
-User Input

⭐️ Hashtags ⭐️
#TechWithTim #CursesTutorial
Рекомендации по теме
Комментарии
Автор

I was looking for a way to make curses not wait on input, you answered this great. Much Appreciated!

davidfelcan
Автор

Thanks, Tim! Your tutorials are very helpful

деньдобрый-хъ
Автор

Nice video Tim! Especially the part about avoiding key entry delay.

PulpFreePress
Автор

Thanks! It would be interesting to make a pinyin input using a pinyin-character lookup SQLite table, so that typing wo3<space>, or wô<space> would get you a selection of characters maching that pinyin. Select the right one, and it would be added to the finaly input.

havenisse
Автор

I curse the day I ever did character based UI programming !

johnnytoobad
Автор

Hello sir..
Thanks for helping me a lot of times.

anirudhunleashes
Автор

Really cool video. I only had problems while trying to get the textbox library. Tried many things like manual instalation and if I try to fix that problem a new one arrives or doesn't sole the issue. If anyone had the same problem, tell me if and how you fixed it! Thank you

martinjanezic
Автор

bash also uses emacs-like key commands unless you set it up otherwise.

christopherhorn
Автор

hello, nice video but I have a question. On the textbox if I want to have more text but the textbox ends is there a way to make additional space (like scroll and have more space to write). If you dont understand I am asking how to make a text editor with the curses module.

gh
Автор

Thanks for the vidoes. How do I set the color so when user type the input using getsrt its using the set color ?

samsal
Автор

18:08 No! This is a bad solution. You must fix this at the textbox level; not at the output level. Suppose you put in an intentional newline? Then it is gone.

casperdewith
Автор

hey tim, could you do a renpy tutorial? i would really appreciate it!!

Aeternus
Автор

Thank you for your amazing videos, I don't know if you notice it, the spelling of courses is wrong, or is it intentional? If it is, my apologies.

AnikulapoOlawale
Автор

Hi Tim. Is there any way I can display instead of the text input from the user, the * character (something like a password type).

parker
Автор

Hi, Tim. You may know how to do this. I would like to cycle around multiple textboxes and when I press a key, I would go to the next step of the program. I can cycle around them, but then I have no way to stop it.

Thanks

ebiscaia
Автор

My friend, you have saved me what I could not solve from last 10 hrs. God bless you. I was hung up on stdscr.nodelay(True)

ysgurjar
Автор

Nice videos. My problem is that unicode input doesn't work (only pure ascii). How can one do this?

innstikk
Автор

Hi Tim my code is keep showing this Errer ''UnboundLocalError: local variable 'X' referenced before assignment
'' but I did every like yours

malickngandu
Автор

Bhai please make tutorial on tkinter please..

AbhishekYadav-nits
Автор

Instructions unclear. I tamed a python to aggressively swear all the time.

MathidiotPlays