check for odd python writing method