Write A String To A File Python