Python Method Static Variable Image