Skip to content

Instantly share code, notes, and snippets.

View PaulCreusy's full-sized avatar

Paul Creusy PaulCreusy

View GitHub Profile
@PaulCreusy
PaulCreusy / SelfSignWindowsExecutable.md
Last active May 20, 2024 03:05
How to self-sign a Windows executable created with Pyinstaller

How to self-sign a Windows package created with Pyinstaller

This document aims to explain all the necessary steps to self-sign a Windows executable.

⚠️ Warning
Some of the commands provided need to be completed. The fields to complete are indicated by the characters < and >.

Prerequisites

Please make sure to match all the prerequisite before starting the process of signing the package.

@PaulCreusy
PaulCreusy / scrollable_frame.py
Last active May 22, 2024 11:33
Scrollable Frame for tkinter
import os
import tkinter as tk
from tkinter import ttk
class ScrollableFrame(ttk.LabelFrame):
def __init__(self, container, *args, **kwargs):
super().__init__(container, *args, **kwargs)
canvas = tk.Canvas(self, takefocus=0)
self.canvas = canvas