<?xml version="1.0" encoding="utf-8" standalone="yes"?>
<rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom">
  <channel>
    <title>Python on JEROENDEV</title>
    <link>https://jeroendev.one/tags/python/</link>
    <description>Recent content in Python on JEROENDEV</description>
    <generator>Hugo 0.125.1</generator>
    <language>en</language>
    <copyright>&lt;a href=&#34;https://creativecommons.org/licenses/by-nc/4.0/&#34; target=&#34;_blank&#34; rel=&#34;noopener&#34;&gt;CC BY-NC 4.0&lt;/a&gt;</copyright>
    <lastBuildDate>Sun, 24 Mar 2024 00:00:00 +0000</lastBuildDate>
    <atom:link href="https://jeroendev.one/tags/python/index.xml" rel="self" type="application/rss+xml" />
    <item>
      <title>Python: Blind poule generator</title>
      <link>https://jeroendev.one/posts/python-blind-poule-generator/</link>
      <pubDate>Sun, 24 Mar 2024 00:00:00 +0000</pubDate>
      <guid>https://jeroendev.one/posts/python-blind-poule-generator/</guid>
      <description>What is it? A blind poule is a list of randomly generated soccer score outcomes. The script I made favours the lower numbers first (because this is more likely to happen) but it can generate scores where one team scores 6 or 7 goals.&#xA;Requirements weasyprint numpy jinja2 Weasyprint can be installed using your distro&amp;rsquo;s package manager. The remaining Python modules can be installed using pip:&#xA;pip install numpy jinja2 The script import random import numpy as np import datetime from jinja2 import Template # Set generated_scores = set() # Generate random scores def generate_score(): global generated_scores while True: # Generate random scores favoring towards lower values team1_score = max(0, int(np.</description>
    </item>
    <item>
      <title>PS5: Setting up Discord RPC client</title>
      <link>https://jeroendev.one/posts/ps5-setting-up-discord-rpc-client/</link>
      <pubDate>Mon, 12 Feb 2024 00:00:00 +0000</pubDate>
      <guid>https://jeroendev.one/posts/ps5-setting-up-discord-rpc-client/</guid>
      <description>What is it? PS5 RPC Client is an client I made using Python3 which will update your Discord Rich Presence with the game you&amp;rsquo;re playing on your jailbroken PS5. Requires Discord Desktop App&#xA;It requires etaHEN &amp;gt;= 1.4b to be running and have the following entry enabled in the /data/etaHEN/config.ini:&#xA;[Settings] discord_rpc=1 Advised to have an static IP for your PS5.&#xA;Getting started 1. Setting up Discord Go to the Discord Developers page.</description>
    </item>
  </channel>
</rss>
