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

aßlเίlαslเ abhilash.pin2 at gmail.com
Mon Jan 4 17:28:08 CET 2010


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>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เ


More information about the BangPypers mailing list