where is ctypes.py?

W

wccppp

Hello,

I'm a complete newbie in learning python.

I was testing some sample codes I found in this newsgroup and seems it
could not locate the module ctypes.py. I installed python 2.4, wxPython
and pywin32. Just could not find this file. I thought it should be in
Lib/site-packages/ directory but it is not there.
Where can I find this file?

Thanks a lot for your help.

- wcc
 
A

Alex Martelli

Hello,

I'm a complete newbie in learning python.

I was testing some sample codes I found in this newsgroup and seems it
could not locate the module ctypes.py. I installed python 2.4, wxPython
and pywin32. Just could not find this file. I thought it should be in
Lib/site-packages/ directory but it is not there.
Where can I find this file?

Download and install ctypes from
<http://starship.python.net/crew/theller/ctypes/>


Alex
 
P

Peter Hansen

I'm a complete newbie in learning python.

I was testing some sample codes I found in this newsgroup and seems it
could not locate the module ctypes.py. I installed python 2.4, wxPython
and pywin32. Just could not find this file. I thought it should be in
Lib/site-packages/ directory but it is not there.
Where can I find this file?

I see others have pointed you to the module, but nobody has
yet told you how you could have found it yourself.

"ctypes" and many other such modules are third-party packages
which do not come with Python itself. In almost all cases,
you should be able to use Google quite easily to find such
a module by typing "python ctypes" (or substitute the appropriate
name in place of ctypes) in a Google search. Quite often
the home page of the package (where you'll find instructions
on downloading) will be the first result Google provides.

-Peter
 
T

Terry Reedy

"Peter Hansen" > I see others have pointed you to the module, but nobody
has
yet told you how you could have found it yourself.

"ctypes" and many other such modules are third-party packages
which do not come with Python itself. In almost all cases,
you should be able to use Google quite easily to find such
a module by typing "python ctypes" (or substitute the appropriate
name in place of ctypes) in a Google search. Quite often
the home page of the package (where you'll find instructions
on downloading) will be the first result Google provides.

If one does not already know the name of what one is searching for, there
is also the PythonPackageIndex PyPI at python.org.

Terry J. Reedy
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Members online

No members online now.

Forum statistics

Threads
474,214
Messages
2,571,112
Members
47,706
Latest member
HFWTina07

Latest Threads

Top