Forums
New posts
Search forums
Members
Current visitors
Log in
Register
What's new
Search
Search
Search titles only
By:
New posts
Search forums
Menu
Log in
Register
Install the app
Install
Forums
Archive
Archive
Python
Pickling dictionaries containing dictionaries: failing,recursion-style!
JavaScript is disabled. For a better experience, please enable JavaScript in your browser before proceeding.
You are using an out of date browser. It may not display this or other websites correctly.
You should upgrade or use an
alternative browser
.
Reply to thread
Message
[QUOTE="John Machin, post: 3163477"] Whaaaat?? self.words is obviously an iterable (can you see "for word in self.words" in his code?), probably just a list. self.words.count looks like a standard sequence method to me. self.words.count(word) will return an int -- can you see all those "[1,", "[2," etc in his printed dict output? [/QUOTE]
Verification
Post reply
Forums
Archive
Archive
Python
Pickling dictionaries containing dictionaries: failing,recursion-style!
Top