实时编码演示的助手:当您按下快捷键时,将为您键入命令的终端包装器

liecoding的Python项目详细描述


列支敦士登是一个实时编码演示的辅助工具。列支敦士登是一个中间选项,它将使用原始程序,但在按下按钮时为您键入输入,而不必从内存中键入命令或显示视频。

您只需安装列支敦士登,并提供一个简单的文件,列出您将不得不输入的命令。按下一个按钮,列支敦登进入下一个输入。

示例会话文件

会话文件是列出输入的yaml文件。还可以执行一些其他操作,比如打印假输出、自定义键入速度等等。

# A session contains multiple shortcuts that are triggered through Ctrl-Tshortcuts:# Shortcuts are ordered, starting at the first input and advancing through# the list each time 'Ctrl-T t' is used# Each input also has a name, which is used to quickly jump somewhere in the# list using 'Ctrl-T d <name><enter>'# A shortcut only needs the input to type for you# By default, slow=true which means that the input will be entered slowly, as# if typed on the keyboard-hello:-input:"echo\"Hello,world\""# Another command. Note that for it to be run directly, a \n has to be added-exit:-input:"exit\n"

欢迎加入QQ群-->: 979659372 Python中文网_新手群

推荐PyPI第三方库


热门话题
java如何使用相同的模型、颜色、字体和侦听器创建JTable的副本?   JavaSpring+Thymeleaf:用户时区中的时间   java HTTP请求返回非法状态异常安卓   java xml验证JDK 1.5 JDK 1.6差异   junit如何使用Parasoft从java文件生成测试文件   java使用getSpans方法获取可扩展文件中的所有跨距   javascript无法使用bindingResult设置表单元素   java RCP应用程序活动   获取Java类中泛型字段的类型   java更新查询,从一个依赖于另一个表的表中更改字段   java错误:GWT类型中的方法setBridge(GWTBridge)不适用于参数(GWTBridge)   为什么java/安卓需要在XML元素的开头有一个空格来解析它?   java通用代码,用于将字符串转换为任何所需的类   java如何创建Liferay钩子以扩展购物车portlet的功能   java Selected()方法存在漏洞   java新行附加在我的加密字符串上   使用NaN值的指数平滑的java   使用飞碟和iText发行的java XHTML到PDF   java如何在不使用HTMLDocument的情况下在JTextPane中显示两列文本?