pythoncom and python_d

2000-11-29 Thread Yosef Gold
I loaded Python and downloaded the debug libraries. I made sure they are all in place (i.e. pythoncom20_d.dll) is in my NT system32 directory next to the non _d version and the other dll's are also in the directories next to their non _d counterparts. When I do "import pythoncom" from within pyt

RE: pythoncom and python_d

2000-11-29 Thread Mark Hammond
> When I do "import pythoncom" from within python_d, it tells me > "ImportError: > No module named pythoncom". > > How can I get this to work? You must open the registry where you existing "PythonPath" and "Modules" keys exist. You will notice Modules entries for "pythoncom" and "pywintypes" poi

Re: pythoncom and python_d

2000-11-29 Thread Reinhard Hochstein
Please remove me from the mailing-list. Mark Hammond schrieb: > > When I do "import pythoncom" from within python_d, it tells me > > "ImportError: > > No module named pythoncom". > > > > How can I get this to work? > > You must open the registry where you existing "PythonPath" and "Modules" >

RE: ActivePython and WSH.

2000-11-29 Thread Mark Hammond
> After posting this to the Python newsgroup, one response said you > (ActiveState) may have a global variable in you distribution that > could make > this work. Is this true? If so, how does it work and would you point me > to the docs. If not, is this a feature your could/would add? I belie

RE: pythoncom and python_d

2000-11-29 Thread Mark Hammond
> Please remove me from the mailing-list. No problem. We will process these manual requests as soon as we can - however it almost certainly won't be until the next business day in Vancouver. Note that you can unsubscribe yourself by visiting the URL at the bottom of every message: > http://list

RE: executing other application command

2000-11-29 Thread Mark Hammond
> How do I execute another applications command using Active Python - for > example - the equivalent in Perlscript is > >$Application - > I am afraid I don't know Perl that well! However, you should look up the documentation on the os.popen() and os.system() functions - they are probably wh

RE: ActivePython Win32 Installer Subset

2000-11-29 Thread Echeverria Rabi, Cristian Rodrigo, TRANSELEC S.A.
You can´t distribute ActivePython Installer without an agree with ActiveState, so I don´t think they want to create an alternative installer for distribution, because this is their bussiness. > -Mensaje original- > De: Tuttled [SMTP:[EMAIL PROTECTED]] > Enviado el: Martes, 28 de Novie

Re: ActivePython Win32 Installer Subset

2000-11-29 Thread steve
Outside of any wierd keys that may be loaded into the registry(some dumb companies do this to FORCE a monopoly), you can try just about any installer. The trick is getting ALL of the right dlls. Even activestate could have problems with this. Sadly, python isn't popular enough to likely have its

RE: ActivePython Win32 Installer Subset

2000-11-29 Thread Echeverria Rabi, Cristian Rodrigo, TRANSELEC S.A.
Of course I was just talking about ActivePython. In general is really easy to make a small python distribution using the standard python. I do this all the time using Inno Setup, wich it is free. http://www.jrsoftware.org/ On the other hand, I don´t like Microsoft Installer (maybe in the near fu

Use of win32service.win32service.EnumServicesStatus()

2000-11-29 Thread Rice, Bill (DeepGreen Bank)
I am attempting to use the win32service.EnumServicesStatus() function in an win32 audit module I am working on and am having some trouble creating the proper structure. When I test the function with something like the following: import win32service import win32con accessSCM = win32con.GENERIC_R

RE: ActivePython Win32 Installer Subset

2000-11-29 Thread Tuttled
Actually you can redistribute in your own organization. And I think you'd agree that you probably don't want every user being able to go to "Start->Programs" and finding a new toy to play with! ;-) From http://www.activestate.com/Legal/Active_Python_License_Agreement_Text.txt: "2. You may make

RE: ActivePython and WSH.

2000-11-29 Thread Tuttled
Thanks Mark! I've posted your solution over at microsoft.public.scripting.wsh. It was Steve Fulton over there that suggested ActiveState. I'm hoping that dong a little Python/WSH posting over there will peek someone's curiosity about Python! Don -Original Message- From: Mark Hammond [m

RE: ActivePython Win32 Installer Subset

2000-11-29 Thread Matthew Keranen
A single alternate ActiveState install package would be handy. This way, there would be the current one for development, and a "run-time" package, for distribution only. This run-time could be identical to the current package, minus the PythonWin IDE, and the Python Docs. Of course, I could creat

Re: executing other application command

2000-11-29 Thread Paul Prescod
Biju Ramachandran wrote: > > Hi there: > > How do I execute another applications command using Active Python - for > example - the equivalent in Perlscript is > >$Application - > Could you give an actual example? Are you perhaps invoking a COM method on an object? Paul _

Re: executing other application command

2000-11-29 Thread timo
On 29 Nov 2000, at 10:30, Paul Prescod wrote: > Biju Ramachandran wrote: > > How do I execute another applications command using Active Python - for > > example - the equivalent in Perlscript is > >$Application - > > > Could you give an actual example? Are you perhaps invoking a COM method >

Mailing List Removal

2000-11-29 Thread Ferents Taptich @ yahoo.com
Please remove me from this mailing list ActivePython mailing list [EMAIL PROTECTED] http://listserv.ActiveState.com/mailman/listinfo/activepython ___ ActivePython mailing list [EMAIL PROTECTED] http://listserv.ActiveState.com/mailman/listinfo/acti

Re: executing other application command

2000-11-29 Thread Jonathan D Johnston
On Wed, 29 Nov 2000 13:46:43 -0500, [EMAIL PROTECTED] wrote: >On 29 Nov 2000, at 10:30, Paul Prescod wrote: >> Biju Ramachandran wrote: >> > How do I execute another applications command using Active Python - for >> > example - the equivalent in Perlscript is >> >$Application - > >> >> Could

RE: executing other application command

2000-11-29 Thread Mark Hammond
> From someone who is familiar with Perl (but a newbie in > Python), here's a snippet of Perl code which uses the syntax that > Biju refers to: > > use Win32::OLE; > my $xl = Win32::OLE->new('Excel.Application', 'Quit'); > my $book = $xl->Workbooks->Open('c:\My Documents\P