Hi all,
I am writing a Python script to call across to Adobe Photoshop, to automate
some image manipulation. (For historical reasons I'm writing using Python
rather than javascript or VB)
My problem is that my script works fine using Python 2.6, but fails after
upgrading to Python 3.0 or 3.1.
Hi Tim,
Inline-
On Tue, Dec 22, 2009 at 2:42 PM, Tim Roberts wrote:
> Gowtham wrote:
> > I am trying to unjoin a machine from the domain and attempted with the
> > following code
> >
> >
> > import wmi
> > wm = wmi.WMI()
> > wm.Win32_ComputerSystem.UnjoinDomainOrWorkgroup(2, 'ADMINPASSWORD',
>
Gowtham wrote:
> I am trying to unjoin a machine from the domain and attempted with the
> following code
>
>
> import wmi
> wm = wmi.WMI()
> wm.Win32_ComputerSystem.UnjoinDomainOrWorkgroup(2, 'ADMINPASSWORD',
> 'DOMAIN\ADMINUSER')
>
> Traceback (most recent call last):
> File "", line 1, in ?
>
I am trying to unjoin a machine from the domain and attempted with the
following code
import wmi
wm = wmi.WMI()
wm.Win32_ComputerSystem.UnjoinDomainOrWorkgroup(2, 'ADMINPASSWORD',
'DOMAIN\ADMINUSER')
Traceback (most recent call last):
File "", line 1, in ?
File "C:\Python24\Lib\site-packages
I will look if Lenovo Thinkpad provides any control to modify the BIOS
parameters.
Thank you all for your inputs :)
On Tue, Dec 22, 2009 at 3:37 AM, Tim Golden wrote:
> Vernon Cole wrote:
>
>> Gowtham:
>> I waited before giving this answer, to let the real Windows Gurus answer
>> first. Tims
I should add (as I have noticed this is misleading below) - that I have also
tried Python 3.1.1 and pywin32-214.win32-py3.1.exe with exactly the same
results. The trace of the exception below is from this attempt (hence it
saying that dynamic.py is in Python31)
Vernon Cole wrote:
Gowtham:
I waited before giving this answer, to let the real Windows Gurus answer
first. Tims pronouncement is as good is it gets, so here is my hair-brained
idea. Perhaps it would actually work.
As much as I hate to admit this on a Windows mailing list ...
When I have mu