I want to make my python file un-editable and anyone should not be able to view code. Client should only be able to run the python file not view the code.
I don't think if that it possible. But what you could do it compile it to the platform specific executable format such as .exe for windows. You could use pyinstaller for that