简体   繁体   English

在Linux中从python显示pdf,ps或dvi文件的最简单方法

[英]Easiest way to display a pdf, ps or dvi file from python in linux

I have created an application with python and wxpython. 我已经用python和wxpython创建了一个应用程序。

I would like to display a help file in pdf, ps or dvi format in GNU/Linux. 我想在GNU / Linux中以pdf,ps或dvi格式显示帮助文件。

Could use the distribution pdf viewer, but not so easy when you don't know which they have. 可以使用发行版pdf查看器,但是当您不知道它们具有哪个版本时就不太容易。

Any ideas on how to solve this? 关于如何解决这个问题的任何想法?

针对文件调用xdg-open

也可以尝试evince

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM