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

kasiviswanathan nathan nathank7 at gmail.com
Tue Aug 23 12:22:29 IST 2011


Dear satya,

I have designed the following, from that i want to execute a command. From
the following screen i fetch the options for iptables.

iptables Traffic Selection Incoming Outgoing Destination IP Protocal TCP UDP
ICMP Port No. 80 443 25 110 143 53 2222

Regards,

C.Kasiviswanathan

On Tue, Aug 23, 2011 at 11:49 AM, satyaakam goswami <satyaakam at gmail.com>wrote:

> 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
> _______________________________________________
> ILUGC Mailing List:
> http://www.ae.iitm.ac.in/mailman/listinfo/ilugc
>



--


More information about the ilugc mailing list