Author Archives: Roy

Scrapy-GUI updated to version 1.1

Scrapy-GUI updated to version 1.1. Continue reading

Posted in Uncategorized | Leave a comment

Using Scrapy-GUI In Your Scrapy Shell

I spent my Christmas break working on my first python package – Scrapy-GUI. This package is an addon for the scrapy shell that gives you a graphical user interface for writing and testing scrapy queries and processors. This blog is going to focus on how the tools tab works and how you can utilise it to help build your scrapy web spiders. Continue reading

Posted in Python, scrapy, tutorial, webscraping | Tagged , , , | Leave a comment

Are your selectors not returning expected content when webscraping?

I’ve taken a shine to posting on the /r/learnpython subreddit recently and I have a noticed a trend over the last few days – quite a lot of people seem to be using the Holiday break to learn how to … Continue reading

Posted in General Tips, Python, tutorial, Uncategorized, webscraping | Tagged , , , , , , , | Leave a comment

I got a QR Code Tattoo!

I got my first ever tattoo this week. This is something I had been considering for a long while – about 5 years. I wanted something that reflected my obsession with technology, something that looked cool but also had a … Continue reading

Posted in Off-Topic | Tagged , , | Leave a comment

ELI5 Tutorial: Unit Testing with unittest

I lied in my last post. I have decided to do one more ELI5, this time for Unit Tests. I decided to do this to help my classmates – Google is running a code retreat tomorrow at my university and … Continue reading

Posted in ELI5, General Tips, Python, tutorial | Tagged , , | Leave a comment

ELI5 Tutorial: Subclassing Objects in Python

So, this ELI5 has been sitting in my drafts folder for a while. Not sure how that happened there! Woops! After some delay, here is the final EL15 for now – how to subclass an object!

Posted in ELI5, Python, tutorial | Tagged , | Leave a comment

Connecting to Eduroam on Linux

Today I returned to university to do a postgrad after an 11 year absence. A lot had changed since my undergrad, mostly on the tech support side. My student webmail is on gmail now, printing costs money and WiFi is … Continue reading

Posted in General Tips, Linux | Tagged | Leave a comment

ELI5: Python @property and setter

For this ELI5 I’m gonna go over the @property and setter decorators. In my objects tutorial I mentioned that you can access and alter the content of attributes directly, but this is not always ideal. In other words, these allow … Continue reading

Posted in ELI5, Python, tutorial | Tagged , | 2 Comments

How To Share Songs Between Devices On Spotify

I recently started using spotify and immediately ran into a very frustrating issue – a bunch of my favourite songs were not available on the platform. While I had my own versions of these songs I needed a way to … Continue reading

Posted in General Tips | Tagged , | Leave a comment

ELI5 Tutorial: @classmethod and @staticmethod

In this week’s ELI5 tutorial I am going to combine my last two ELI5s and talk about special decorators in classes. The first two I will deal with are @classmethod and @staticmethod. These decorators can be very powerful and allow … Continue reading

Posted in ELI5, Python, tutorial | Tagged , | Leave a comment