View Full Version : MD5 python library
nickdima
May 18th, 2009, 07:39 PM
The MD5 python library doesn't seem to be included in the boxee environment. I need this for an application I'm buidling, actually I'm using a third-party library in my application that makes use of the MD5 lib, which it can't find. What to do? ... i'm a python newbie
ameno
May 18th, 2009, 08:18 PM
you can use external libraries
http://forum.boxee.tv/showpost.php?p=50528&postcount=8
nickdima
May 19th, 2009, 03:25 PM
But the MD5 library comes by default with python (not the case of boxee's python). What should I do to use it as a library, I have to compile something? Sorry if I don't make any sense... I'm a python newbie
ameno
May 19th, 2009, 04:36 PM
Well, you are right. MD5 does not come with Python 2.4, which is what Boxee uses. If you have downloaded a copy of Python on your machine you can go into the Apllication install folder and search the lib directory for md5 folder or md5.py. You can try copying that and including it in your app.
junda
May 26th, 2009, 11:55 AM
are you sure python 2.4 doesn't have md5? I found the official doc here:
http://www.python.org/doc/2.4.1/lib/module-md5.html
ameno
May 26th, 2009, 12:07 PM
are you sure python 2.4 doesn't have md5? I found the official doc here:
http://www.python.org/doc/2.4.1/lib/module-md5.html
Yes, there are docs, I saw those too. But there is no actual library (md5.py or md5.pyo to import). Try running that import and you'll see. Can you find the md5.py that works with 2.4?
junda
May 26th, 2009, 11:37 PM
Yes, there are docs, I saw those too. But there is no actual library (md5.py or md5.pyo to import). Try running that import and you'll see. Can you find the md5.py that works with 2.4?
:confused:
I'm using it in my Facebook photo app, and it works fine. I'm using
import md5
and boxee takes care of that.
my app is here http://forum.boxee.tv/showthread.php?t=9018
DPK
May 27th, 2009, 12:28 AM
You should just be able to import md5 and utilize it like any other library. I don't see why boxee would intentionally rip out a basic library like md5.
ameno
May 27th, 2009, 02:40 AM
Interesting. I had always assumed that all the imports actually had to have a corresponding .py file. I know on my Windows version there is no md5.py.
Powered by vBulletin® Version 4.1.12 Copyright © 2013 vBulletin Solutions, Inc. All rights reserved.