hello everyone, I am a newbie on python. I am stuck by the calculation of distance between two points along a given line. My primary task is to calculate the distance among different points respectively and make some comparison. And I don't want to use network analyst. Any helps would be appreciated.Thanks

Not to answer your question directly, but to throw you in the deep end.. you need to study how python interacts with arcmap, through the arcpy module. Begin exploring the arcpy functions and classes section of the help files and the code snippets. Of course you will have to determine whether you want the distances between just points that could form a line, the vertices of a polyline, point(s) you wish to put along a polyline, etc

EDIT

And there were some suggestions on here as well how to calculate the distance between two points using python - Geographic Information Systems Stack Exchange