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(a)blackhats.net.au>