Skip to content

Instantly share code, notes, and snippets.

View johntellsall's full-sized avatar

John Mitchell johntellsall

View GitHub Profile
import sys
from wsgiref.simple_server import make_server
from pyramid.config import Configurator
from pyramid.response import Response
CAT_DATABASE = [
'https://s7d1.scene7.com/is/image/PETCO'
'/cat-category-090617-369w-269h-hero-cutout-d'
]
PAGE_HTML = '''
<img src="{image_url}">