Writefile In Python Example