()
shutil.move
(output.txt,filename)
xml = etree.parse(filename)
xml = ET.parse(filename)
it's dirty but works
On 27 oct, 09:36, Stefan Behnel stefan...@behnel.de wrote:
Toff, 27.10.2009 09:15:
On 27 oct, 09:03, Christian Heimes li
hello
I'm trying to convert 2 c++ functions in python
they come from wpkg client
https://wpkg.svn.sourceforge.net/svnroot/wpkg/wpkg-client/Sources/Components/XmlSettings.cpp
they are
CString CXmlSettings::Crypt(CString str)
CString CXmlSettings::Decrypt(CString str)
CAn someone help me?
i
hello
I don't understand why this doesn't woks.
def setwins(self):
from win32com.client import GetObject
objWMIService = GetObject(winmgmts:
{impersonationLevel=impersonate}!.\\root\\cimv2)
colNicConfigs = objWMIService.ExecQuery (SELECT * FROM
On 22 déc, 19:37, Toff christophed...@gmail.com wrote:
On 22 déc, 18:59, Jens Henrik Leonhard Jensen
j...@statsbiblioteket.dk wrote:
Toff wrote:
d = c.Win32_ComputerSystem
d.JoinDomainOrWorkGroup(None, 3, mydom, mydompw, radmin\\mydom)
Shouldn't radmin\\mydom be admin\\mydom
Or maybe could I try with
LoadLibrary(netapi32.dll);
and the netjoindomain function ?
but it doesn't look very easy
--
http://mail.python.org/mailman/listinfo/python-list
hi,
I 'm trying to write a script to make my computer join a samba.
domeone have any idea ??
thanks regards,
*
# -*- coding: iso-8859-1 *-*
import win32com.client
import os,sys
import win32api
import impers
import socket
On 22 déc, 17:02, Tim Golden m...@timgolden.me.uk wrote:
Toff wrote:
hi,
I 'm trying to write a script to make my computer join a samba.
domeone have any idea ??
Ummm. It's not clear if you're saying that your code doesn't
work, or asking for general advice, or what? I'm
On 22 déc, 17:57, Tim Golden m...@timgolden.me.uk wrote:
Toff wrote:
On 22 déc, 17:02, Tim Golden m...@timgolden.me.uk wrote:
Toff wrote:
hi,
I 'm trying to write a script to make my computer join a samba.
domeone have any idea ??
Ummm. It's not clear if you're saying that your code
On 22 déc, 18:59, Jens Henrik Leonhard Jensen
j...@statsbiblioteket.dk wrote:
Toff wrote:
d = c.Win32_ComputerSystem
d.JoinDomainOrWorkGroup(None, 3, mydom, mydompw, radmin\\mydom)
Shouldn't radmin\\mydom be admin\\mydom or radmin\mydom.
Or maybe just admin
/Jens Henrik
you