Skip to content

Instantly share code, notes, and snippets.

@X-88
X-88 / RectPygame.py
Last active May 12, 2021 07:43
Create Simple Button using Rect in pygame
import pygame as pg
import sys, os, random
pg.init()
w = 600
h = 800
res = (w, h)
fontname = "/storage/emulated/0/fonts/clacon.ttf"
sndpath = "/storage/emulated/0/sfx/test.mp3"
efn = os.path.basename(sndpath[:-4])
@X-88
X-88 / createtable.py
Created November 21, 2021 12:39
Create Simple Table Using Ascii Character
from os import system
"""
Writed by: Zephio
Create Simple Table
Lang: Python 3.xx
"""
brd = u'\u2593'
spr = '=' * 34