In <mailman.1249.1301065649.1189.python-l...@python.org> <jyoun...@kc.rr.com> writes:
> Just curious how others view the 2 examples below for creating and > writing to a file in Python (in OS X). Is one way better than the other? > If it was a large amount of text, would the 'os.system' call be a bad > way to do it? 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.) -- John Gordon A is for Amy, who fell down the stairs gor...@panix.com B is for Basil, assaulted by bears -- Edward Gorey, "The Gashlycrumb Tinies" -- http://mail.python.org/mailman/listinfo/python-list