Joined
Last Seen
0 Reputation Points
Unknown Quality Score
No one has voted on any posts yet. Votes from other community members are used to determine a member's reputation amongst their peers.
0 Endorsements
Ranked #54.9K
I'm fairly new to python and object oriented programming in general, so I'm having a little trouble figuring out why this doesn't work this is the error I'm getting for the code below: Error: 'str' object has no attribute 'insert' [CODE]filetolist = FileReadToList("test.txt") print filetolist[0] def FileCountLines(s_filename): f = open(s_filename) … |