Re: [python-win32] Running Python + pywin32 portably

2012-02-05 Thread Dietmar Schwertberger
Am 04.02.2012 02:38, schrieb Mark Hammond: Not running the postinstall script just means that pywintypesxx.dll and pythoncomxx.dll aren't in system32. Assuming you have control over the environment this is running in, just ensuring those files are on the PATH should be sufficient. Yes, I have b

Re: [python-win32] Running Python + pywin32 portably

2012-02-03 Thread Mark Hammond
Hi Bill, On 4/02/2012 9:52 AM, Bill Tutt wrote: Hrm. Is it just embedding via COM servers and services or something else? i.e. If I wrote a C++ WTL based UI to drive some embedded Python COM client logic or SQL queries do you think I'd need to do anything extra special? Not running the postins

Re: [python-win32] Running Python + pywin32 portably

2012-02-03 Thread Bill Tutt
I don't. IF I could install anything I'd install .Net 2.0 since we're a C#/C++ house. I need to keep the size of this log collection tool small and don't want to waste space on bits of .py/.pyc/.pyds that I don't need. I'd rather save space on my technicians USB key for the collected logs/database

Re: [python-win32] Running Python + pywin32 portably

2012-02-03 Thread Tim Roberts
Bill Tutt wrote: > Installing .net 2.0 would. It would require doing the requisite > security updates for .net 2.0 for Win2k, etc Why do you need .NET 2.0 to install a Python app? -- Tim Roberts, t...@probo.com Providenza & Boekelheide, Inc. ___ p

Re: [python-win32] Running Python + pywin32 portably

2012-02-03 Thread Tim Roberts
Bill Tutt wrote: > > For various scary reasons I need to write a log collection tool to run > on Win2k and Win2k8 R2. The tool needs to collect some WMI, SQL, and > eventlog data. > I can't reboot the computer the tool runs on, so I can't install any > additional software. > Why does that conclus

Re: [python-win32] Running Python + pywin32 portably

2012-02-03 Thread Bill Tutt
Hrm. Is it just embedding via COM servers and services or something else? i.e. If I wrote a C++ WTL based UI to drive some embedded Python COM client logic or SQL queries do you think I'd need to do anything extra special? For various scary reasons I need to write a log collection tool to run on W

Re: [python-win32] Running Python + pywin32 portably

2008-07-05 Thread Paul Moore
2008/7/5 Mark Hammond <[EMAIL PROTECTED]>: >> I know it's possible with Python - but does pywin32 "work" if the >> postinstall hasn't been run? Specifically, I don't care about >> embedding Python, or about creating COM servers or services, but I do >> want to be able to run "normal" Python scripts

Re: [python-win32] Running Python + pywin32 portably

2008-07-04 Thread Mark Hammond
> I know it's possible with Python - but does pywin32 "work" if the > postinstall hasn't been run? Specifically, I don't care about > embedding Python, or about creating COM servers or services, but I do > want to be able to run "normal" Python scripts and COM clients. In the simple case, it works

Re: [python-win32] Running Python + pywin32 portably

2008-07-04 Thread Paul Moore
On 04/07/2008, Michael Foord <[EMAIL PROTECTED]> wrote: > It is certainly worth *trying* portably and seeing what problems you > encounter - I *Suspect* they will be minimal. That's a fair point. I'll see if I can set up a virtual machine with no Python installed, and give it a go. Paul.

Re: [python-win32] Running Python + pywin32 portably

2008-07-04 Thread Michael Foord
Paul Moore wrote: On 04/07/2008, Michael Foord <[EMAIL PROTECTED]> wrote: Movable Python comes with the Pywin32 extensions. http://www.voidspace.org.uk/python/movpy/ Thanks. Does that mean that out of the box pywin32 works portably, or were changes needed for Movable Python? (I don't

Re: [python-win32] Running Python + pywin32 portably

2008-07-04 Thread Paul Moore
On 04/07/2008, Michael Foord <[EMAIL PROTECTED]> wrote: > Movable Python comes with the Pywin32 extensions. > > http://www.voidspace.org.uk/python/movpy/ Thanks. Does that mean that out of the box pywin32 works portably, or were changes needed for Movable Python? (I don't want to use Movable Pytho

Re: [python-win32] Running Python + pywin32 portably

2008-07-04 Thread Michael Foord
Paul Moore wrote: Is it possible to run Python and pywin32 portably (ie, in a configuration I can copy from one machine to another without rble with Pytstaller)? I know it's possible with Python - but does pywin32 "work" if the postinstall hasn't been run? Specifically, I don't care about embedd

[python-win32] Running Python + pywin32 portably

2008-07-04 Thread Paul Moore
Is it possible to run Python and pywin32 portably (ie, in a configuration I can copy from one machine to another without rble with Pytstaller)? I know it's possible with Python - but does pywin32 "work" if the postinstall hasn't been run? Specifically, I don't care about embedding Python, or about