Diferencia entre revisiones de «Phyton»
Línea 19: | Línea 19: | ||
---- | ---- | ||
=== RUTA Phyton === | === RUTA Phyton === | ||
<pre> | {{a2|where python}}<br> | ||
<small> <pre> | |||
C:\Users\Lumen>where python | C:\Users\Lumen>where python | ||
C:\Program Files\Python313\python.exe | C:\Program Files\Python313\python.exe | ||
Línea 26: | Línea 27: | ||
</pre> | </pre> | ||
----- | ----- | ||
{{a2|python -m site}}<br> | |||
<pre> | |||
C:\Users\Lumen>python -m site | |||
sys.path = [ | |||
'C:\\Users\\Lumen', | |||
'C:\\Program Files\\Python313\\python313.zip', | |||
'C:\\Program Files\\Python313\\DLLs', | |||
'C:\\Program Files\\Python313\\Lib', | |||
'C:\\Program Files\\Python313', | |||
'C:\\Users\\Lumen\\AppData\\Roaming\\Python\\Python313\\site-packages', | |||
'C:\\Program Files\\Python313\\Lib\\site-packages', | |||
] | |||
USER_BASE: 'C:\\Users\\Lumen\\AppData\\Roaming\\Python' (exists) | |||
USER_SITE: 'C:\\Users\\Lumen\\AppData\\Roaming\\Python\\Python313\\site-packages' (exists) | |||
ENABLE_USER_SITE: True | |||
C:\Users\Lumen> | |||
<pre> </small> | |||
== RUTAS == | == RUTAS == |
Revisión del 20:07 6 oct 2025
https://docs.python.org/3.13/tutorial/index.html
https://docs.python.org/3.13/using/windows.html
INSTALLs
pip install -U openai-whisper pip install ffmpeg-python whisper "Memoria.mp3" --language Spanish --model base
💬 B) Transcribir tu audio Una vez instalado, coloca tu archivo (por ejemplo, Memoria.mp3) en la misma carpeta y ejecuta:
whisper "Memoria.mp3" --language Spanish --model base
Esto generará automáticamente varios archivos, entre ellos:
Memoria.txt → ✅ el texto completo
Memoria.srt → subtítulos por tiempo (útil si quieres dividirlo en capítulos)
🔹 Si el audiolibro es muy largo, usa --model medium para mejor precisión (aunque tarda más).
RUTA Phyton
where python
C:\Users\Lumen>where python C:\Program Files\Python313\python.exe C:\Users\Lumen\AppData\Local\Microsoft\WindowsApps\python.exe C:\Users\Lumen>
python -m site
C:\Users\Lumen>python -m site sys.path = [ 'C:\\Users\\Lumen', 'C:\\Program Files\\Python313\\python313.zip', 'C:\\Program Files\\Python313\\DLLs', 'C:\\Program Files\\Python313\\Lib', 'C:\\Program Files\\Python313', 'C:\\Users\\Lumen\\AppData\\Roaming\\Python\\Python313\\site-packages', 'C:\\Program Files\\Python313\\Lib\\site-packages', ] USER_BASE: 'C:\\Users\\Lumen\\AppData\\Roaming\\Python' (exists) USER_SITE: 'C:\\Users\\Lumen\\AppData\\Roaming\\Python\\Python313\\site-packages' (exists) ENABLE_USER_SITE: True C:\Users\Lumen> <pre> </small> == RUTAS == <pre> C:\Users\Lumen
Bajar Audio YOUTUBE
🎧 OPCIONAL — Si aún no tienes el audio localmente
Puedes usar herramientas legales de descarga de audio desde YouTube, como:
https://yt1s.ltd/es/youtube-to-mp3/
o, si prefieres hacerlo desde consola, puedo darte el comando con yt-dlp.
Solo copia el enlace de YouTube del audiolibro.