Note that no specific electronic configuration information can be gleaned from drawing an electron dot diagram. One cannot assume that the seventh electron "went into" the py orbital. In order to know what electrons are in what orbital for a given element in a given compound, one must fully analyze the energy states of each of the orbitals into which electrons can be populated. For most nonmetals, VSEPR is a good model toward predicting compound geometry and electronic structure.