def add_pseudo_pupy_module():
 if (not ('pupy' in sys.modules)):
  mod = imp.new_module('pupy')
  mod.__name__ = 'pupy'
  mod.__file__ = '<memimport>\\\\pupy'
  mod.__package__ = 'pupy'
  sys.modules['pupy'] = mod
  mod.pseudo = True

def add_pseudo_pupy_module ( ) : if ( not ( 'pupy' in sys . modules ) ) : mod = imp . new_module ( 'pupy' ) mod . __name__ = 'pupy' mod . __file__ = '<memimport>\\\\pupy' mod . __package__ = 'pupy' sys . modules [ 'pupy' ] = mod mod . pseudo = True
add a pseudo pupy module for *nix payloads .