A simple example to grab the title of a page using Python and beautifulsoup4
A really simple code I added to my Python 3 Exercises for Beginners book, to grab the title of a Web page. I also included this code in the code repository for Python 3 Combat Guide book. https://gitlab.com/carles.mateo/python_combat_guide/-/blob/master/src/html_parse_beautifulsoup4.py
Copy and paste this URL into your WordPress site to embed
Copy and paste this code into your site to embed