[wxPython-users] How to show PDF
hawk gao
gaohawk at gmail.com
Sun Mar 9 07:48:42 PDT 2008
I know 4 ways.but, i'm not sure all of them can run. you can just try them.
1.module mailcap
2.http://pypi.python.org/pypi/desktop
3.
os.spawnvp(os.P_WAIT, "run-mailcap", ["run-mailcap", name])
4.
import os
if os.name == 'posix':
def startfile(name):
os.system('run-mailcap "%s"' % name)
os.startfile = startfile
Enjoy it!
2008/3/4, Algirdas Brazas <lists at digital.ktu.lt>:
> Sorry for posting it again - never mind it :)
>
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: wxPython-users-unsubscribe at lists.wxwidgets.org
> For additional commands, e-mail: wxPython-users-help at lists.wxwidgets.org
>
>
More information about the wxpython-users
mailing list