Re: NM utils in Python?



You can use any C function in python natively with CDLL module. No need for 
rewriting anything.  Hope it helps.
On Wednesday 22 June 2011 09:28:23 Vratislav Podzimek wrote:
> Hi everyone,
> is there any way how to use NM utils in Python? This time I need
> something like 'nm_utils_ip4_netmask_to_prefix()', but there is are many
> other very useful functions in libnm-util-nm-utils.
> If there's no way how to use them in Python it might be great to change
> it. Have a nm-utils Python module written in C? I could do something for
> it but I have no experience with writing Python modules in C so it would
> take quite a long time.
> 
> Thanks a lot in advance for any advice.
> Vratislav Podzimek
> 
> _______________________________________________
> networkmanager-list mailing list
> networkmanager-list gnome org
> http://mail.gnome.org/mailman/listinfo/networkmanager-list
-- 
Alex Pyattaev,
Researcher,
Tampere University of Technology,
Finland


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]