-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathmain.py
More file actions
30 lines (20 loc) · 815 Bytes
/
main.py
File metadata and controls
30 lines (20 loc) · 815 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
#Importación de librerías
import os
from src.args import parseator
from src.Hangman.HangMain import *
from src.Minesweeper.MineMain import *
from src.Scheduler.SchedMain import *
#Inicio de programa
if __name__ == "__main__":
args = parseator()
print("Bienvenid@ a esta recopilación de utilidades escritas en Python")
print("Ejecuta el programa con el argumento '--h' para más información")
if args.hangman:
print("\n-------------------\nEjecutando Hangman\n-------------------\n")
Hangman()
if args.minesweeper:
print("\n-------------------\nEjecutando Minesweeper\n-------------------\n")
Minesweeper()
if args.scheduler:
print("\n-------------------\nEjecutando Scheduler\n-------------------\n")
Scheduler()