import import_target
print import_target.x

import import_target
import_target.foo()

c = import_target.C()

print import_target.import_nested_target.y
import_target.import_nested_target.bar()
d = import_target.import_nested_target.D()

print "testing importfrom:"
from import_target import x as z
print z

import_nested_target = 15
from import_nested_target import y
print "This should still be 15:",import_nested_target
import import_nested_target
print import_nested_target.__name__

print import_nested_target.y
import_target.import_nested_target.y = import_nested_target.y + 1
print import_nested_target.y

print z
print y
print __name__

print __import__("import_target") is import_target

import sys
import _multiprocessing
del _multiprocessing
del sys.modules["_multiprocessing"]
import _multiprocessing

import time
del time
del sys.modules["time"]
import time
print time.sleep(0)

[]