Hi, i need small help
How to publish OGC compliant map service using python script?
I assume you mean "compliant" and not "complaint" and "map" instead of "mar." It would help if you shared more information about the systems you are using and will be publishing to.
I have unmarked my original response as the correct answer because I didn't answer a question, I asked a clarifying question. meena Thota, if you reply to my questions, GeoNet members might be able to better help you.
A good place to start is to read up on arcpy.sharing.