Close

Learning courses

A project log for Learning Python

Learning Python

keithKeith 05/21/2024 at 23:550 Comments

2024-05-21 

After creating my chip-pinout to html renderer in Python, I spent a few days watching Introduction to Python videos. 

The introductory stuff was a bit too basic, I'd have prefer a few short examples of C++ and Python constructs side by side. Most languages have for-next and do-while loops. Python has a significantly different way of iterating.

What I found exciting was that there are many libraries to parse HTML pages from the net to extract data from the web. Or XML and JSON files.

HTML parsing is interesting to me because I'd like to scrape component descriptions and CAD library data from web pages, using software rather than scrolling through sites and clicking download buttons.

XML parsing may be helpful analysing and importing KiCad files.

Discussions