Markov Chains, Python, Data Analysis, Text Generation, Scraping.
previous post about requests-html, you already know that i’m a big fan of this popular library. In this snippet we create a new function get_pages with one parameter to choose how many pages we want to download from Wikipedia (default to 10). Let’s have a deeper look at the code: Here we create a