Logo Search packages:      
Sourcecode: debian-reference version File versions  Download package

test.py

#!/usr/bin/env python
# vim: set sts=4 expandtab:
"""
test.py - test python code

Copyright (C) 2009 Osamu Aoki, GPL
"""

import sys, os, re

VERSION = '1.0.1'

if __name__ == '__main__':

    table_id  = '1'
    tgroup_cols = 0

if int(table_id) == 0:
    print "numeric 0"

if int(table_id) == 1:
    print "numeric 1"

if table_id == '0':
    print "string 0"

if table_id == '1':
    print "string 1"

Generated by  Doxygen 1.6.0   Back to index