View Single Post
Old 10-19-2020, 08:46 AM   #355
kovidgoyal
creator of calibre
kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.
 
kovidgoyal's Avatar
 
Posts: 45,527
Karma: 28548962
Join Date: Oct 2006
Location: Mumbai, India
Device: Various
Note that the next release of calibre is no longer bundling pywin32 so you cant use win32com/win32process in the plugin anymore. To add to recent documents simply use

from calibre.gui2 import add_to_recent_docs
add_to_recent_docs(path_fo_file)

as for running subprocesses, there is no longer any issue with unicode paths and the python subprocess module, so just use that.
kovidgoyal is online now   Reply With Quote