simulation/bindings/python/ns3__init__.py (4 lines of code) (raw):

from _ns3 import * import atexit atexit.register(Simulator.Destroy) del atexit