Category Archives: Python

Scrapy Tips: Adding fallbacks to your Item Loader

A few months ago I started a job with scrapinghub, the company behind the scrapy package for webscraping. Most of my recent time has been focused on learning the ropes and getting up to speed with some of the cool … Continue reading

Posted in Python, tutorial, webscraping | 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 , | 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

ELI5 Tutorial: Objects in Python

In today’s ELI5 I will go over objects in python. This is going to be a long one, but by the end of it you will understand the basics of objects in python.

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

ELI5 Tutorial: Decorators in Python

The next stop on our ELI5 tutorials is going to be decorates. These are another example of a very powerful bit of code that can be hard to understand. The quick description would be that these are ways to add … Continue reading

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

ELI5 Tutorial: Python *args and **kwargs

In the past my quick tutorials are mainly focused on advanced or weird issues that I had trouble figuring out on my own. I’ve decided to shake that up a bit and do a new tutorial series: ELI5 Tutorials. For … Continue reading

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

Quick Tutorial: PyQt 5 Browser

Dear Future Googler, If you are reading this you’re probably trying to find out how to display webpages in PyQt5. I bet you’ve been finding a bunch of tutorials written for QtWebKit but can’t get them to work, right? Don’t … Continue reading

Posted in Python, tutorial | Tagged , | 2 Comments

Dicecord v1.11 Release

I have just uploaded Dicecord v1.11 this is mainly just bug fixes, with some placeholder code for an eventual addition of a spell casting UI. Check below for the changes. Source code can be found on github and the new … Continue reading

Posted in Dicecord, Python | Tagged , , | Leave a comment

Discord 1.1 Release

Today I am launching Version 1.1 of Dicecord. The most visible change people will see is the addition of Vampire: The Requiem as a supported game. In addition, there are a lot of back end changes that make the code … Continue reading

Posted in Changelog, Dicecord, Python | Tagged , | Leave a comment

Dicecord Project Update 5

Welcome to Update 5 of the Dicecord project. This week I was able to complete all my goals and have closed in on a release candidate. The sheet is now implemented into Dicecord, which now opens on a blank character.

Posted in Dicecord, Python | Tagged | Leave a comment