404.www
clone your own copy | download snapshot

Snapshots | iceberg

No images in this repository’s iceberg at this time

Inside this repository

rand_arrow.py
text/x-python

Download raw (234 bytes)

"""
Produce a random arrow unicode character
"""

from django import template
register = template.Library()

import random

@register.filter(name='arrow')
def rand_arrow(value):
    r = random.randrange(8592,8652)
    return unichr(r)