Use curses, don't swear

  Рет қаралды 85,509

Next Day Video

Next Day Video

11 жыл бұрын

Sean Zicari
I find it very handy to be able to fire up the command line and make changes through a well-designed CLI tool. I'd like to show how the 3rd party urwid library or the built-in curses library can be used to build such tools easily.

Пікірлер: 35
@drsexypants100
@drsexypants100 7 жыл бұрын
Low-Level, Appreciation for history, much respect!
@RS-hg3rp
@RS-hg3rp 6 жыл бұрын
really intelligent and well prepared guy, like quality videos like this!!!! great
@dslackw
@dslackw 9 жыл бұрын
Thank you very much for the video !
@phylwx
@phylwx 4 жыл бұрын
That was a lot of help, thank you.
@hamstap85
@hamstap85 9 жыл бұрын
Very helpful, thanks
@f3derico2007
@f3derico2007 6 жыл бұрын
Good presentation
@HarlowBAshur
@HarlowBAshur 4 жыл бұрын
300 baud != 300 cps
@dreyethcordaine52
@dreyethcordaine52 9 жыл бұрын
I swear I just saw someone that looks just like you buying beer in albertsons grocery in walla walla, wa. >_>
@altaccount8749
@altaccount8749 5 жыл бұрын
Was this presentation made in tpp? I enjoyee this video very much. I like 80s era stuff.
@godfather7339
@godfather7339 2 жыл бұрын
I searched google, but I can't find tpp is, could you tell me?
@avimehenwal
@avimehenwal 6 жыл бұрын
Very nice presentation. How was the author able to paste so quickly in VIM?
@HappyBuzzCut
@HappyBuzzCut 6 жыл бұрын
He didnt do that live. It was pre-recorded console video that he had beforehand
@avimehenwal
@avimehenwal 6 жыл бұрын
oh, yeah makes sense. Thank you for taking time to reply back :) wish you Lots of happiness
@HappyBuzzCut
@HappyBuzzCut 6 жыл бұрын
You're welcome. Same to you!
@salahudeenredwan6635
@salahudeenredwan6635 9 жыл бұрын
Thanks for the video ... can you provide the code text?
@hairypaulsack
@hairypaulsack 5 жыл бұрын
github.com/SeanZicari/pycon-curses
@gurubobnz
@gurubobnz 9 жыл бұрын
If you want to copy/paste Sean's code check out my blog post re this video - the source is there. www.guru.net.nz/blog/python/ncurses/video/2015/01/21/use-curses-dont-swear.html
@w2FCQugGMSt5YYF6
@w2FCQugGMSt5YYF6 5 ай бұрын
You can hear someone saying uuuh at 1:25
@agustinpena2752
@agustinpena2752 5 жыл бұрын
How can I learn python curses? Could you recommend a book? I cannot seem to find one... Please advice. Thanks!
@martinnieva8484
@martinnieva8484 5 жыл бұрын
Have you got an answer?
@agustinpena2752
@agustinpena2752 5 жыл бұрын
Not yet, no...
@martinnieva8484
@martinnieva8484 5 жыл бұрын
@@agustinpena2752 That's lame. Well, I got a Snake project which I'm learning how curses work with. Here you go if you want to do so: github.com/KyrosDigital/SnakeGame.git You can clone the project with Git. The project is a bit of a mess so I'm re writing it and improving it to then publishing it.
@martinnieva8484
@martinnieva8484 5 жыл бұрын
@@agustinpena2752 Nevermind, use this one instead. kzfaq.info/get/bejne/qMiRpreZvLzGXZc.html See this doc before though. docs.python.org/3/howto/curses.html
@godfather7339
@godfather7339 2 жыл бұрын
There are a lot of videos about using Python curses
@hairypaulsack
@hairypaulsack 5 жыл бұрын
CODE: github.com/SeanZicari/pycon-curses
@DavidJohnston_deadhat
@DavidJohnston_deadhat 7 жыл бұрын
Python's curses library doesn't work on windows. This has been a problem for me.
@DavidJohnston_deadhat
@DavidJohnston_deadhat 7 жыл бұрын
Randy Robin Galiban That works ok. My real gripe was that there isn't a built in cross platform text UI library. There are several third party libraries of varying quality (termbox etc) but that makes installing a pain for other users of the my software. They aren't likely to be tech savvy.
@scottb4029
@scottb4029 Жыл бұрын
bet you love FORTH
@TheGruselmops
@TheGruselmops 5 жыл бұрын
urwid isn't german for ancestral it's "ur / urig" and that's why the play makes sense.
@GlukAlex
@GlukAlex 7 жыл бұрын
for xterm-debian|X11 terminal emulator, just for coloring (without fancy stuff), it is possible to use Scala's Console ANSI Style and Control Codes, like RESET: String("\u001B[0m") for example: >>> print("\u001B[0m" + "\u001B[31m" + "Hello" + "\u001B[42m" + "\u001B[0m" + "\u001B[32m" + "!" + "\u001B[41m" + "\u001B[0m")
@HotchiwawaChronicles
@HotchiwawaChronicles 6 жыл бұрын
should be: print(u"\u.....")
@kwccoin3115
@kwccoin3115 2 жыл бұрын
How can he typed and talked. Shocking.
@phil9947
@phil9947 2 жыл бұрын
Must be related to Chuck Norris.
When Booleans Are Not Enough... State Machines?
21:50
Next Day Video
Рет қаралды 24 М.
Transforming Code into Beautiful, Idiomatic Python
48:51
Next Day Video
Рет қаралды 1 МЛН
Дибала против вратаря Легенды
00:33
Mr. Oleynik
Рет қаралды 5 МЛН
When You Get Ran Over By A Car...
00:15
Jojo Sim
Рет қаралды 24 МЛН
Survival skills: A great idea with duct tape #survival #lifehacks #camping
00:27
Transform Your Scripts With Bash Simple Curses
16:15
DistroTube
Рет қаралды 106 М.
My 5 Favourite Curses Based Programs
12:07
RoboNuggie
Рет қаралды 11 М.
Loop like a native: while, for, iterators, generators
29:15
Next Day Video
Рет қаралды 117 М.
Improving Python Console Output With Rich
19:37
Real Python
Рет қаралды 8 М.
Why Good Developers Write Bad Tests
30:09
Next Day Video
Рет қаралды 3,6 М.
How to Do 90% of What Plugins Do (With Just Vim)
1:14:03
thoughtbot
Рет қаралды 872 М.
"Python Performance Matters" by Emery Berger (Strange Loop 2022)
38:51
Strange Loop Conference
Рет қаралды 78 М.
Python's Class Development Toolkit
45:56
Next Day Video
Рет қаралды 236 М.
Rich Terminal Interfaces with Ratatui
9:31
chris biscardi
Рет қаралды 31 М.
Writing Awesome Command-Line Programs in Python
41:25
EuroPython 2014
Рет қаралды 128 М.
Дибала против вратаря Легенды
00:33
Mr. Oleynik
Рет қаралды 5 МЛН