Message from Python discussions
November 2018
— Make sure you don't have a variable named str
Traceback (most recent call last):
File "/home/cyril/Desktop/python/sample work/phishing/Malicious-Web-Content-Detection-Using-Machine-Learning-master/features_extraction.py", line 12, in <module>
from google import google
ImportError: cannot import name 'google'
— $ pip3 list | grep google
DEPRECATION: The default format will switch to columns in the future. You can use --format=(legacy|columns) (or define a format=(legacy|columns) in your pip.conf under the [list] section) to disable this warning.
google (2.0.1)
— Please help
— How many functions are there in bs4 and requests?? Is it easy to know and memorize them all??
— Read the code ?
— Bad idea
— For requests it should be somewhat doable since it's the request method and then convenience methods for the different HTTP requests
— So do I have to go through the whole library each time I need a particular function??
— What code??
— From requests and bs4 ?
— How to solve it