Eclipsing binaries: python codes