Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > comp.lang.python > #61431

RE: noobie needs help with ctypes

From "Sells, Fred" <fred.sells@adventistcare.org>
Subject RE: noobie needs help with ctypes
Date 2013-12-10 02:27 +0000
References <DCD75728F460F14586086EA606E8308201119CEBF3@ACEVXCHMBX1001.ADVENTISTCORP.NET> <l858c3$our$1@ger.gmane.org> <CAPM-O+x=vcy_dsHzpQmkqetHym89XJEc4Jm3tka_bcebNmwqkw@mail.gmail.com>
Newsgroups comp.lang.python
Message-ID <mailman.3808.1386642453.18130.python-list@python.org> (permalink)

Show all headers | View raw


[Multipart message — attachments visible in raw view] - view raw

My management requires that we stick with the version that comes with CentOs which is 2.6.   I know that it’s possible to have multiple versions co-resident with or without virtualenv, but policy is policy ☹



From: Python-list [mailto:python-list-bounces+frsells=adventistcare.org@python.org] On Behalf Of Joel Goldstick
Sent: Monday, December 09, 2013 3:22 PM
To: Terry Reedy
Cc: python-list@python.org
Subject: Re: noobie needs help with ctypes

On Mon, Dec 9, 2013 at 3:15 PM, Terry Reedy <tjreedy@udel.edu<mailto:tjreedy@udel.edu>> wrote:
On 12/9/2013 2:24 PM, Sells, Fred wrote:
I'm using python 2.6 on Linux/CentOs 6.x

I would use the latest 2.7 (or 3.3) for a new project if at all possible.

I seem to recall that Centos needs 2.6 as default python for its own purposes, so you need to install another version without messing with 2.6.  VirtualEnv might help.

I'm getting ctypes to work, but getting stuck on the use of  .argtypes.  Can someone point out what I'm doing.  This is my first use of ctypes and it looks like I'm getting different definitions in stackoverflow that may correspond to different version of python.

In particular, I am sure that there have been bugfixes for ctypes.


--
Terry Jan Reedy

--
https://mail.python.org/mailman/listinfo/python-list



--
Joel Goldstick
http://joelgoldstick.com

Back to comp.lang.python | Previous | NextNext in thread | Find similar | Unroll thread


Thread

RE: noobie needs help with ctypes "Sells, Fred" <fred.sells@adventistcare.org> - 2013-12-10 02:27 +0000
  Re: noobie needs help with ctypes Steven D'Aprano <steve@pearwood.info> - 2013-12-10 03:27 +0000
    RE: noobie needs help with ctypes "Sells, Fred" <fred.sells@adventistcare.org> - 2013-12-10 13:14 +0000

csiph-web