Advertisement
Guest User

Untitled

a guest
Jan 21st, 2012
73
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.32 KB | None | 0 0
  1. #How do I convert this :
  2.  
  3. cache = {}
  4. cache['http://dude.com'] = false
  5. cache['http://dude1.com'] = true
  6. cache['http://dude2.com'] = true
  7. cache['http://dude3.com'] = false
  8.  
  9. #i want to gather all the hashes with false value
  10. #so new hash should =
  11.  
  12. cache['http://dude.com'] = false
  13. cache['http://dude3.com'] = false
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement