473,769 Members | 2,355 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

Python DLL in Windows Folder

Hi,

why does the Python installer on Windows put the Python DLL into the
Windows system32 folder? Wouldn't it be more clean to place it into
the Python installation folder beside the python.exe file?

Kind regards,
Markus
Dec 23 '07 #1
7 1887
* Markus Gritsch (Sun, 23 Dec 2007 15:52:50 +0100)
why does the Python installer on Windows put the Python DLL into the
Windows system32 folder?
Are you sure it does?!

Thorsten
Dec 23 '07 #2
On 23/12/2007, Thorsten Kampe <th******@thors tenkampe.dewrot e:
* Markus Gritsch (Sun, 23 Dec 2007 15:52:50 +0100)
why does the Python installer on Windows put the Python DLL into the
Windows system32 folder?

Are you sure it does?!
Yes.

Markus
Dec 23 '07 #3
* Markus Gritsch (Sun, 23 Dec 2007 18:28:41 +0100)
On 23/12/2007, Thorsten Kampe <th******@thors tenkampe.dewrot e:
* Markus Gritsch (Sun, 23 Dec 2007 15:52:50 +0100)
why does the Python installer on Windows put the Python DLL into the
Windows system32 folder?
Are you sure it does?!

Yes.
If you choose "install just for me" it doesn't.
Dec 24 '07 #4
On 24/12/2007, Thorsten Kampe <th******@thors tenkampe.dewrot e:
* Markus Gritsch (Sun, 23 Dec 2007 18:28:41 +0100)
On 23/12/2007, Thorsten Kampe <th******@thors tenkampe.dewrot e:
* Markus Gritsch (Sun, 23 Dec 2007 15:52:50 +0100)
why does the Python installer on Windows put the Python DLL into the
Windows system32 folder?
>
Are you sure it does?!
Yes.

If you choose "install just for me" it doesn't.
Interesting. Therefore you asked me if I am sure :) Does this mean,
that COM stuff does not work when installing Python "just for me"?

Markus
Dec 24 '07 #5
On 24/12/2007, Markus Gritsch <m.*******@gmai l.comwrote:
On 24/12/2007, Thorsten Kampe <th******@thors tenkampe.dewrot e:
* Markus Gritsch (Sun, 23 Dec 2007 18:28:41 +0100)
On 23/12/2007, Thorsten Kampe <th******@thors tenkampe.dewrot e:
* Markus Gritsch (Sun, 23 Dec 2007 15:52:50 +0100)
why does the Python installer on Windows put the Python DLL into the
Windows system32 folder?

Are you sure it does?!
>
Yes.
If you choose "install just for me" it doesn't.

Interesting. Therefore you asked me if I am sure :) Does this mean,
that COM stuff does not work when installing Python "just for me"?
Indeed, pywin32 stops working :( I installed Python "just for me",
then I installed pywin32-210, and now Pythonwin.exe is not able to
start. So for this scenario it seems to be necessary, that the Python
DLL is installed into the system32 folder.

Maybe the Python installer should issue a warning that pywin32 will
not be able to work when using the option "just for me"?

Kind regards,
Markus
Dec 25 '07 #6
Indeed, pywin32 stops working :( I installed Python "just for me",
then I installed pywin32-210, and now Pythonwin.exe is not able to
start. So for this scenario it seems to be necessary, that the Python
DLL is installed into the system32 folder.

Maybe the Python installer should issue a warning that pywin32 will
not be able to work when using the option "just for me"?
That is not supposed to happen; pywin32 should work. Just COM servers
written in Python may not.

Regards,
Martin
Dec 26 '07 #7
On 27/12/2007, "Martin v. Löwis" <ma****@v.loewi s.dewrote:
Indeed, pywin32 stops working :( I installed Python "just for me",
then I installed pywin32-210, and now Pythonwin.exe is not able to
start. So for this scenario it seems to be necessary, that the Python
DLL is installed into the system32 folder.

Maybe the Python installer should issue a warning that pywin32 will
not be able to work when using the option "just for me"?

That is not supposed to happen; pywin32 should work. Just COM servers
written in Python may not.
Ok, my mistake. I was launching Pythonwin.exe by double clicking on
the executable, which works when Python is installed "for all users"
and does not work when installed "just for me". When Pythonwin is
launched by clicking on the shortcut in the start menu, which sets the
CWD to the Python installation folder, it works also when Python is
installed "just for me".

Kind regards,
Markus
Dec 27 '07 #8

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

2
8165
by: WIWA | last post by:
I'm looking for SNMP support in Python. I have found pySNMP, but I'm not sure whether this works under Windows as well. A few questions: 1) Where do I need to install the pySNMP files? 2) What do I have to do in order to be able to write somethin like: "from pysnmp import session" Thakns in advance for all input
2
7335
by: Raghul | last post by:
Is it possible to monitor a folder in the python?My question is if I put any file in it that particular folder my script should monitor the folder and read the file name.If so what function can I use? Thanx in advance
34
3965
by: Ben Sizer | last post by:
I've installed several different versions of Python across several different versions of MS Windows, and not a single time was the Python directory or the Scripts subdirectory added to the PATH environment variable. Every time, I've had to go through and add this by hand, to have something resembling a usable Python installation. No such problems on Linux, whether it be Mandrake/Mandriva, Fedora Core, or Kubuntu. So why is the Windows...
6
5748
by: globalrev | last post by:
type "python setup.py install" that is used in most "addons" for python. well using windows vista, where the h*** am i supposed to type this? if it is not doable in windows, what do i have to do instead? just clicking the setup.py-file never works.
5
2425
by: Payala | last post by:
Hello, I have tried to install python 2.5.1 and 2.5.2 with the same error. The installer starts fine, but when it gets to the part that says "Status: Copying new files" it terminates with an error code of 2356. Does anyone have a clue to what to do? Thanks in advance for your help
7
3781
by: Dominic Rice | last post by:
Hi, I can't seem to get python to run my scripts using the command: python <userscript>.py If I type python the interpreter runs as I sorted out the Path property, I'm afraid I don't know much about this kind of thing as I'm a science student who needs some Python not a programmer!
1
1781
by: Tim Rowe | last post by:
I have Python 2.5 working just fine on my system. I've tried downloading and installing the MS Windows Python extensions, but can't get pythonw.exe (that's the windows executable, right?) to do anything. I double-click it, nothing happens. I run it from a command prompt, it just returns me to the command prompt. The only possible clue I have is that the installation process produced the error message:
7
1631
by: greg | last post by:
Thomas Philips wrote: Have a look in /Library/Frameworks/Python.framework/Versions/2.5 You can't -- this feature only exists in the Search window, which is a different kind of window from the normal Finder
7
2368
by: W. eWatson | last post by:
I copied the following code from a matplotlib tutorial, and it fails. I'm using python 2.4 on Win XP. It's matplotlib-0.98.3.win32-py2.4exe. It fails in IDLE with a small window showing a runtime error. Clicking the OK on it kills IDLE and the shell. If I double-click on the py file, the console briefly appears too quickly to notice any contents. I have read raw to stop it. If I execute it from a console window, I'm told the results will be...
0
9589
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However, people are often confused as to whether an ONU can Work As a Router. In this blog post, we’ll explore What is ONU, What Is Router, ONU & Router’s main usage, and What is the difference between ONU and Router. Let’s take a closer look ! Part I. Meaning of...
0
9423
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can effortlessly switch the default language on Windows 10 without reinstalling. I'll walk you through it. First, let's disable language synchronization. With a Microsoft account, language settings sync across devices. To prevent any complications,...
1
9999
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows Update option using the Control Panel or Settings app; it automatically checks for updates and installs any it finds, whether you like it or not. For most users, this new feature is actually very convenient. If you want to control the update process,...
0
9866
tracyyun
by: tracyyun | last post by:
Dear forum friends, With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each protocol has its own unique characteristics and advantages, but as a user who is planning to build a smart home system, I am a bit confused by the choice of these technologies. I'm particularly interested in Zigbee because I've heard it does some...
0
8876
agi2029
by: agi2029 | last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing, and deployment—without human intervention. Imagine an AI that can take a project description, break it down, write the code, debug it, and then launch it, all on its own.... Now, this would greatly impact the work of software developers. The idea...
0
5310
by: TSSRALBI | last post by:
Hello I'm a network technician in training and I need your help. I am currently learning how to create and manage the different types of VPNs and I have a question about LAN-to-LAN VPNs. The last exercise I practiced was to create a LAN-to-LAN VPN between two Pfsense firewalls, by using IPSEC protocols. I succeeded, with both firewalls in the same network. But I'm wondering if it's possible to do the same thing, with 2 Pfsense firewalls...
0
5448
by: adsilva | last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?
1
3967
by: 6302768590 | last post by:
Hai team i want code for transfer the data from one system to another through IP address by using C# our system has to for every 5mins then we have to update the data what the data is updated we have to send another system
2
3570
muto222
by: muto222 | last post by:
How can i add a mobile payment intergratation into php mysql website.

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.