A few questions regarding Pythons 'import' feature -
i downloaded beautiful soup , i've decided i'll make small library (is call them in python?) return results of movie given , imdb movie search.
my question is, how import thing work?
for example, downloaded beautifulsoup , is, .py file. file have in same folder python application (my project use library)?
for ubuntu, can search packages command
apt-cache search beautifulsoup this should yield
python-beautifulsoup - error-tolerant html parser python so easiest way install beautifulsoup ubuntu run
sudo apt-get install python-beautifulsoup once this, can put
import beautifulsoup in of scripts , python installation find module.
Comments
Post a Comment