Update inex.py

Main file written in python