473,320 Members | 1,868 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,320 software developers and data experts.

Pythonwin not loading DLL, should I change extensions by .pyo or pyd?


Python 2.5 doesn't support/load .dll anymore. Is PythonWin 2.5 the
same case?

If a .DLL file is not loading, should I change its extension for it to
work?
What extensions should be now, .pyo, .pyd, etc? which one?
What is the meaning of each extension?

Thanks,
Angelica E-G.
Nov 17 '08 #1
1 2715
En Mon, 17 Nov 2008 13:01:11 -0200, Pekeika
<m.*****************@umiami.eduescribió:
Python 2.5 doesn't support/load .dll anymore. Is PythonWin 2.5 the
same case?

If a .DLL file is not loading, should I change its extension for it to
work?
What extensions should be now, .pyo, .pyd, etc? which one?
What is the meaning of each extension?
Python supports being extended using "extension modules"; on Windows they
are dynamic libraries (DLL). Before 2.5, the extensions ".dll" and ".pyd"
were both valid; starting with 2.5, only files ending in ".pyd" are
recognized.
Note that this applies to extension modules *only*, not generic DLLs.
All binary packages targeted to 2.5 use the right name for their extension
modules, at least all that I know of. You don't have to rename anything.

A .pyo file is a totally different thing; it's a compiled Python source
(like a .pyc) but with optimization turned on.

--
Gabriel Genellina

Nov 17 '08 #2

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

Similar topics

6
by: Xerxes | last post by:
Hi, at startup I get three similar error messages about three DLLs: php_sqlite.dll, php_curl.dll and php_gd2.dll. I searched the group for similar problem but the solutions proposed there did not...
7
by: Martin Bless | last post by:
IMHO PythonWin is great help in developing. How can I do something like: if detect("running on PythonWin"): pass # fake arguments ... else: "proceed normal"
1
by: Henrik Weber | last post by:
Hi. I have tried to add pychecker as an extension to pythonwin. Now I can have pychecker check the source file that is currently open in the editor with a single keypress. If someone is...
4
by: Colin J. Williams | last post by:
PythonWin has been my favourite IDE for quite a while. When one right clicks on a .py file in the Windows Explorer, among the options are Open and Edit. The former is the default and executes...
14
by: Jive | last post by:
I've un-installed Python 2.4, re-installed Python 2.3 and PythonWin for 2.3, but it's still broke. When I start PythonWin, sometimes it looks like it is going to be okay. But as soon as I open...
17
by: Dave Benjamin | last post by:
Hey folks, Why is PythonWin (win32all) still a separate download from a third party? Is it legal, technical, or what? I think it's about time it be part of the standard distribution. There...
3
by: archaegeo | last post by:
I am getting started in Python, and I have looked on both the stackless page and python.org and cannot find the answer to what I think is a simple problem. If I start the python command line or...
4
by: steveandleyla | last post by:
I downloaded Python 5.1 for windows so I could run a program. I have to do the following: In PythonWin, select Tools | COM MakePy utility | Microsoft Speech Object Library 5.1). I can't...
15
by: pdhb_1 | last post by:
I'm trying to run Apache2.2.6 with php. However, I keep getting a long list of error messages in the log file indicating that includes are failing. For example, "PHP Warning: PHP Startup:...
0
by: DolphinDB | last post by:
Tired of spending countless mintues downsampling your data? Look no further! In this article, you’ll learn how to efficiently downsample 6.48 billion high-frequency records to 61 million...
0
by: ryjfgjl | last post by:
ExcelToDatabase: batch import excel into database automatically...
1
isladogs
by: isladogs | last post by:
The next Access Europe meeting will be on Wednesday 6 Mar 2024 starting at 18:00 UK time (6PM UTC) and finishing at about 19:15 (7.15PM). In this month's session, we are pleased to welcome back...
0
by: Vimpel783 | last post by:
Hello! Guys, I found this code on the Internet, but I need to modify it a little. It works well, the problem is this: Data is sent from only one cell, in this case B5, but it is necessary that data...
0
by: jfyes | last post by:
As a hardware engineer, after seeing that CEIWEI recently released a new tool for Modbus RTU Over TCP/UDP filtering and monitoring, I actively went to its official website to take a look. It turned...
0
by: ArrayDB | last post by:
The error message I've encountered is; ERROR:root:Error generating model response: exception: access violation writing 0x0000000000005140, which seems to be indicative of an access violation...
0
by: CloudSolutions | last post by:
Introduction: For many beginners and individual users, requiring a credit card and email registration may pose a barrier when starting to use cloud servers. However, some cloud server providers now...
1
by: Shællîpôpï 09 | last post by:
If u are using a keypad phone, how do u turn on JavaScript, to access features like WhatsApp, Facebook, Instagram....
0
by: Faith0G | last post by:
I am starting a new it consulting business and it's been a while since I setup a new website. Is wordpress still the best web based software for hosting a 5 page website? The webpages will be...

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.