Cool - that's what I love about the open source community. You can see
the code, fix the code, and share the fix.
Massa, Harald Armin wrote:
Grant,
for your problems with the assertion there is a patch...
-
Look for the win32com.client.gencache module - it exposes a number of
functions (EnsureDispatch, EnsureModule etc) designed simply to avoid
the requirement to explicitly run makepy before using an object.
Cheers,
Mark
On 27/08/2009 9:51 PM, Grant Paton-Simpson wrote:
Hi Harald,
I managed to
I'll try PING when I next get to the location.
Steven James wrote:
I think the bigger issue is being passed over...why write a program to do
what RDP should already be able to do? RDP should work by machine name. If
it does not, then DNS probably is not set up correctly.
I don't know why RDP
Grant Paton-Simpson wrote:
>
> I managed to make a file containing everything I needed. NB the command
> is makepy.py not makepy.
Let me give you a little hint. Go into your environment variables, edit
the PATHEXT variable, and add .py and .pyw to the extensions so it looks
something like this:
Dave Angel wrote:
> I'd like to be able to figure out the IP address for a Windows XP file
> server (on a local subnet, not across the Internet), based on a
> successfully connected share.
>
> So I know the UNC name of the share, for example
>\\server\sharename\...
>
> (which was enabled by a N
Grant:
( I read your new source code before commenting ... NICE PROJECT ! )
The constants you are using here are hard-coded into adodbapi, therefore
adodbapi.adTinyInt
has the same value as adTinyInt in your dbe_globals.py
and win32com.client.constants.adTinyInt
I assume that those values are
I think the bigger issue is being passed over...why write a program to do
what RDP should already be able to do? RDP should work by machine name. If
it does not, then DNS probably is not set up correctly.
Are you, by any chance, using OpenDNS as your DNS servers?
Does your router support DHCP ass
I would say try socket.gethostbyname;
http://docs.python.org/library/socket.html#socket.gethostbyname
On Thu, Aug 27, 2009 at 2:59 PM, Dahlstrom,
Roger wrote:
> Ping it and get the address.
>
> -Original Message-
> From: python-win32-bounces+rdahlstrom=directedge@python.org
> [mailto
Ping it and get the address.
-Original Message-
From: python-win32-bounces+rdahlstrom=directedge@python.org
[mailto:python-win32-bounces+rdahlstrom=directedge@python.org] On Behalf Of
Dave Angel
Sent: Thursday, August 27, 2009 4:52 AM
To: Python-Win32 List
Subject: [python-win32]
Grant,
for your problems with the assertion there is a patch...
-
---
in Version 213 of pywin32 within
win32com\client\genpy.py
on line 814, within def do_gen_file_header(self): there is the assertion:
I'd like to be able to figure out the IP address for a Windows XP file
server (on a local subnet, not across the Internet), based on a
successfully connected share.
So I know the UNC name of the share, for example
\\server\sharename\...
(which was enabled by a NET USE to some other share on
Grant,
that is possible. Just read the makepy.py script within win32com.client, and
you will find that someway down main() there is
-
GenerateFromTypeLibSpec(arg, f, verboseLevel = verboseLevel, bForDemand =
bForDemand, bBuildHidden = hiddenSpec)
-
which does this.
BUT, for "sta
Hi Harald,
I managed to make a file containing everything I needed. NB the command
is makepy.py not makepy. There was, however, an issue with genpy.py
asserting there had to be a self.file.encoding even though I couldn't
see where that was set. I temporarily commented that assert out. File
cr
Hi Tim,
Many thanks for your reply!
Best wishes,
Paul
-Original Message-
From: python-win32-bounces+paul.bilokon=citi@python.org
[mailto:python-win32-bounces+paul.bilokon=citi@python.org] On Behalf Of Tim
Roberts
Sent: 26 August 2009 23:06
To: Python-Win32 List
Subject: Re: [py
14 matches
Mail list logo