Skip to content

Instantly share code, notes, and snippets.

View elbaulp's full-sized avatar
🏡
Functional Programming / Machine Learning / DataScience

Alejandro Alcalde elbaulp

🏡
Functional Programming / Machine Learning / DataScience
View GitHub Profile
@elbaulp
elbaulp / addImageSizeToIMGTag.py
Last active June 29, 2020 21:33
Cómo Añadir Automáticamente El Tamaño De Una Imagen en HTML Con Python
#!/bin/python
from BeautifulSoup import BeautifulSoup
from os.path import basename, splitext
from PIL import Image
import glob
import io
path = "/ruta/ficheros/*.markdown"