Re: [python-win32] interprocess communication python and visual basic can it be done?

2008-08-26 Thread Kevin Horn
Look into either: COM or Named Pipes You could also try having a socket in each process and communicate over a "network", but I don't know how difficult socket programming is in VB Kevin Horn On Tue, Aug 26, 2008 at 12:07 PM, Vernon Cole <[EMAIL PROTECTED]> wrote: >

Re: [python-win32] Adding an exe to startup...

2008-09-16 Thread Kevin Horn
s.htm 3) make it a service and set it to "Automatic" (probably more work than you want to do) 4) There are other more esoteric ways, but I think the above probably covers anything you are likely to want to do. Kevin Horn On Tue, Sep 16, 2008 at 9:51 AM, Tim Golden <[EMAIL PROTECTE

Re: [python-win32] Shell extension debugging

2009-06-29 Thread Kevin Horn
ople here, but I'm often surprised by ppl not knowing this trick. Kevin Horn On Mon, Jun 29, 2009 at 12:24 PM, Tim Roberts wrote: > Gertjan Klein wrote: > > I've checked with Process Explorer, but even if I use the Windows > > Explorer setting "Launch folder window

Re: [python-win32] problem in making exe of python

2009-07-06 Thread Kevin Horn
you might look at this thread... http://aspn.activestate.com/ASPN/Mail/Message/wxpython-users/3652025 On Mon, Jul 6, 2009 at 8:59 AM, Mike Driscoll wrote: > Marium, > > hi all, >> i m new to wx python.i found difficulty in making its exe.Although m using >> the code for exe as: >> # >> from dis

[python-win32] Fwd: Python parser for Windows Event Logs

2009-07-09 Thread Kevin Horn
-- Forwarded message -- From: Kevin Horn Date: Thu, Jul 9, 2009 at 11:26 AM Subject: Re: [python-win32] Python parser for Windows Event Logs To: Jaime Blasco Or just use pywin32... http://timgolden.me.uk/pywin32-docs/Windows_NT_Eventlog.html On Thu, Jul 9, 2009 at 11:09 AM

[python-win32] Fwd: Python parser for Windows Event Logs

2009-07-09 Thread Kevin Horn
-- Forwarded message -- From: Kevin Horn Date: Thu, Jul 9, 2009 at 11:26 AM Subject: Re: [python-win32] Python parser for Windows Event Logs To: Jaime Blasco Or just use pywin32... http://timgolden.me.uk/pywin32-docs/Windows_NT_Eventlog.html On Thu, Jul 9, 2009 at 11:09 AM

Re: [python-win32] Paste Values only in Excel Paste Special

2009-10-23 Thread Kevin Horn
quot;A2:A49")) > ws1.Columns("A:A").Insert(Shift = -4161, CopyOrigin= 0) > ws1.Range("B2").Copy() > ws1.Range("A2").PasteSpecial(Paste = constants.xlPasteValues, Operation = > constants.xlNone) > > Can you provide a traceback? What error are you seeing? Kevin Horn ___ python-win32 mailing list python-win32@python.org http://mail.python.org/mailman/listinfo/python-win32

Re: [python-win32] regarding asn in python

2009-10-26 Thread Kevin Horn
listinfo/python-win32 > > Well, there's this project: http://pyasn1.sourceforge.net/ which includes BER, CER, and DER codecs, but it doesn't look like it has an ASN compiler. Kevin Horn ___ python-win32 mailing list python-win32@python.org http://mail.python.org/mailman/listinfo/python-win32

Re: [python-win32] using WMI to get processor flags...

2009-10-28 Thread Kevin Horn
ware, no-one has. > > > Somewhat tangential to the conversation, but WBEM/CIM is available for Linux, Mac OS X, some Unices, and Netware: http://www.openwbem.org/ In case anyone is interested. Kevin Horn ___ python-win32 mailing list python-

Re: [python-win32] using WMI to get processor flags...

2009-10-28 Thread Kevin Horn
On Wed, Oct 28, 2009 at 11:18 AM, Tim Golden wrote: > Kevin Horn wrote: > >> On Sat, Oct 24, 2009 at 4:14 AM, Tim Golden wrote: >> >> >> The CIM_ classes represent the DMTF Common Information Model [1], >>> the structure on which WMI is based. In

Re: [python-win32] using WMI to get processor flags...

2009-10-28 Thread Kevin Horn
and wrap them up in ctypes calls. How to integrate this with your WMI code (is it querying remote machines?) is up to you. :) But feel free to ask if you need ideas. Kevin Horn ___ python-win32 mailing list python-win32@python.org http://mail.python.org/mailman/listinfo/python-win32

Re: [python-win32] Is it possible to (un)check items in "Local Area Connection Properties" ?

2009-10-28 Thread Kevin Horn
s, rather than the window, which has helped me in similar situations. Hope this helps, and let us know how it works out! Kevin Horn ___ python-win32 mailing list python-win32@python.org http://mail.python.org/mailman/listinfo/python-win32

Re: [python-win32] Is it possible to (un)check items in "Local Area Connection Properties" ?

2009-10-29 Thread Kevin Horn
On Thu, Oct 29, 2009 at 5:50 PM, Stef Mientki wrote: > thanks Kevin, > > Kevin Horn wrote: > >> On Wed, Oct 28, 2009 at 4:22 PM, Stef Mientki > stef.mien...@gmail.com>> wrote: >> >>hello, >> >>For connecting though CheckPoint VPN, >>

Re: [python-win32] What happened to python26.dll?

2009-12-08 Thread Kevin Horn
ndows 7 yet). I think it has to do with some change to the indexing...it seems to happen more often with new files, but I haven't dug deep enough to actually prove this. Kevin Horn ___ python-win32 mailing list python-win32@python.org http://mail.python.org/mailman/listinfo/python-win32

Re: [python-win32] What happened to python26.dll?

2009-12-08 Thread Kevin Horn
> since you can go out to a command line and do "dir > \windows\system32\python26.dll" and it won't be there. > > This is, in my opinion, one of the things that Microsoft really botched > in the 32-to-64 transition. > > -- > Tim Roberts, t...@probo.com > Providen

Re: [python-win32] syntax?

2010-01-18 Thread Kevin Horn
/float(ram)*100) > speaker.say(str(round(used,1))+"% ram used.") > #end def > > > Have a great day, > Alex > Email: mehg...@gmail.com > You appear to be missing a close paren on this line: speaker.say(str(load[0])+", "+str(load[1]) in the sayLoad() function Kevin Horn ___ python-win32 mailing list python-win32@python.org http://mail.python.org/mailman/listinfo/python-win32

Re: [python-win32] COM: Volume Shadow Service through Python?

2010-03-15 Thread Kevin Horn
obert > > Search the list archives..there was something on this a while ago, but I can't find it just now... Kevin Horn ___ python-win32 mailing list python-win32@python.org http://mail.python.org/mailman/listinfo/python-win32

Re: [python-win32] MSI installer or zip file for pywin32?

2010-04-08 Thread Kevin Horn
just that I haven't made the > transition from pythonservice.exe to a more stand-alone environment. > > Cheers, > > Mark > > This sounds intriguing...where can I find out more about this? I'm apparently unable to figure out the right Google keywords, and I don&#

Re: [python-win32] Accessing the Win32 GUI event system.

2010-04-13 Thread Kevin Horn
s various open windows, and the > > utility logs their hwnds and various data concerning the windows. > > Have you seen the "spyxx" tool that ships with Visual Studio? It does > exactly this. > There's a similar tool distribu

[python-win32] Importing tempfile (or random) results in disaster...

2012-05-31 Thread Kevin Horn
traceback from within the interactive interpreter. What's going on here? Is this a Win7 thing? I have 2.7.3 working on XP and Vista without a problem. Any pointers? Kevin Horn ___ python-win32 mailing list python-win32@python.org http://mail.python.org/mailman/listinfo/python-win32

[python-win32] Fwd: Importing tempfile (or random) results in disaster...

2012-05-31 Thread Kevin Horn
On Thu, May 31, 2012 at 11:09 AM, Tim Golden wrote: > On 31/05/2012 14:40, Kevin Horn wrote: > > I'm setting up a new machine (Win7) and one of the first things I > > thought I'd do is install Python, distribute, pip, virtualenv, etc. > > > > However, I can

Re: [python-win32] Using pip to install pywin32

2015-02-19 Thread Kevin Horn
___ > python-win32 mailing list > python-win32@python.org > https://mail.python.org/mailman/listinfo/python-win32 > -- -- Kevin Horn ___ python-win32 mailing list python-win32@python.org https://mail.python.org/mailman/listinfo/python-win32

Re: [python-win32] Using pip to install pywin32

2015-02-20 Thread Kevin Horn
y to get most functionality working is a tweak to the path files. Also according to the same bug, it looks as though those involved couldn't figure out where to send patches. Where should patches/contributions be sent in order to get the attention of those who can merge them? > > > &g

[python-win32] Fwd: Building win32 extensions to Python

2006-06-15 Thread Kevin Horn
Another option might be to wrap your C code using the ctypes module ( http://starship.python.net/crew/theller/ctypes/).  This might be especially attractive if this code is mostly for demo purposes (at least for demo purposes on win32).  Ctypes basically allows you to call C code from python, but r

Re: [python-win32] C# Vs Python

2007-04-04 Thread Kevin Horn
Michael Foord gave an excellent talk at PyCon about developing using IronPython and Windows Forms, which might be of interest. The presentation is here: http://www.voidspace.org.uk/ironpython/presentation.html Kevin Horn On 4/4/07, Trent Nelson <[EMAIL PROTECTED]> wrote: > Wher

Re: [python-win32] python and Windows Resource Files.

2007-12-17 Thread Kevin Horn
my opinion, and YMMV. Kevin Horn On Dec 17, 2007 2:08 PM, Johri, Mayank (GTI) <[EMAIL PROTECTED]> wrote: > Tim, > > Thanks for the information, I know the pain ;) it is causing me. > The reason why I went to use RC was that the over head on my final > package size was min

[python-win32] Fwd: Using Python and WMI for multiple machines

2008-02-20 Thread Kevin Horn
t > python-win32@python.org > http://mail.python.org/mailman/listinfo/python-win32 > Note that the above code will only work under Python 2.5, since that's when the "with" statement was added. (Some of us are still stuck in 2.4 land :) ) In 2.4 and earlie

Re: [python-win32] WABAccess help ...

2008-03-12 Thread Kevin Horn
using a list comprehension, then print the results. But that's just me...I like to get out of COM as soon as possible :) Kevin Horn ___ python-win32 mailing list python-win32@python.org http://mail.python.org/mailman/listinfo/python-win32

Re: [python-win32] Running SQL queries on excel sheets

2008-03-14 Thread Kevin Horn
an make this a lot easier than it would have been even a couple of years ago. I'm sure Django has similar ways of simplifying this, but I haven't used it much. In the meantime, to cheer yourself up, consider the following: It could be worse, they could be using MS Access! Kevin Hor

Re: [python-win32] Null Session ipc$

2008-03-21 Thread Kevin Horn
hat these are only default settings...Windows systems can be configured to allow or disallow null sessions using the registry. Kevin Horn ___ python-win32 mailing list python-win32@python.org http://mail.python.org/mailman/listinfo/python-win32

Re: [python-win32] Request for comments

2008-05-23 Thread Kevin Horn
s right on target (and I love your other Py-win HOWTO pages BTW) Points to bear in mind: > > * This is very alpha > * I'm using Sphinx but I've done very little with its capabilities Sphinx can auto-create "Prev" and "Next" links, which might be useful. Kevi

Re: [python-win32] Request for comments

2008-05-23 Thread Kevin Horn
On Fri, May 23, 2008 at 2:21 PM, Tim Golden <[EMAIL PROTECTED]> wrote: > Kevin Horn wrote: > > Sphinx can auto-create "Prev" and "Next" links, which might be useful. >> > > Unless I misunderstand you, I think it's doing that, both across >

Re: [python-win32] Querying the VNC Service fails sometimes

2008-06-23 Thread Kevin Horn
Also check the permissions on the problem users registry. I would expect that to cause a different error, but it might be worth checking. Kevin Horn On Mon, Jun 23, 2008 at 2:25 PM, Roger Upole <[EMAIL PROTECTED]> wrote: > > Mike Driscoll wrote: > >> Mike Driscoll wrote: