Posts
 
Reputation
Joined
Last Seen
Ranked #3K
Strength to Increase Rep
+3
Strength to Decrease Rep
-0
100% Quality Score
Upvotes Received
1
Posts with Upvotes
1
Upvoting Members
1
Downvotes Received
0
Posts with Downvotes
0
Downvoting Members
0
1 Commented Post
0 Endorsements
Ranked #4K
~523 People Reached
Favorite Forums
Favorite Tags
Member Avatar for daniwebnewbie

I'm writing an application that needs to store a ton of objects and some attributes. I was wondering, based on python's inner workings, if it's more memory efficient to have one huge dictionary or many small dictionaries and then one dictionary that just references the smaller dictionaries? Any information would …

Member Avatar for paddy3118
0
238
Member Avatar for daniwebnewbie

Hi. I just started python programming tonight and am trying to use good practices such as list comprehensions etc. However, I'm trying to get a list of all files in a directory (and subdirectories) and only add the filename to my list if its extension matches one of the extensions …

Member Avatar for daniwebnewbie
0
148
Member Avatar for crumpet

Hi folks, Just hoping someone can point me in the right direction with this one. Say I have these key:value pairs in a dictionary, d1: [CODE="Python"] d1 = {fruit:['apples', 'bananas','oranges','tomatoes'], vegetables:['carrots','lettuces']} [/CODE] And I wanted to remove a list (containing tomatoes, oranges) from the value of the key fruit and …

Member Avatar for daniwebnewbie
0
137