Python Curses Tutorial #4 - User Input and Textboxes

  Рет қаралды 49,567

Tech With Tim

Tech With Tim

Күн бұрын

Пікірлер: 46
@davidfelcan1187
@davidfelcan1187 2 жыл бұрын
I was looking for a way to make curses not wait on input, you answered this great. Much Appreciated!
@PulpFreePress
@PulpFreePress 2 жыл бұрын
Nice video Tim! Especially the part about avoiding key entry delay.
@деньдобрый-х2ъ
@деньдобрый-х2ъ 3 жыл бұрын
Thanks, Tim! Your tutorials are very helpful
@havenisse2009
@havenisse2009 Жыл бұрын
Thanks! It would be interesting to make a pinyin input using a pinyin-character lookup SQLite table, so that typing wo3, or wô would get you a selection of characters maching that pinyin. Select the right one, and it would be added to the finaly input.
@johnnytoobad7785
@johnnytoobad7785 3 жыл бұрын
I curse the day I ever did character based UI programming !
@g6h48
@g6h48 Жыл бұрын
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.
@casperdewith
@casperdewith Жыл бұрын
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.
@netsprogramstudio
@netsprogramstudio 3 жыл бұрын
good explanation and tutorial ...
@ebiscaia
@ebiscaia 9 ай бұрын
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
@anirudhunleashes8497
@anirudhunleashes8497 3 жыл бұрын
Hello sir.. Thanks for helping me a lot of times.
@christopherhorn5274
@christopherhorn5274 2 жыл бұрын
bash also uses emacs-like key commands unless you set it up otherwise.
@parker7721
@parker7721 2 жыл бұрын
Hi Tim. Is there any way I can display instead of the text input from the user, the * character (something like a password type).
@YotamBarakJAB271104
@YotamBarakJAB271104 3 жыл бұрын
Thank you!
@lvlv693
@lvlv693 3 жыл бұрын
ah yes, **python curses**
@mr_mini_master9541
@mr_mini_master9541 3 жыл бұрын
Probably monks?
@martinjanezic8504
@martinjanezic8504 2 жыл бұрын
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
@malickngandu3971
@malickngandu3971 3 жыл бұрын
Hi Tim my code is keep showing this Errer ''UnboundLocalError: local variable 'X' referenced before assignment '' but I did every like yours
@innstikk
@innstikk Жыл бұрын
Nice videos. My problem is that unicode input doesn't work (only pure ascii). How can one do this?
@philtoa334
@philtoa334 Жыл бұрын
Nice.
@AnikulapoOlawale
@AnikulapoOlawale 3 жыл бұрын
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.
@CubeRiser
@CubeRiser 3 жыл бұрын
He is teaching a python module named curses, so it isn't wrong, it isn't meant to be courses.
@AnikulapoOlawale
@AnikulapoOlawale 3 жыл бұрын
@@CubeRiser Okay, I am sorry for the misconception, thank you for the response.
@sayori3939
@sayori3939 2 жыл бұрын
@@AnikulapoOlawale tsk tsk tsk
@Aeternus007
@Aeternus007 3 жыл бұрын
hey tim, could you do a renpy tutorial? i would really appreciate it!!
@MathidiotPlays
@MathidiotPlays 3 жыл бұрын
Instructions unclear. I tamed a python to aggressively swear all the time.
@sayori3939
@sayori3939 2 жыл бұрын
I think i leaked from laughing 😂😅😅
@watwillwedonext
@watwillwedonext 3 жыл бұрын
i like the curse
@saisavit2926
@saisavit2926 3 жыл бұрын
Hi, I'm getting an error that I'm not able to fix... can someone help? ERROR :-- stdscr.addstr(y, x, "0") _curses.error: addwstr() returned ERR
@CubeRiser
@CubeRiser 3 жыл бұрын
you went too far up or down or any direction, this is told in the video as well that when you do this you get an error
@Staninna
@Staninna 3 жыл бұрын
it is because it is addstr() not addwstr()
@AbhishekYadav-ni5ts
@AbhishekYadav-ni5ts 3 жыл бұрын
Bhai please make tutorial on tkinter please..
@ysgurjar
@ysgurjar Жыл бұрын
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)
@otiopo7459
@otiopo7459 3 жыл бұрын
cool
@valdavid1829
@valdavid1829 11 ай бұрын
ctrl + g(etoutta’ere)
@johnniegilkerson4724
@johnniegilkerson4724 3 жыл бұрын
How do you get the cursive f in stdscr.addstr(5, 5 f"Key: {key}")?
@TheLordoftheDarkness
@TheLordoftheDarkness 2 жыл бұрын
His text editor does that. I think he's using sublime text (not sure).
@natyacodes
@natyacodes 3 жыл бұрын
tim will pin this
@energy-tunes
@energy-tunes 2 жыл бұрын
this module is unexpectedly "low" level for python. i feel like im coding in an actual programming language when i use it.
@chersymale
@chersymale 2 жыл бұрын
python IS an actual programming language lol
@abcedariumu8033
@abcedariumu8033 2 жыл бұрын
Bitch what, this is so abstracted it hurts. What are you on?
@Yehor-v7y
@Yehor-v7y Ай бұрын
​@@chersymale yeah what are they thinking
@Ahmed_mala
@Ahmed_mala 3 жыл бұрын
You have beautiful eyes😍
@vincent-thomas
@vincent-thomas 3 жыл бұрын
First
@shawnmoses6844
@shawnmoses6844 3 жыл бұрын
Third
@jodazague8333
@jodazague8333 3 жыл бұрын
Second
Python Curses Tutorial #5 - Other Useful Methods
8:40
Tech With Tim
Рет қаралды 27 М.
Python Curses Tutorial #1 - Make GOOD Looking Terminal Apps!
15:37
Tech With Tim
Рет қаралды 205 М.
УЛИЧНЫЕ МУЗЫКАНТЫ В СОЧИ 🤘🏻
0:33
РОК ЗАВОД
Рет қаралды 7 МЛН
$1 vs $500,000 Plane Ticket!
12:20
MrBeast
Рет қаралды 122 МЛН
5 Good Python Habits
17:35
Indently
Рет қаралды 682 М.
5 Python Libraries You Should Know in 2025!
22:30
Keith Galli
Рет қаралды 77 М.
Python Curses Tutorial #3 - Windows And Pads
19:02
Tech With Tim
Рет қаралды 49 М.
10 Python Comprehensions You SHOULD Be Using
21:35
Tech With Tim
Рет қаралды 164 М.
Zettelkasten Smart Notes: Step by Step with Obsidian
18:54
Martin Adams
Рет қаралды 448 М.
Making a Game in Python with No Experience
5:57
Goodgis
Рет қаралды 1,8 МЛН
Python Tutorial: Calling External Commands Using the Subprocess Module
19:01
Modern Graphical User Interfaces in Python
11:12
NeuralNine
Рет қаралды 1,6 МЛН
Speed Up Your Code With Cython
16:37
NeuralNine
Рет қаралды 122 М.
УЛИЧНЫЕ МУЗЫКАНТЫ В СОЧИ 🤘🏻
0:33
РОК ЗАВОД
Рет қаралды 7 МЛН