()
Output a list of pubsub modules imported so far
Output a list of pubsub modules imported so far
Output a list of pubsub modules imported so far
def printImported():
    """Output a list of pubsub modules imported so far"""
    ll = [mod for mod in sys.modules.keys() if mod.find('pubsub') >= 0]  # iter keys ok
    ll.sort()
    print('\n'.join(ll))
def printImported ( ) : ll = [ mod for mod in sys . modules . keys ( ) if mod . find ( 'pubsub' ) >= 0 ] # iter keys ok ll . sort ( ) print ( '\n' . join ( ll ) )