PDA

View Full Version : [SOLVED] Need help with installing a module



Interestedinthepenguin
November 12th, 2007, 04:23 AM
I wanted to use "has_value" with my dictionaries, so I downloaded this: http://www.radlogic.com/releases/two_way_dict.py

Can anyone tell me what I'm supposed to do with the file?

...I ran it in the terminal with python; the output was:


.......................................
----------------------------------------------------------------------
Ran 39 tests in 0.006s

OK


Any help is appreciated.

geirha
November 12th, 2007, 08:46 AM
import two_way_dict
help(two_way_dict)

Make sure it's either in the directory you run python from, or in /usr/lib/python2.5/site-packages

Interestedinthepenguin
November 12th, 2007, 08:53 PM
Alright! Thank you very much! :)