John Gordon wrote: > The write() way is much better. (However, I'm not sure it will do what > you were expecting with the tilde in the file path.) It won't, but the os.path.expanduser() function can be used to fix that. -- Greg