Wednesday, May 6, 2026
HomeLanguagesenchant.get_enchant_version() in Python

enchant.get_enchant_version() in Python

Enchant is a module in python which is used to check the spelling of a word, gives suggestions to correct words. Also, gives antonym and synonym of words. It checks whether a word exists in dictionary or not.

enchant.get_enchant_version()

enchant.get_enchant_version() is an inbuilt method of enchant module. It is used to see the version of the enchant module being used by the system.

Syntax : enchant.get_enchant_version()

Parameter : Nothing

Returns : a string containing the enchant version

Example 1 :




# import the enchant module
import enchant
  
# printing the version
print(enchant.get_enchant_version())


Output :

2.2.7

 
Example 2 :The version of the enchant module can also be found using help() method.




# import the enchant module
import enchant
  
# using the help() method
help(enchant)


Output : The actual output is of 574 lines. Here only the last few lines which contains the version are displayed.

set_prefix_dir(path)
Set the prefix used by the Enchant library to find its plugins

Called automatically when the Python library is imported when
required.

VERSION
2.2.7

FILE
c:\users\user\appdata\local\programs\python\python37-32\lib\site-packages\enchant\__init__.py

Last Updated :
03 Jul, 2020
Like Article
Save Article

<!–

–>

Similar Reads
Related Tutorials
Dominic
Dominichttp://wardslaus.com
infosec,malicious & dos attacks generator, boot rom exploit philanthropist , wild hacker , game developer,
RELATED ARTICLES

Most Popular

Dominic
32514 POSTS0 COMMENTS
Milvus
131 POSTS0 COMMENTS
Nango Kala
6890 POSTS0 COMMENTS
Nicole Veronica
12011 POSTS0 COMMENTS
Nokonwaba Nkukhwana
12105 POSTS0 COMMENTS
Shaida Kate Naidoo
7016 POSTS0 COMMENTS
Ted Musemwa
7262 POSTS0 COMMENTS
Thapelo Manthata
6975 POSTS0 COMMENTS
Umr Jansen
6962 POSTS0 COMMENTS