Category Archives: Python

Dicecord Project Update 4

Welcome to Update 4 of the Dicecord project. This week I was able to complete all my goals, resulting in a complete view of a one page Mage character sheet. In addition to showing all content, I incorporated tooltips on … Continue reading

Posted in Dicecord, Python | Tagged | Leave a comment

Dicecord Project Update 3

Welcome to Update 3 of the Dicecord project. This weekend I was unable to complete all my goals due to an injury, but I got a lot of the main work done at least. I finished off the Health widget, … Continue reading

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

Dicecord Project Update 2

Welcome to Update 2 of the Dicecord project. This weekend I completed all goals I set out in the last update. I made the Square object, added it as a rote marker, added in a derived stats section and added … Continue reading

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

Dicecord Project Update 1

First project update for Dicecord. This is a diceroller/digital character sheet for use with Discord. Its UI is buily in PyQt5. This goes over the Dicecord-lite version, shows a preview of the character sheet display and generally talks about how the coding experience has been. Continue reading

Posted in Dicecord, Python | Tagged , , | 1 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