Creating a Terminal Program with Python

后端 未结 5 1627
情歌与酒
情歌与酒 2021-01-30 05:39

I recently started learning python. I have created some basic webapps with Django and wrote some simple scripts. After using VIM as a Python IDE I really fell I love with \"Term

5条回答
  •  抹茶落季
    2021-01-30 06:07

    A true command-line program is something in the vein of ls or grep; it is started from the command-line, but it's non-interactive and can be used in pipelines and combined with other programs. A typical command-line program has no interactive user experience, instead relying on shell's history and init file for customization.

    What you want to create is a curses application, that uses the full capabilities of the TTY as an interactive platform, for better or worse. To do that, look up curses.

提交回复
热议问题