Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > comp.lang.python > #28618
| Path | csiph.com!usenet.pasdenom.info!gegeweb.org!de-l.enfer-du-nord.net!feeder1.enfer-du-nord.net!feeds.phibee-telecom.net!newsfeed.xs4all.nl!newsfeed5.news.xs4all.nl!xs4all!newsgate.cistron.nl!newsgate.news.xs4all.nl!post.news.xs4all.nl!not-for-mail |
|---|---|
| Return-Path | <malaclypse2@gmail.com> |
| X-Original-To | python-list@python.org |
| Delivered-To | python-list@mail.python.org |
| X-Spam-Status | OK 0.006 |
| X-Spam-Evidence | '*H*': 0.99; '*S*': 0.00; 'python': 0.09; 'happen.': 0.09; 'sep': 0.09; 'dll,': 0.16; 'experimented': 0.16; 'explicitly.': 0.16; 'jerry': 0.16; 'subject:Accessing': 0.16; 'subject:dll': 0.16; 'wrote:': 0.17; 'thu,': 0.17; '>>>': 0.18; 'bit': 0.21; 'import': 0.21; 'ctypes': 0.22; 'recognize': 0.22; 'example': 0.23; 'header:In-Reply-To:1': 0.25; 'dll': 0.27; 'module.': 0.27; 'received:209.85.210.46': 0.27; 'received:mail- pz0-f46.google.com': 0.27; 'message-id:@mail.gmail.com': 0.27; 'helpful': 0.30; 'code': 0.31; 'could': 0.32; 'print': 0.32; 'to:addr:python-list': 0.33; 'received:google.com': 0.34; 'pm,': 0.35; 'received:209.85': 0.35; 'received:209': 0.37; 'subject:: ': 0.38; 'to:addr:python.org': 0.39; 'header:Received:5': 0.40; 'help': 0.40; 'think': 0.40; 'first': 0.61; 'lays': 0.84 |
| DKIM-Signature | v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :content-type; bh=BN2ZGTK+2PC5K7Q2sTQXnSOKxfakhoxSYf/nLDIgGx0=; b=09ccAFfKZSDRPLhTNKdntcwOG7n+dkIg/aB4ZiBd+QPf5JFePM8mraE+/quTpY5Buo FAmTuPaJyu5pzQUEOWaxdqWCZnJ4Tp7/QhAnaeId+GfCwDxKw6EtTgkWlnLWaqIQuMjX XDYdpAy8kXiLa15O3pgwz5eobXEPUbjUgCp7AmVGPbLMvKgLNziN9yddVefY+wxFu1oL GpulyXH0q9QlW1v9P3YJCL1jkq5JPN9kkZU2haPapblQeoVe0pedRNCGUOBokBwRn0/w sKIhuf0sBgOIk2a5yshGt9FwZ8mgw1PM9ZYBSVzcKZTnW+2+v+laN0dFNIDqkmraJTAD hTdA== |
| MIME-Version | 1.0 |
| In-Reply-To | <83536b03-64a5-4394-9d31-378b56f4fa27@x3g2000vbn.googlegroups.com> |
| References | <0e642403-36e9-4945-9efb-4d074d7d0eb2@s5g2000vbj.googlegroups.com> <mailman.311.1346945430.27098.python-list@python.org> <83536b03-64a5-4394-9d31-378b56f4fa27@x3g2000vbn.googlegroups.com> |
| Date | Thu, 6 Sep 2012 12:58:43 -0400 |
| Subject | Re: Accessing dll |
| From | Jerry Hill <malaclypse2@gmail.com> |
| To | python-list@python.org |
| Content-Type | text/plain; charset=UTF-8 |
| X-BeenThere | python-list@python.org |
| X-Mailman-Version | 2.1.15 |
| Precedence | list |
| List-Id | General discussion list for the Python programming language <python-list.python.org> |
| List-Unsubscribe | <http://mail.python.org/mailman/options/python-list>, <mailto:python-list-request@python.org?subject=unsubscribe> |
| List-Archive | <http://mail.python.org/pipermail/python-list/> |
| List-Post | <mailto:python-list@python.org> |
| List-Help | <mailto:python-list-request@python.org?subject=help> |
| List-Subscribe | <http://mail.python.org/mailman/listinfo/python-list>, <mailto:python-list-request@python.org?subject=subscribe> |
| Newsgroups | comp.lang.python |
| Message-ID | <mailman.314.1346950727.27098.python-list@python.org> (permalink) |
| Lines | 16 |
| NNTP-Posting-Host | 2001:888:2000:d::a6 |
| X-Trace | 1346950727 news.xs4all.nl 6909 [2001:888:2000:d::a6]:60468 |
| X-Complaints-To | abuse@xs4all.nl |
| Xref | csiph.com comp.lang.python:28618 |
Show key headers only | View raw
On Thu, Sep 6, 2012 at 12:46 PM, Helpful person <rrllff@yahoo.com> wrote: > The reference might help if I could get Python to recognize the dll as > a module. That's never going to happen. It's a DLL, not a python module. I think the documentation lays that out pretty explicitly. Have you experimented with the very first bit of example code in the documentation? What do you get if you do the following at the interactive interpreter? >>> from ctypes import * >>> print windll.<insert your dll name here, without the .dll extension> -- Jerry
Back to comp.lang.python | Previous | Next — Previous in thread | Next in thread | Find similar | Unroll thread
Accessing dll Helpful person <rrllff@yahoo.com> - 2012-09-06 08:07 -0700
Re: Accessing dll Jerry Hill <malaclypse2@gmail.com> - 2012-09-06 11:30 -0400
Re: Accessing dll Helpful person <rrllff@yahoo.com> - 2012-09-06 08:41 -0700
Re: Accessing dll Helpful person <rrllff@yahoo.com> - 2012-09-06 08:44 -0700
Re: Accessing dll Chris Angelico <rosuav@gmail.com> - 2012-09-07 22:15 +1000
Re: Accessing dll Helpful person <rrllff@yahoo.com> - 2012-09-07 10:27 -0700
Re: Accessing dll Chris Angelico <rosuav@gmail.com> - 2012-09-08 21:21 +1000
Re: Accessing dll Helpful person <rrllff@yahoo.com> - 2012-09-06 09:46 -0700
Re: Accessing dll Jerry Hill <malaclypse2@gmail.com> - 2012-09-06 12:58 -0400
Re: Accessing dll Helpful person <rrllff@yahoo.com> - 2012-09-06 10:10 -0700
Re: Accessing dll MRAB <python@mrabarnett.plus.com> - 2012-09-06 18:17 +0100
Re: Accessing dll Ulrich Eckhardt <ulrich.eckhardt@dominolaser.com> - 2012-09-06 17:28 +0200
Re: Accessing dll Tim Williams <tjandacw@cox.net> - 2012-09-06 13:21 -0700
Re: Accessing dll Tim Williams <tjandacw@cox.net> - 2012-09-06 13:27 -0700
csiph-web