Huang Guan wrote:
> I need your help on question 3 still:
>
> import pythoncom
> from win32com.server import util
> f=open('somepage.html','r')
> fs=util.FileStream(f)
> istream=util.wrap(fs, pythoncom.IID_IStream )
> p=ie.Document._oleobj_.QueryInterface (pythoncom.IID_IPersistStreamInit)
> p.Loa
Hi,
I am facing a problem with network paths which contain non-ascii
characters when trying to map them.
More precisely, the location contains Korean characters.
location = ur'\\baton1\TestStreams\shailesh\게댜ㅕㅔ걷;어니;ㅓ'
WNetAddConnection2 function expects string type as remoteName argument.
A simp
lucemia wrote:
> Hi:
>
> I have a problem about using win32com in python.
>
> I am using a software called CSTStudio to do my project.
> CSTStudiod could be used in VBA Script currectly to start or execute
> program via COM interface,
> but it crashed in python win32com.
>
>> h = win32com.cli
it works for me with this code
import win32security,pywintypes
try:
filo = win32security.GetFileSecurity(path,
win32security.OWNER_SECURITY_INFORMATION)
sid = filo.GetSecurityDescriptorOwner()
account, domain, typeco
Hi - is there a way that I can easily fix a problem: pythondll load library
will not load when i start up my computer. thanks
** See what's free at http://www.aol.com.
___
Python-win32 mailing list
Python-win32@p
Hi,
I have two python services running in a machine. Each service need
to has a perfmon. But when I start both service, only a lastest started
service has counter in perfmon???.
An additional *serious* thing is, When we have two services with
two owner, only one service can star
Hi,
I am trying to apply the Siemens S7ProSim Automation object using
Python. However, after running makepy my test script fails. I have done
some digging into DispatchWithEvents, makepy and MSDN. It turns out that
the event interface seems not to be included in the result file from
makepy, wh
On 12/06/2007, at 8:01 AM, Michael Foord wrote:
> I recently blogged about how listing all running processes is easy
> with
> IronPython [1].
>
> This contrasts with the pywin32 solution we were using which is a
> 'touch' more obscure (!) and has recently started failing on one
> machine. However
I'm a PyCrust newbie running PyCrust on WINDOWS XP
When I fire up PyCrust it works great if I enter and execute single Python
statements,
but the main menu FILE -> Open is grayed out.
I'd appreciate any help on how to read a Python source codefile (*.py file)
into PyCrust
Thanks
[EMAIL PROTEC
I've uninstalled and reinstalled Pythonwin and indeed after
installation the pyc is present and when Pythonwin runs the first time
it overrides it. I've saved the original intpyapp.pyc and when I use
it Pythonwin runs without a problem. I've compared the "working" pyc
with the "non-working" one and
> On 7/30/07, Mark Hammond <[EMAIL PROTECTED]> wrote:
> > There should be no need to create an IDL file - enough interfaces are
> > exposed so that we can create the typelib directly.
>
> Ah, after some looking around, I see that there is
> pythoncom.CreateTypeLib and CreateTypeLib2. Is this what
I've written a Python program that uses DDE. The program runs quite
nicely on my XP SP2 PC. I'm using Python 2.5.1.
But when a friend of mine tries to run it, he gets the subject error
on the server.Create line:
server = dde.CreateServer()
server.Create("CC_DDE")
My friend also has
> OLE Viewer finds a second interface IS7ProSimEvents that is
> made the default source makepy does not recognise
> IS7ProSimEvents as an interface at all.
That seems strange - for events, even non-dual interfaces should be
supported.
> gencache.GetClassForCLSID(clsid) returns the class with
>> OLE Viewer finds a second interface IS7ProSimEvents that is
>> made the default source makepy does not recognise
>> IS7ProSimEvents as an interface at all.
>
>
> It would appear that makepy is excluding non-dual interfaces, and that the
> integration with the 'universal' support for vtable i
Since the number of comtypes users seems to be growing slowly,
I have created a comtypes mailing list.
The mailing list interface is here:
http://lists.sourceforge.net/lists/listinfo/comtypes-users
comtypes "homepage":
http://cheeseshop.python.org/pypi/comtypes
Thomas
Hi,
I have two python services running on single machine. Each
service has performance object. The problem is, when I apply user to own
service and try to start a service.
A service that start first can be started successfully but for a subsequence
service, it cannot start because a perf
16 matches
Mail list logo