This file contains hidden or 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 os | |
import sys | |
from spellchecker import SpellChecker | |
def get_int_input(prompt, error="Input must be an integer!"): | |
valid = False | |
while not valid: | |
try: | |
x = int(input(prompt)) |
This file contains hidden or 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
a | |
aardvark | |
aardvarks | |
ab | |
aba | |
aback | |
abacus | |
abacuses | |
abaddon | |
abaft |
This file contains hidden or 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
using System.Reflection; | |
using System.Diagnostics; | |
using Tomlet; | |
using Tomlet.Models; | |
namespace Config; | |
public enum ConfigLogLevel | |
{ | |
Info, |
This file contains hidden or 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 os | |
from moviepy.editor import VideoFileClip | |
# Utility function to peek the next line of a file (read without incrementing line iterator) | |
def peek_line(f): | |
pos = f.tell() | |
line = f.readline() | |
f.seek(pos) |
This file contains hidden or 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
from telethon import * | |
import asyncio | |
import json | |
import os | |
import time | |
import dataclasses | |
import sys | |
import datetime | |
from dataclasses import dataclass |