def gui_ebook_edit(path=None, notify=None): ' For launching the editor from inside calibre ' init_dbus() from calibre.gui2.tweak_book.main import gui_main gui_main(path, notify)