This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
''' | |
BeautifulOutput is a module for managing the terminal output of the program including colors and formatting. | |
The colors are defined in the COLORS dictionary, you can change it to whatever you want. | |
You can also add more colors, just add them to the dictionary colors. | |
To use it, just import it and call BeautifulOutput.init() before using it. | |
Then you can call BeautifulOutput(str) to print a string with the formatting. | |
Script by: Manuel Cabral (github: manucabral) | |
All rights reserved. |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
import tkinter as tk | |
class Application(tk.Frame): | |
def __init__(self, master=None): | |
super().__init__(master) | |
self.winfo_toplevel().title('MacroMimo') | |
self.winfo_toplevel().resizable(False, False) | |
self.sequences = [ | |
{ | |
'id': 1, |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
import pygame as py | |
import socket as sk | |
import threading as th | |
class Client: | |
__slots__ = ( | |
"__host", | |
"__port", | |
"__s", |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
import urllib3 | |
import json | |
def get_data(embed_url: str) -> dict: | |
http = urllib3.PoolManager() | |
response = http.request("GET", embed_url) | |
return json.loads(response.data.decode("utf-8")) | |
OlderNewer