On Sun, Oct 31, 2010 at 9:15 PM, Dustin Wyatt <[email protected]> wrote:
> What's the best way to suppress the warning about not having lxml?
Probably the best way is to set the 'useModule' parameter, initialiazing
the IMDb instance.
Something like:
from imdb import IMDb
ia = IMDb('http', useModule='beautifulsoup')
It can also be set in the imdbpy.cfg configuration file (it should be copied
in your home directory as an hidden file, or in /etc)
Anyway, it would be a good idea to have a way to turn off all the
warnings from the code/configuration options.
HTH,
--
Davide Alberani <[email protected]> [PGP KeyID: 0x465BFD47]
http://www.mimante.net/
------------------------------------------------------------------------------
Nokia and AT&T present the 2010 Calling All Innovators-North America contest
Create new apps & games for the Nokia N8 for consumers in U.S. and Canada
$10 million total in prizes - $4M cash, 500 devices, nearly $6M in marketing
Develop with Nokia Qt SDK, Web Runtime, or Java and Publish to Ovi Store
http://p.sf.net/sfu/nokia-dev2dev
_______________________________________________
Imdbpy-help mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/imdbpy-help