i worked on pyd and etc but still can not hide my code from other users of my python script
how can i fix this?
You can never completely hide your code. A search will indicate that it is almost impossible to prevent reverse engineering any code in any language.
License it... then you have legal recourse ... or move forward and open source it if you have no intention of marketing it.