← 返回命令列表

Linux command

pysentation 命令

文本

复制后可按需替换文件名、目录或参数。

常用示例

Display a presentation file

pysentation [presentation.py]

Display starting from a specific slide

pysentation [presentation.py] -s [3]

说明

pysentation is a CLI for displaying presentations written as Python files or .pysent files in the terminal. Slides are defined using special pysentation commands within the source file. When the interpretable property is enabled, code inside slides is executed by the Python interpreter and the output is displayed in a separate box.

参数

-s _NUMBER_
Start from a specific slide number.

FAQ

What is the pysentation command used for?

pysentation is a CLI for displaying presentations written as Python files or .pysent files in the terminal. Slides are defined using special pysentation commands within the source file. When the interpretable property is enabled, code inside slides is executed by the Python interpreter and the output is displayed in a separate box.

How do I run a basic pysentation example?

Run `pysentation [presentation.py]` in a terminal, then adjust file names, paths, flags, or remote targets for your system.

What does -s _NUMBER_ do in pysentation?

Start from a specific slide number.