-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathpresenta.py
More file actions
54 lines (45 loc) · 1.42 KB
/
Copy pathpresenta.py
File metadata and controls
54 lines (45 loc) · 1.42 KB
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
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
import time
from datetime import date
from funciones import limpiar_pantalla, obtener_tamano_terminal, centrar_texto
ancho, alto = obtener_tamano_terminal()
anio_actual = date.today().year
def presentacion():
print("\n")
limpiar_pantalla()
separador = "█"
texto = f"SCPC Labs: Desarrollos Informáticos - (c) {anio_actual}"
texto = centrar_texto(texto, ancho)
print("\n")
for letra in texto:
print(letra, end="", flush=True)
time.sleep(0.025)
print()
print("\n")
print(separador*ancho)
texto = f"Control de Stock v2.0 - Desarrollada por Raul Peralta"
texto = centrar_texto(texto, ancho)
print("\n")
for letra in texto:
print(letra, end="", flush=True)
time.sleep(0.025)
print("\n\n")
texto=f"Se permite su uso bajo licencia MIT"
texto2=f"para fines educativos y de investigación"
texto = centrar_texto(texto, ancho)
texto2 = centrar_texto(texto2, ancho)
for letra in texto:
print(letra, end="", flush=True)
time.sleep(0.025)
print()
for letra in texto2:
print(letra, end="", flush=True)
time.sleep(0.025)
print()
print("\n")
print(separador*ancho)
print("\n\n")
texto=f"Todos los derechos reservados - Raul Peralta - (c) {anio_actual}"
texto = centrar_texto(texto, ancho)
for letra in texto:
print(letra, end="", flush=True)
time.sleep(0.025)