Skip to content

Pablo-app-developer/ThinkPython

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

156 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Think Python, 3.ª edición

Materiales, notebooks de Jupyter y versión web en español de la 3.ª edición de Think Python: How to Think Like a Computer Scientist, de Allen B. Downey.

Traducción al español por midudev (Miguel Ángel Durán).

Enlaces

Requisitos

  • Python 3
  • pip
  • Jupyter Notebook o JupyterLab, si quieres abrir los notebooks localmente
  • Jupyter Book y Playwright, si quieres construir la versión web y el PDF

Instalación

Desde la raíz del repositorio, instala las herramientas necesarias:

python3 -m pip install jupyter notebook jupyterlab jupyter-book playwright
python3 -m playwright install chromium

Si ya tienes Jupyter instalado, puedes instalar solo lo necesario para construir el libro:

python3 -m pip install jupyter-book playwright
python3 -m playwright install chromium

Construir el libro

  1. Entra en la carpeta de Jupyter Book:

    cd jb
  2. Ejecuta el script de construcción:

    ./build.sh
  3. Revisa los archivos generados:

    • HTML: jb/_build/html/index.html
    • PDF: jb/_build/html/think-python-es.pdf
    • Archivos estáticos para producción: jb/_build/html/

Abrir los notebooks

Desde la raíz del repositorio, puedes abrir los notebooks con Jupyter Notebook:

jupyter notebook

También puedes usar JupyterLab:

jupyter lab

Después, abre desde el navegador el capítulo o notebook que quieras consultar.

Estructura del proyecto

  • chapters/: notebooks originales por capítulo.
  • jb/: configuración y fuentes de Jupyter Book.
  • jb/build.sh: script para generar la versión web y el PDF.
  • jb/_build/html/: salida generada para publicar el libro.

Licencia

Se conserva la atribución original a Allen B. Downey. La traducción al español fue realizada por midudev (Miguel Ángel Durán).

Esta obra está bajo una Licencia Creative Commons Atribución-NoComercial-CompartirIgual 4.0 Internacional.

About

Jupyter notebooks and other resources for Think Python by Allen Downey, published by O'Reilly Media.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors

Languages

  • Jupyter Notebook 97.5%
  • Python 2.3%
  • Shell 0.2%