jamesturk / jellyfish

🪼 a python library for doing approximate and phonetic matching of strings.
https://jamesturk.github.io/jellyfish/
MIT License
2.04k stars 157 forks source link

Easy trick for users to check if they are using Python or C code #70

Closed J535D165 closed 7 years ago

J535D165 commented 7 years ago

Maybe I'm missing the (simple) trick to do this. But what about this:

>>> import jellyfish
>>> print (jellyfish.library)
Python

or

>>> import jellyfish
>>> print (jellyfish.library)
C
jamesturk commented 7 years ago

I like this, thanks!