Google Groups no longer supports new Usenet posts or subscriptions. Historical content remains viewable.
Dismiss

Running Python 2.3 on a Windows 2000 network

0 views
Skip to first unread message

John Ochiltree

unread,
Aug 12, 2003, 4:22:49 AM8/12/03
to
Hello group,

What do I have to do to set up python 2.3 to run centrally on a Win 2000
network instead of installing it on every workstation? Is it possible?
How do I go about updating individual registeries? I'd appreciate some
pointers and advice if any one can help.

Thanks

John

Gerhard Häring

unread,
Aug 12, 2003, 4:40:29 AM8/12/03
to
John Ochiltree wrote:
> Hello group,
>
> What do I have to do to set up python 2.3 to run centrally on a Win 2000
> network instead of installing it on every workstation?

Well, if you have a Windows network, you need scripted installs :-P
Otherwise administering a Windows network is too much of a PITA in my
opinion.

> Is it possible?

Sure. Get an installed Python, copy the c:\python23 directory to a
network share, then grab the file %SYSTEMROOT%\system32\python23.dll and
copy it alongside python.exe. Now all your clients can access Python via
the share name.

> How do I go about updating individual registeries? I'd appreciate some
> pointers and advice if any one can help.

Python itself doesn't need any registry entries. If you use the COM
stuff of the win32 extensions, though, this might be different.

-- Gerhard

Peter Hansen

unread,
Aug 12, 2003, 7:30:59 AM8/12/03
to
Gerhard Häring wrote:
>
> Python itself doesn't need any registry entries. If you use the COM
> stuff of the win32 extensions, though, this might be different.

One can get by without registry entries even there, with a little
trickery. I've posted an example of such trickery a few weeks
ago in the newsgroup... untested on 2K however, but working on
networked Win98 machines and likely to work on 2K/XP as well.

-Peter

John Ochiltree

unread,
Aug 13, 2003, 12:51:23 PM8/13/03
to
Cheers Gerhard,
Worked like a dream. I now have a shared python shell

John

Peter Hansen

unread,
Aug 13, 2003, 2:21:13 PM8/13/03
to
John Ochiltree wrote:
>
> Worked like a dream. I now have a shared python shell

Can you check whether "import pythoncom" and "import pywintypes"
and (if you've installed the Win32 extensions) "import win32api"
all work?

If these work without your having to do anything to the registry,
I'm curious about the installation process you used, since we
had to do additional steps to get the same result.

Thanks.

-Peter

Thomas Heller

unread,
Aug 13, 2003, 2:55:14 PM8/13/03
to
Peter Hansen <pe...@engcorp.com> writes:

You are aware that recently Mark changed things so the the registry is
no longer used for importing?

Thomas


Peter Hansen

unread,
Aug 14, 2003, 7:31:36 AM8/14/03
to

No! Thank you... my experience comes from setting this up with
versions prior to the latest (or "recently" released ones) so
likely once we upgrade we can abandon the trickery. Good to know.

-Peter

John Ochiltree

unread,
Aug 14, 2003, 4:21:38 PM8/14/03
to
I'll have a go tomorrow but initially I only require the shell and don't
need COM or WIN32.

John

0 new messages