Skip to content

Instantly share code, notes, and snippets.

@RyozuK
RyozuK / tkfonts.py
Created October 1, 2020 01:16
font demo
import tkinter as tk
import tkinter.font as tkFont
class Main(tk.Tk):
def __init__(self, *args, **kwargs):
super().__init__(*args, **kwargs)
self.geometry("200x200")
self.font = tkFont.Font() # This is a font object, so it has a self.configure()
@RyozuK
RyozuK / prefix_sum_.gitignore
Created September 28, 2019 19:47
Python prefix sum
# Byte-compiled / optimized / DLL files
__pycache__/
*.py[cod]
*$py.class
# C extensions
*.so
# Distribution / packaging
.Python
@RyozuK
RyozuK / prefix_sum_.idea_misc.xml
Created September 28, 2019 19:46
Prefix Sum Python
<?xml version="1.0" encoding="UTF-8"?>
<project version="4">
<component name="ProjectRootManager" version="2" project-jdk-name="Python 3.7 (prefix_sum)" project-jdk-type="Python SDK" />
</project>