How To Write To Files Using Python