Exemplo n.º 1
0
def test_class():
    global c
    print c.m
    c = d_TEMPLATE(2,3,4)
    print c.m
Exemplo n.º 2
0
def test_class():
    global c
    print c.m
    c = d_TEMPLATE(2, 3, 4)
    print c.m
Exemplo n.º 3
0
from d_class import d_TEMPLATE

a = 4
b = int()
c = d_TEMPLATE()

def test_class():
    global c
    print c.m
    c = d_TEMPLATE(2,3,4)
    print c.m

def test_a():
    global a, b
    #global a, b
    print a, b
    a += 4
    b = 4

def test_session():
    a = 4
    b = 4
    print a, b

#test_class()
#print c.m
#test_a()
print a, b
test_session()
print a, b
Exemplo n.º 4
0
from d_class import d_TEMPLATE

a = 4
b = int()
c = d_TEMPLATE()


def test_class():
    global c
    print c.m
    c = d_TEMPLATE(2, 3, 4)
    print c.m


def test_a():
    global a, b
    #global a, b
    print a, b
    a += 4
    b = 4


def test_session():
    a = 4
    b = 4
    print a, b


#test_class()
#print c.m
#test_a()