Register Guidelines E-Books Today's Posts Search

Go Back   MobileRead Forums > E-Book Software > Calibre > Recipes

Notices

Reply
 
Thread Tools Search this Thread
Old 10-17-2016, 10:55 PM   #1
timoy_kindle
Junior Member
timoy_kindle began at the beginning.
 
Posts: 7
Karma: 10
Join Date: Aug 2013
Device: kindle paperwhite
3rd party library opencc imported in recipe

Dear all,

I would like to translate chinese from simplified to traditional during the news feed and use the library

https://github.com/BYVoid/OpenCC

how can I import this 3rd party library in calibre recipe generation?

Thanks!
timoy_kindle is offline   Reply With Quote
Old 10-17-2016, 11:06 PM   #2
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,355
Karma: 27182818
Join Date: Oct 2006
Location: Mumbai, India
Device: Various
Add the location the library is present in to sys.path, then just import it like you would any python library.
kovidgoyal is offline   Reply With Quote
Advert
Reply


Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
3rd Party Oasis Cases positively4th Amazon Kindle 27 06-28-2016 12:14 PM
3rd party applications for DR800S? martienne iRex 2 05-31-2010 06:28 AM
3rd Party Tools Requested Mackx iRex 8 08-17-2009 12:20 AM
3rd party Iliad webbrowser? CommanderROR iRex 5 12-02-2007 05:58 PM
iLiad What 3rd Party Apps to you Use and Rely on? Adam B. iRex Developer's Corner 8 08-08-2007 08:09 AM


All times are GMT -4. The time now is 05:32 PM.


MobileRead.com is a privately owned, operated and funded community.