Browse Source

possible fix for windows

master
Romain J 1 month ago
parent
commit
31103a3e7c
2 changed files with 11 additions and 5 deletions
  1. +9
    -5
      main.py
  2. +2
    -0
      requirements.txt

+ 9
- 5
main.py View File

@@ -1,11 +1,15 @@
from colorama import init
from termcolor import colored
import random

init()

chars = [
'\33[32m<\33[0m',
'\33[32m>\33[0m',
'\33[33mo\33[0m',
'\33[31m@\33[0m',
'\33[93m*\33[0m',
colored('<', 'green'), # '\33[32m<\33[0m',
colored('>', 'green'), # '\33[32m>\33[0m',
colored('o', 'yellow', attrs=['bold']), # '\33[33mo\33[0m',
colored('@', 'red'), # '\33[31m@\33[0m',
colored('*', 'yellow'), # '\33[93m*\33[0m',
]




+ 2
- 0
requirements.txt View File

@@ -0,0 +1,2 @@
colorama
termcolor

Loading…
Cancel
Save