
Ignore-this: f8064e9bceb8818911dcdaf73cb9f0ec darcs-hash:20090518184018-bd074-ae9530b4d2aba374d34d5a9e26e422c649d9e8db.gz
12 lines
349 B
Python
12 lines
349 B
Python
#! /usr/bin/env python
|
|
# -*- coding: utf-8 -*-
|
|
|
|
import os, sys
|
|
sys.path.append('/usr/scripts/impression')
|
|
sys.path.append('/usr/scripts/gestion')
|
|
from digicode import gen_code
|
|
from user_tests import getuser
|
|
|
|
if __name__ == '__main__':
|
|
# génère un nouveau code et l'affiche
|
|
print new_code('%s via %s'%(getuser(),os.path.abspath(__file__)))
|