[Ilugc] Exectutes a system commands from web interface using python

satyaakam goswami satyaakam at gmail.com
Tue Aug 23 11:49:21 IST 2011


On Tue, Aug 23, 2011 at 11:29 AM, kasiviswanathan nathan <nathank7 at gmail.com
> wrote:

> Dear All,
>
>               How to design a GUI to execute a system commands(iptables)
> from web page using python. please any one help me.
>

>>>import os
>>>os.system("/sbin/iptables -h ");


-Satya
fossevents.in


More information about the ilugc mailing list