示例#1
0
# -*- coding:utf-8 -*-
'''
Author: Bu Kun
E-mail: bukun#osgeo.cn
CopyRight: http://www.yunsuan.org
Bu Kun's Homepage: http://bukun.net
'''

from torlite.model.core_tab import CabReply
from torlite.model.core_tab import CabPost2Reply
from torlite.model.core_tab import CabPost

try:
    CabReply.create_table()
except:
    pass

try:
    CabPost2Reply.create_table()
except:
    pass

uu = CabPost()

members = [attr for attr in dir(CabPost())
           if not callable(getattr(CabPost(), attr))
           and not attr.startswith("_")]

print(members)

print('=' * 20)
示例#2
0
 def __init__(self):
     try:
         CabReply.create_table()
     except:
         pass
示例#3
0
 def __init__(self):
     try:
         CabReply.create_table()
     except:
         pass
示例#4
0
# -*- coding:utf-8 -*-
"""
Author: Bu Kun
E-mail: bukun#osgeo.cn
CopyRight: http://www.yunsuan.org
Bu Kun's Homepage: http://bukun.net
"""

from torlite.model.core_tab import CabReply
from torlite.model.core_tab import CabPost2Reply
from torlite.model.core_tab import CabPost

try:
    CabReply.create_table()
except:
    pass

try:
    CabPost2Reply.create_table()
except:
    pass

uu = CabPost()

members = [attr for attr in dir(CabPost()) if not callable(getattr(CabPost(), attr)) and not attr.startswith("_")]

print(members)

print("=" * 20)
for kew in vars(CabPost):
    print(kew)