where is ctypes.py?

Collapse
This topic is closed.
X
X
 
  • Time
  • Show
Clear All
new posts
  • wccppp@yahoo.com

    #1

    where is ctypes.py?

    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

  • Alex Martelli

    #2
    Re: where is ctypes.py?

    wccppp@yahoo.co m <wccppp@yahoo.c om> wrote:
    [color=blue]
    > 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?[/color]

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


    Alex

    Comment

    • wccppp@yahoo.com

      #3
      Re: where is ctypes.py?

      Thanks a lot Alex. I got the file.

      - wcc

      Comment

      • Michel Claveau - abstraction méta-galactique non t

        #4
        Re: where is ctypes.py?

        Hi !

        See : http://starship.python.net/crew/theller/ctypes/



        Comment

        • Peter Hansen

          #5
          Re: where is ctypes.py?

          wccppp@yahoo.co m wrote:[color=blue]
          > 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?[/color]

          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

          Comment

          • wccppp@yahoo.com

            #6
            Re: where is ctypes.py?

            Peter,

            Thank you very much. I'll keep that in mind.

            - wcc

            Comment

            • Terry Reedy

              #7
              Re: where is ctypes.py?


              "Peter Hansen" > I see others have pointed you to the module, but nobody
              has[color=blue]
              > 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.[/color]

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

              Terry J. Reedy



              Comment

              Working...