Python: save to csv dwmo