writing to a file from within nested loops
ian.g.kelly at gmail.com
Wed Feb 15 21:32:51 CET 2012
On Wed, Feb 15, 2012 at 1:12 PM, Rituparna Sengupta <rsengupta at wisc.edu> wrote:
> I'm working on this code and I keep getting an error. It might be some very basic thing but I was wondering if someone could help. Its a loop within a loop. The part outside the innermost loop gets printed fine, but the part within the innermost loop doesn't get printed. I get an error: 'str' has no attribute 'write'. Thanks in advance.
There's not enough to go on here. Please post the actual code snippet
and the full traceback. Don't summarize the error for us.
More information about the Python-list