Skip to content

Instantly share code, notes, and snippets.

View ALEX7320's full-sized avatar
🎧

Alex Chuquillanqui ALEX7320

🎧
View GitHub Profile
@ALEX7320
ALEX7320 / contenido.json
Last active November 23, 2023 05:15
PortfolioData
[
{
"titulo":"Efecto opacidad (ventana emergente) PyQt",
"imagen":"https://1.bp.blogspot.com/-m0LqzuyyUAg/X_cmPnuuAXI/AAAAAAAAACI/a4MH2S-SSOknali9OkP8JMua0WUOkDgZgCLcBGAsYHQ/s1600/ventanaopacidad.jpg",
"descripcion":"",
"link": "https://github.com/ALEX7320/ventanaemergentepyqt",
"tag": [
{"id":2},
{"id":3}
@ALEX7320
ALEX7320 / CodigoDocumentacion.py
Last active November 11, 2023 21:32
Invertir cualquier número (entero,negativo,decimal) [Python 3]
#Iniciamos en un while para que puedas
#ejecutarlo sin limites (opcional)
while True:
'''
el "switch" nos ayudara a identifica
si el numero es negativo
negativo = True
no negativo = False
@ALEX7320
ALEX7320 / parte1.py
Created November 11, 2023 02:54
Convertir texto a voz con win32com.client [Python 3]
# 1. LEER TEXTO / CONFIGURACIONES
# pip install pypiwin32
import win32com.client
speaker=win32com.client.Dispatch("SAPI.SpVoice")
speaker.Rate = -1# rango -10(lento) - 10(rapido)
speaker.Volume = 100# rango 0(vajo) - 100(alto)
speaker.Speak("TEXTO DE PRUEBA")