When I write
from BeautifulSoup import BeautifulSoup
I get the following error:
No module named BeautifulSoup
All files are saved in the project folder, subfolder of the BeautifulSoup folder. And it works fine if BeautifulSoup.py is placed in the same folder as main.py.
If you want to include BeautifulSoup from a subfolder (subdirectory), make sure that the __init__.py file is in the directory.
BeautifulSoup
__init__.py
Then from BeautifulSoup.BeautifulSoup import BeautifulSoup should work.
from BeautifulSoup.BeautifulSoup import BeautifulSoup
Source: https://habr.com/ru/post/1206286/More articles:Require one of several columns on Mongoose.js - node.jsiOS AVPlayerViewController does not display playback controls - iosIs there a way to put NLog.config information in my app.config file? - .netPython on Appengine using BeautifulSoup ImportError: no module named bs4 - pythonto find table size in IBM netezza sql database from Aginity toolkit on win 7 - sqltesting application for python - pythonLiteral "or" in a C ++ program? - c ++gnuplot gives a warning: skip data file without valid points - htmlScala case class.type does not accept parameters - scalahttps://translate.googleusercontent.com/translate_c?depth=1&rurl=translate.google.com&sl=ru&sp=nmt4&tl=en&u=https://fooobar.com/questions/1206291/what-are-the-benefits-drawbacks-of-a-list-of-lists-compared-to-a-numpy-array-of-objects-with-regards-to-memory&usg=ALkJrhi7-EBu2Mde-qL0XVHoph3F1oYVLAAll Articles