Path: csiph.com!v102.xanadu-bbs.net!xanadu-bbs.net!feeder.erje.net!eu.feeder.erje.net!newsfeed.fsmpi.rwth-aachen.de!rt.uk.eu.org!newsfeed.xs4all.nl!newsfeed4.news.xs4all.nl!xs4all!newsgate.cistron.nl!newsgate.news.xs4all.nl!post.news.xs4all.nl!not-for-mail Return-Path: X-Original-To: python-list@python.org Delivered-To: python-list@mail.python.org X-Spam-Status: OK 0.001 X-Spam-Evidence: '*H*': 1.00; '*S*': 0.00; 'python.': 0.02; 'definitions': 0.07; 'subject:help': 0.08; 'correspond': 0.09; 'received:80.91': 0.09; 'received:80.91.229': 0.09; 'received:gmane.org': 0.09; 'received:list': 0.09; 'python': 0.11; 'jan': 0.12; '2.7': 0.14; '6.x': 0.16; 'ctypes.': 0.16; 'received:80.91.229.3': 0.16; 'received:plane.gmane.org': 0.16; 'reedy': 0.16; 'subject:ctypes': 0.16; 'wrote:': 0.18; 'work,': 0.20; 'header:User-Agent:1': 0.23; 'looks': 0.24; '(or': 0.24; 'header:X-Complaints-To:1': 0.27; 'header:In-Reply-To:1': 0.27; 'point': 0.28; "i'm": 0.30; 'getting': 0.31; 'ctypes': 0.31; 'subject:with': 0.35; 'possible.': 0.35; 'but': 0.35; 'there': 0.35; 'version': 0.36; '2.6': 0.36; 'project': 0.37; 'to:addr :python-list': 0.38; 'pm,': 0.38; 'sure': 0.39; 'to:addr:python.org': 0.39; 'received:org': 0.40; 'new': 0.61; 'received:173': 0.61; 'first': 0.61; 'different': 0.65; 'latest': 0.67; 'received:fios.verizon.net': 0.84; 'subject:needs': 0.93 X-Injected-Via-Gmane: http://gmane.org/ To: python-list@python.org From: Terry Reedy Subject: Re: noobie needs help with ctypes Date: Mon, 09 Dec 2013 15:15:09 -0500 References: Mime-Version: 1.0 Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 7bit X-Gmane-NNTP-Posting-Host: pool-173-75-254-207.phlapa.fios.verizon.net User-Agent: Mozilla/5.0 (Windows NT 6.1; WOW64; rv:24.0) Gecko/20100101 Thunderbird/24.1.1 In-Reply-To: X-BeenThere: python-list@python.org X-Mailman-Version: 2.1.15 Precedence: list List-Id: General discussion list for the Python programming language List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Newsgroups: comp.lang.python Message-ID: Lines: 13 NNTP-Posting-Host: 2001:888:2000:d::a6 X-Trace: 1386620124 news.xs4all.nl 2958 [2001:888:2000:d::a6]:36621 X-Complaints-To: abuse@xs4all.nl Xref: csiph.com comp.lang.python:61408 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'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