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


Groups > comp.lang.python > #61431 > unrolled thread

RE: noobie needs help with ctypes

Started by"Sells, Fred" <fred.sells@adventistcare.org>
First post2013-12-10 02:27 +0000
Last post2013-12-10 13:14 +0000
Articles 3 — 2 participants

Back to article view | Back to comp.lang.python

This discussion starts older than the indexed window; earlier articles aren't shown. The article labeled Started by below is the oldest one visible, not the original post.


Contents

  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

#61431 — RE: noobie needs help with ctypes

From"Sells, Fred" <fred.sells@adventistcare.org>
Date2013-12-10 02:27 +0000
SubjectRE: noobie needs help with ctypes
Message-ID<mailman.3808.1386642453.18130.python-list@python.org>

[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

[toc] | [next] | [standalone]


#61433

FromSteven D'Aprano <steve@pearwood.info>
Date2013-12-10 03:27 +0000
Message-ID<52a68a33$0$2829$c3e8da3$76491128@news.astraweb.com>
In reply to#61431
On Tue, 10 Dec 2013 02:27:28 +0000, Sells, Fred wrote:

> 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 ☹

And a perfectly reasonable policy it is too. Python 2.6 is still 
supported by Centos and RedHat, so it's not obsolete yet.

What's not reasonable though is this gunk in your post:

> <html xmlns:v="urn:schemas-microsoft-com:vml"
> xmlns:o="urn:schemas-microsoft-com:office:office"
> xmlns:w="urn:schemas-microsoft-com:office:word"
> xmlns:m="http://schemas.microsoft.com/office/2004/12/omml"
> xmlns="http://www.w3.org/TR/REC-html40"> <head>
> <meta http-equiv="Content-Type" content="text/html; charset=utf-8">
> <meta name="Generator" content="Microsoft Word 14 (filtered medium)">
> <style><!--

[ delete about three pages of HTML ]

This forum is in part a text-only newsgroup and mailing list. Please 
respect the conventions of the newsgroup by only sending plain text 
messages rather than so-called "Rich Text" (HTML) messages, if at all 
possible.


Thank you.


-- 
Steven

[toc] | [prev] | [next] | [standalone]


#61464

From"Sells, Fred" <fred.sells@adventistcare.org>
Date2013-12-10 13:14 +0000
Message-ID<mailman.3824.1386681299.18130.python-list@python.org>
In reply to#61433
Mucho apologies for rich text, I think I picked that up when replying to a post without properly checking.  Thanks for heads up.

Fred.

[toc] | [prev] | [standalone]


Back to top | Article view | comp.lang.python


csiph-web