gwrite because python