Is there a newer way to open a PDF using an external viewer from Python 3 in Linux other than subprocess
?
This sounds like a noobish and duplicate question, but I looked at this question and this question, and all of the answers are over 7 years old and recommended discouraged methods like os.system
, old methods like manually creating a subprocess.Popen
or Windows-only methods like os.startfile
.
So in the time since these questions were answered, have preferred methods of launching a PDF reader from within Python emerged, or are these still the best answers?