Zionetrix::Git
Repositories
Help
Report an Issue
MyCoServer
Code
Commits
Branches
Tags
Search
Tree:
7004713
Branches
Tags
master
MyCoServer
mycoserver
templates
helpers.py
Initial commit
Benjamin Renard
commited
7004713
at 2014-01-12 00:33:07
helpers.py
Blame
History
Raw
# -*- coding: utf-8 -*- import os import random import datetime def random_sequence(length): return [random.random() for idx in xrange(0, length)] def relative_path(ctx, abs_path): return os.path.relpath(abs_path, ctx.req.path)