An overview is given on recent developments in the affine Weyl group approach to Painleve equations and discrete Painleve equations, based on the joint work with Y. Yamada and K. Kajiwara.