How to install a module in Python 3.6 ?

+1 vote
I am new to Python. I want to scrap an e-commerce website and store its results into an excel sheet. For this, i need to import a module called beautiful soup in Python? How can i do it?
Jun 25 in Python by Neel
• 1,610 points
36 views

1 answer to this question.

+1 vote

If you are using Ubuntu then the module BeatifulSoup is by default installed in it. You can find it using the command :

$ apt-cache search beautifulsoup

If you are using Python 3.x and still are not able to find it then install it using the following command :

$ sudo apt-get install python3-bs4

Once you download it then you can import it by following command

from bs4 import BeautifulSoup    
answered Jun 25 by Arvind
• 1,530 points

Related Questions In Python

0 votes
1 answer

How to install biopython module in python?

To install biopython on your project, simply ...READ MORE

answered Jul 8 in Python by Mohammad
• 1,500 points
18 views
0 votes
1 answer

How to add a new line in Python?

You can use '\n' for a next ...READ MORE

answered May 2, 2018 in Python by aayushi
• 750 points
56 views
0 votes
2 answers

How to calculate square root of a number in python?

calculate square root in python >>> import math ...READ MORE

answered Apr 2 in Python by anonymous
140 views
0 votes
1 answer

How to print first character of each word in upper case of a string in Python

You can use split() using space as ...READ MORE

answered Jun 1, 2018 in Python by george
• 200 points
1,388 views
0 votes
1 answer

How to use BeautifulSoup for Webscraping

Your code is good until you get ...READ MORE

answered Sep 6, 2018 in Python by Priyaj
• 56,160 points
169 views
0 votes
1 answer

Crawling after login in Python

You missed a few login data forms, ...READ MORE

answered Sep 7, 2018 in Python by Priyaj
• 56,160 points
216 views
0 votes
1 answer

How to download intext images with beautiful soup

Try this: html_data = """ <td colspan="3"><b>"Assemble under ...READ MORE

answered Sep 10, 2018 in Python by Priyaj
• 56,160 points
395 views
0 votes
1 answer

Crawling after login in Python

You missed a few login data forms, ...READ MORE

answered Sep 14, 2018 in Python by Priyaj
• 56,160 points
27 views
+1 vote
1 answer

How to convert records from csv to a list in Python?

If you are using Python 3.x then ...READ MORE

answered Jun 25 in Python by Arvind
• 1,530 points

edited Jun 26 by Kalgi 29 views
0 votes
1 answer

How to find exponent of a number in Python?

Yes you can do it using the ...READ MORE

answered Jul 2 in Python by Arvind
• 1,530 points
10 views