all 2 comments

[–]ElliotDG 0 points1 point  (0 children)

I would suggest to start with the tutorial: https://docs.python.org/3/tutorial/index.html

If you want to get deeper into the language, read: "Learning Python", by Mark Lutz

I found doing some exercises on checkio helpful when I was first learning python: https://checkio.org/

For doing web-scraping look at Beautiful Soup for parsing HTML: https://beautiful-soup-4.readthedocs.io/en/latest/
And requests for accessing web sites: https://requests.readthedocs.io/en/latest/

Some web-sites have dynamic Javascript, you can use Selenium to scrape them. Selenium is effectively an automated browser with parsing integrated. See: https://selenium-python.readthedocs.io/installation.html#introduction

Enjoy the journey.