Skip to content

Instantly share code, notes, and snippets.

John Mitchell johntellsall

Block or report user

Report or block johntellsall

Hide content and notifications from this user.

Learn more about blocking users

Contact Support about this user’s behavior.

Learn more about reporting abuse

Report abuse
View GitHub Profile
View randocat.py
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}">
You can’t perform that action at this time.