blob: 9a29353c711e81891289d1383742c7d2ccc99486 [file] [log] [blame]
Wenzel Jakob57082212015-09-04 23:42:12 +02001#!/usr/bin/env python
2from __future__ import print_function
Wenzel Jakob38bd7112015-07-05 20:05:44 +02003import sys
4sys.path.append('.')
5
6import example
7
8print(example.__name__)
9print(example.submodule.__name__)
10
11from example.submodule import *
12
13submodule_func()
14
15b = B()
16print(b.get_a1())
17print(b.a1)
18print(b.get_a2())
19print(b.a2)
20
21b.a1 = A(42)
22b.a2 = A(43)
23
24print(b.get_a1())
25print(b.a1)
26print(b.get_a2())
27print(b.a2)
28