Why this Error may happend? I have to readjust huge application and I need the most supposed possibilities which make this kind of error.
Carolus89 0 Newbie Poster
Recommended Answers
Jump to Post>>> x = 'car' >>> x.close() Traceback (most recent call last): File "<interactive input>", line 1, in <module> AttributeError: 'str' object has no attribute 'close'
As tony mention str has no close() method as a file object.
cStringIO module has close(),or maybe you are trying to …
All 3 Replies
TrustyTony 888 ex-Moderator Team Colleague Featured Poster
snippsat 661 Master Poster
Carolus89 0 Newbie Poster
Be a part of the DaniWeb community
We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.