-
Notifications
You must be signed in to change notification settings - Fork 0
/
app.py
21 lines (15 loc) · 592 Bytes
/
app.py
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
# other_program.py
import curses
from mnemonic import Mnemonic
import wallet_generator as wg1
import wallet_generator2 as wg2
def gerar_frases_aleatorias_com_ambas(stdscr, num_palavras, word_list):
wg1.gerar_frases_aleatorias(stdscr, num_palavras, word_list)
wg2.gerar_frases_aleatorias(stdscr, num_palavras, word_list)
def main(stdscr):
mnemo = Mnemonic("english")
word_list = mnemo.wordlist
num_palavras = 12 # Exemplo: escolha 12 palavras
gerar_frases_aleatorias_com_ambas(stdscr, num_palavras, word_list)
if __name__ == "__main__":
curses.wrapper(main)