View Single Post
Old 08-09-2017, 05:06 AM   #1
WS64
WS64 ought to be getting tired of karma fortunes by now.WS64 ought to be getting tired of karma fortunes by now.WS64 ought to be getting tired of karma fortunes by now.WS64 ought to be getting tired of karma fortunes by now.WS64 ought to be getting tired of karma fortunes by now.WS64 ought to be getting tired of karma fortunes by now.WS64 ought to be getting tired of karma fortunes by now.WS64 ought to be getting tired of karma fortunes by now.WS64 ought to be getting tired of karma fortunes by now.WS64 ought to be getting tired of karma fortunes by now.WS64 ought to be getting tired of karma fortunes by now.
 
WS64's Avatar
 
Posts: 661
Karma: 506380
Join Date: Aug 2010
Location: Germany
Device: Kobo Aura / PB Lux 2 / Bookeen Frontlight / Kobo Mini / Nook Color
Rename html files

How can I rename a HTML file within an epub with a Sigil-plugin?
I tried
os.rename('../Text/Section0001.xhtml',...)
But I get a "file not found" error.
Is os.rename not suitable here (does it go to my harddrive maybe instead of the epub?), or how would I address a file called Section0001.xhtml in the Text folder of an epub?
WS64 is offline   Reply With Quote