> For the general info you can use help(): > > # python3 > > > > > > > > > > > > > import selinux > > > > help(selinux) > > > > import semanage > > > > help(semanage) > e.g. > > > > > > > > > > > > > selinux.is_selinux_enabled() > 1 > > > > > > > > > > > > > selinux.selinux_getpolicytype() > [0, 'targeted'] > Perfect! This is exactly what I needed. Thanks for your advice, -- William <william@xxxxxxxxxxxxxxxx> -- selinux mailing list selinux@xxxxxxxxxxxxxxxxxxxxxxx http://lists.fedoraproject.org/admin/lists/selinux@xxxxxxxxxxxxxxxxxxxxxxx