Category Archives: tutorial

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

Adding Features to Dicecord Discord

I’ve spruced Dicecord’s discord server up with a few features using webhooks and the IFTTT automation service. The discord will be updated when I push new commits to github and when I post new blog posts here. I’ve decided to … Continue reading

Posted in 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: Setting Custom Resolutions on Ubuntu

I have decided to get to grips with linux by installing Ubuntu on a VM on my machine using VirtualBox. Setting up VirtualBox was pretty straight forward, but I had a minor issue I needed to solve. You see, since … Continue reading

Posted in Linux, tutorial | 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 , | Leave a comment

Quick Tutorial: Python Multiprocessing

I’m going to take a break from webhooks and project updates to give a quick tutorial about multiprocessing. Multiprocessing is very useful when it comes to any sort of networking focused code and most tutorials I found dealt with just … Continue reading

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

Using Webhooks with Python: Part 2

In this post I’m going to go over the send message to Discord webhook function from last time and add in some error handling for when we hit a rate limit. Continue reading

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

Using Webhooks with Python: Part 1

In this post I’m going to share a tutorial about how to use Discord webhooks in python. While the specific example is Discord, the tutorial will show how we can use docs and software like postman to figure out how to use webhooks in general. Continue reading

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