I have installed import_off addon from this github repo. This addon provide import functionality of the ".off" file in blender using the GUI. But there is no way I can import ".off" file using python.
Please tell if there is any way I can import .off files using python, since I intend to work on many 3D models and using GUI is not possible on all of them.