[sword-devel] What is the command to retrieve text by args like "Genesis 1:1"
wwguocn at gmail.com
Fri May 8 09:17:22 MST 2009
Luke Plant 写道:
> I'm presuming you want to write in Python. You need to build the
> Sword Python SWIG bindings (from the sword source tarball), and I have
> some Python code here which should provide a basis for what you need.
> The function "get_bible_text()" is what you need to look at, the rest
> may or may not be relevant.
> The code seems somewhat cumbersome, there may be an easier way. Also,
> the process of converting to plain text is somewhat hacky, and I only
> implemented what I needed (I mainly use the ESV module).
I never know Sword has primitive Python bindings. It's good to know it.
Thanks a lot!
More information about the sword-devel