For example, the echo and the print command print to standard output.
例如,echo和print命令打印到标准输出。
Now that you have modified the configuration file to print out a notification, run the cmdWhistle.pl script in daemon mode with the command sndpeek --print --nodisplay | perl cmdWhistle.pl.
现在您已经修改了配置文件来给出通知,用命令 sndpeek --print --nodisplay | perl cmdWhistle.pl 以守护进程模式运行 cmdWhistle.pl 脚本。
The print command would not issue any dialog but would just go ahead and print, either using previous settings or standard, vanilla settings.
打印命令不会出现任何对话框,而是直接进行打印,不论按照之前的设置或者是标准的通常设置。
If I wanted to use print as a variable name, how do I get the system to decide gee, do I want print as a value for something, or do I want print as a command?
如果我把print当做一个变量名,我如何让系统来决定,我是要把print当做一个命令来用呢,还是要把它当做一个变量名来用呢?
That's the Python saying, that is a command, that is a specific command to get the value of the expression and print it back out.
这代表着Python告诉我们这是一个命令,这是一个,得到表达式的值,并显示的特殊命令。
应用推荐