[BangPypers] Execute Windows "shutdown" command through python !

Yuvi Panda yuvipanda at gmail.com
Tue Jan 5 20:50:31 CET 2010


@abilash: Did you look at the links Naufal sent across? They seem (to me)
more portable than requiring 64-bit python on all 64-bit environments.

On Mon, Jan 4, 2010 at 9:58 PM, aßlเίlαslเ <abhilash.pin2 at gmail.com> wrote:

> Hi Pradeep, Yuvi, Noufal,
>     The issue got solved, by installing 64 bit python . Thanks guys for all
> your support.
>
>
>
> On Wed, Dec 30, 2009 at 12:12 AM, Noufal Ibrahim <noufal at gmail.com> wrote:
>
> > Wouldn't it make more sense for you to use the exposed windows API using
> > the
> > Python win32 module rather than calling an external program via os.popen?
> I
> > googled a little and found
> > http://msdn.microsoft.com/en-us/library/aa376868(VS.85).aspx<http://msdn.microsoft.com/en-us/library/aa376868%28VS.85%29.aspx>
> <http://msdn.microsoft.com/en-us/library/aa376868%28VS.85%29.aspx>which
> should be
> > callable. I also found
> >
> >
> http://mail.python.org/pipermail/python-win32/2008-December/008474.htmlwhich
> > mentions that setting the appropriate privileges is a pain and
> > recommends using another module which is linked to.
> >
> >
> >
> > --
> > ~noufal
> > http://nibrahim.net.in
> > _______________________________________________
> > BangPypers mailing list
> > BangPypers at python.org
> > http://mail.python.org/mailman/listinfo/bangpypers
> >
>
>
>
> --
> aßlเίlαslเ
> _______________________________________________
> BangPypers mailing list
> BangPypers at python.org
> http://mail.python.org/mailman/listinfo/bangpypers
>



-- 
Yuvi Panda T
http://yuvi.in/blog


More information about the BangPypers mailing list