-
Continue reading →: Web Scraping: Introducing Selenium (Python)So far I have used Python with the requests library and beautifulsoup library. This had allowed me to GET and POST requests to web servers, and to parse results back in a more friendly way. Now I’m going to introduce Selenium. Selenium allows Python to interact with webpages by opening…
-
Continue reading →: Web Scraping: Interacting With Web Pages (Python)So far I have been scraping my website for a list of the divs, links and pictures that it contains, however I also want to interact with my site. Back in part 1 I briefly wrote about the GET command that is used when asking for data from a web…
-
Continue reading →: Language Foundations / Logical Operators (C)Continuing on with learning C, I have recently completed the C: Language Foundations course via edX in conjunction with Dartmouth and IMT. C: Language Foundations has the following learning outcomes: Use logical conditions to control the flow of a program via branch statements (if-else), repetition (for or while loop) and…
-
Continue reading →: Web Scraping Part 2 (Python)Continuing on from Web Scraping Part 1. In this part I’m going to look at collecting the hyperlinks on a page. I have uploaded my work in Python to my GitHub, so that code examples are easier to follow: https://github.com/geektechdude/Python_Web_Scrapper def find_links(URL_INPUT): # returns all the hyperlink destinations…
-
Continue reading →: Web Scraping Part 1 (Python)Web scraping can be a very useful way to extract data from websites but for anyone that has only viewed the web with a browser they can seem like magic. For example, here is http://www.geektechstuff.com viewed via a web browser: And here is http://www.geektechstuff.com when the HTML is read by…
-
Continue reading →: Variables (C)Following on from https://geektechstuff.com/2019/02/25/hello-world-c/, I have continued to work on learning C by enrolling on the EdX course “C Programming: Getting Started” in conjunction with Dartmouth and IMT. The syllabus for C Programming: Getting Started includes: Define, distinguish and give examples of hardware/software, computer programs/algorithms Explain the concept of a…
-
Continue reading →: UK Flood Alert / Flood Data (Python)Today I received a phone call and SMS text message that a flood alert had become active for the area I live in. After making preparations incase the alert severity increased I got to thinking; is there a better way to be warned about potential floods? One (quick) Google search…
-
Continue reading →: Cognitive Computer Vision (Azure / Python)I take it for granted that when I look at a picture I can identify what the items in the picture are. However, as a baby I could not and as a young child I would probably struggle with non-every day objects in a picture. Computers are at a point…
-
Continue reading →: Doing More With CSV Data (Python)Yesterday I outputted sensor readings into a CSV file, today I’m going to look at what I can do with that CSV file in Python. Pandas I originally looked at Pandas back in December 2018 when I used it to open an Excel spreadsheet. A CSV is open in a similar…
-
Continue reading →: Setting Up A Headless Pi (Raspberry Pi)Sometimes you may want to set up a Raspberry Pi without connecting it to a TV / monitor, keyboard, mouse or network cable. I recently did this for my Raspberry Pi Zero and decided to create a quick guide in case I need to do it again in the future.…


