Watch the video here https://www.youtube.com/watch?v=5CMmjNt_p48
Steps to follow to run your python code without typing python filename.py.
You can simply run by typing filename if you follow these simple steps.
| import requests | |
| from bs4 import BeautifulSoup | |
| from time import sleep | |
| base_url = 'http://quotes.toscrape.com/page/' | |
| all_urls = list() | |
| def generate_urls(): | |
| for i in range(1,11): |
| from multiprocessing import Pool | |
| import requests | |
| from bs4 import BeautifulSoup | |
| base_url = 'http://quotes.toscrape.com/page/' | |
| all_urls = list() | |
| def generate_urls(): | |
| for i in range(1,11): |
Steps to follow to run your python code without typing python filename.py.
You can simply run by typing filename if you follow these simple steps.