Orjanp
Orjanp

Reputation: 10921

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

I have created an application with python and wxpython.

I would like to display a help file in pdf, ps or dvi format in GNU/Linux.

Could use the distribution pdf viewer, but not so easy when you don't know which they have.

Any ideas on how to solve this?

Upvotes: 1

Views: 556

Answers (2)

lhf
lhf

Reputation: 72312

Try also evince.

Upvotes: 1

Ignacio Vazquez-Abrams
Ignacio Vazquez-Abrams

Reputation: 798764

Invoke xdg-open against the file.

Upvotes: 4

Related Questions