[python-win32] eggs and pythonservices

2007-03-12 Thread jose
e same thing for the windows service does not have the same result. Any and all help is appreciated Jose #!C:\Python25\python.exe import os import sys try: here = __file__ except NameError: # Python 2.2 here = sys.argv[0] location = os.path.join(os.path.dirname(here),'

Re: [python-win32] eggs and pythonservices

2007-03-12 Thread jose
can sites be manipulated within a service? I tried to use site.addsitedir to add the correct eggs to my project but that failed Jose > Original Message > Subject: Re: [python-win32] eggs and pythonservices > From: "Norm Petterson" <[EMAIL PROTECTED]> &g

[python-win32] rdflib install fails

2008-11-25 Thread Jose Quesada
s version number is about. Can you help? I have pasted the full command used and error log. Thanks a lot, -Jose E:\install\rdflib-read-only>easy_install -U "rdflib>=2.4,<=3.0a" Traceback (most recent call last): File "E:\Python25\Scripts\easy_install-script.py"

[python-win32] nevermind, I found the solution:

2008-11-25 Thread Jose Quesada
distutils/version.py. At line 100, replace: version_re = re.compile(r'^(\d+) \. (\d+) (\. (\d+))? ([ab](\d+))?$', re.VERBOSE) with version_re = re.compile(r'^(\d+) \. (\d+) (\. (\d+))? (\. (\d+))?$', re.VERBOSE) Thanks! --

[python-win32] QueryInterface fails with object passed from VB

2008-04-25 Thread jose simas
ew.QueryInterface(ResInt.IViewDataView) at this point it throws the error (full error at the end): : Only strings and iids can be converted to a CLSID. Could anyone shed some light on what I missing here? I would also appreciate if someone could point me in the direction of a similar example or

Re: [python-win32] QueryInterface fails with object passed from VB

2008-04-27 Thread jose simas
one, None) I read that I can do the same thing with win32com (without using comtypes) but for that I would need to somehow add my custom interface to it. I also read that exist tools to automate this process but so far I could not find them. Where should I start? Cheers Jose On Sun, Apr 27, 2008

Re: [python-win32] QueryInterface fails with object passed from VB

2008-04-27 Thread jose simas
version(1.0), dual, nonextensible, oleautomation ] interface IViewDataView : IDispatch { [id(0)] HRESULT GetDataSet([out,retval] long*); ... Isn't that the same thing? Jose On Sun, Apr 27, 2008 at 11:53 AM, Mark Hammond <[EMAIL PROTECTED]> wrote: > > Hi Ma

Re: [python-win32] QueryInterface fails with object passed from VB

2008-04-28 Thread jose simas
a good vacation. Cheers Jose ___ python-win32 mailing list python-win32@python.org http://mail.python.org/mailman/listinfo/python-win32

Re: [python-win32] how to automate VB fron python

2008-07-24 Thread jose simas
Hi, Your best bet would be writing an Add-In for VB6's IDE. Check out: http://oreilly.com/catalog/devvbad/chapter/ch01.html For an intro to VB Add-ins and use SpamBayes as a model for your python code: http://spambayes.sourceforge.net/ Hope this helps

[python-win32] We cannot import win32api into the Poser6 Python.

2006-10-15 Thread Jose Javier Marin
Oct 15th 2006.   We are a Research Group in Ergonomics and we have developed an application about ergonomics with Poser4 and python and now we are trying to work with Poser6.   In POSER 4 we installed py152_python152.exe and win32all-143.exe So we can import the module win32api and writ

Re: [python-win32] Track-session-events

2016-06-08 Thread Rodriguez Orjuela, Jose Luis
Hello, I am writing a python script to track laptop usage. So far I am able to do simple stuffs username, machine, logon time, ip address, etc. Now I am trying to capture user logoff and sessions changes (screen lock). Related to user sessions I found a great blog ( http://timgolden.me.uk/pyth

Re: [python-win32] Track-session-events

2016-06-09 Thread Rodriguez Orjuela, Jose Luis
=luc@python.org] On Behalf Of Tim Roberts Sent: Thursday, June 09, 2016 12:26 PM To: Python-Win32 List Subject: Re: [python-win32] Track-session-events Rodriguez Orjuela, Jose Luis wrote: > > > I am writing a python script to track laptop usage. So far I am able > to do simple stu