first commit
This commit is contained in:
commit
019416834b
10 changed files with 981 additions and 0 deletions
25
preview.py
Normal file
25
preview.py
Normal file
|
@ -0,0 +1,25 @@
|
|||
#!/usr/bin/env python3
|
||||
|
||||
import math, os, sys # standard libraries
|
||||
|
||||
# Constants
|
||||
PI = 3.14159
|
||||
GREETING = "Hello, World!"
|
||||
|
||||
class ThemePreview:
|
||||
def __init__(self, name: str):
|
||||
self.name = name
|
||||
self.colors = {"background": "#000000", "text": "#FFFFFF"}
|
||||
|
||||
def display(self):
|
||||
print(f"Previewing theme: {self.name}")
|
||||
for key, value in self.colors.items():
|
||||
print(f"{key.capitalize()}: {value}")
|
||||
|
||||
@staticmethod
|
||||
def helper(x: int) -> bool:
|
||||
return x in range(10) and not x % 2
|
||||
|
||||
if __name__ == "__main__":
|
||||
tp = ThemePreview("Fruitbasket")
|
||||
tp.display()
|
Loading…
Add table
Add a link
Reference in a new issue