On 04/17/2015 10:48 AM, Dave Angel wrote:
On 04/17/2015 09:19 AM, [email protected] wrote:
>>> target = open("target", "w")It's not usually a good idea to use the same variable for both the file name and the opened file object. What if you need later to print the name, as in an error message?
Oops, my error. Somehow my brain didn't notice the quote marks, until I reread my own message online.
-- DaveA -- https://mail.python.org/mailman/listinfo/python-list
