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


Groups > comp.lang.python > #91319

Embedded Python. Debug Version and _ctypes

Path csiph.com!v102.xanadu-bbs.net!xanadu-bbs.net!feeder.erje.net!1.eu.feeder.erje.net!newsfeed.xs4all.nl!newsfeed3a.news.xs4all.nl!xs4all!post.news.xs4all.nl!not-for-mail
Return-Path <newinferno@gmail.com>
X-Original-To python-list@python.org
Delivered-To python-list@mail.python.org
X-Spam-Status OK 0.015
X-Spam-Evidence '*H*': 0.97; '*S*': 0.00; 'debug': 0.04; 'statically': 0.07; 'imports': 0.09; 'python': 0.11; 'subject:_ctypes': 0.16; 'trying': 0.22; 'ctypes': 0.22; 'embedding': 0.22; 'module': 0.23; 'error': 0.27; 'message- id:@mail.gmail.com': 0.28; "i'm": 0.29; '"no': 0.29; 'compiled': 0.32; 'received:google.com': 0.34; 'gives': 0.35; 'to:addr:python- list': 0.35; 'visual': 0.36; 'shared': 0.38; 'to:addr:python.org': 0.39; 'simple': 0.61; 'subject:. ': 0.66
DKIM-Signature v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:from:date:message-id:subject:to:content-type; bh=pMs+2huAh3EqKbMc9K4ybNpkfgb818GwTtZfJAEFDl8=; b=VWcvU8nERW7dORlivfjt8MPHx3zbq0PHHb9k+2RXjjVOL/oDQpwKj/nDQ/2C8w36F5 amGNG1PpdtXIUGs0SJL/cvkZJN4ah+Mzwb9l5307XgiFKUJu0XisEochKdmOuV3++jzT AXO8GW81OkW4Di0Yl/wpoI+m7vA7rabHGS/kKY7rJmuyOn0P3mwxpSSbX3YZloClcG2j ceqO6f32aDo0l1paRwhvnUe7tvyF/Yp0KePo3m1GnOT3Jf52BXstLjIRDYR3nSJjM/wJ pjgafx5dviELzvbKo4+EFSehC6qM8IDb8hCpZwuMdAqk1riAR20hSep7C9qJwStVcOr0 YQoA==
X-Received by 10.140.80.170 with SMTP id c39mr42206162qgd.55.1432752973263; Wed, 27 May 2015 11:56:13 -0700 (PDT)
MIME-Version 1.0
From Uladzimir Kryvian <newinferno@gmail.com>
Date Wed, 27 May 2015 21:55:52 +0300
Subject Embedded Python. Debug Version and _ctypes
To python-list@python.org
Content-Type text/plain; charset=UTF-8
X-BeenThere python-list@python.org
X-Mailman-Version 2.1.20+
Precedence list
List-Id General discussion list for the Python programming language <python-list.python.org>
List-Unsubscribe <https://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 <https://mail.python.org/mailman/listinfo/python-list>, <mailto:python-list-request@python.org?subject=subscribe>
Newsgroups comp.lang.python
Message-ID <mailman.94.1432752975.5151.python-list@python.org> (permalink)
Lines 8
NNTP-Posting-Host 2001:888:2000:d::a6
X-Trace 1432752975 news.xs4all.nl 2936 [2001:888:2000:d::a6]:50816
X-Complaints-To abuse@xs4all.nl
Xref csiph.com comp.lang.python:91319

Show key headers only | View raw


Hi!
I'm trying to use embedding of Python in my program.

Simple C-program, compiled in Debug, that uses py-script that just
imports "ctypes" gives me an error about "no module named "_ctypes".

How to compile python lib in Visual Studio statically with ctypes
support? Or how to use shared ctypes lib in debug mode?

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


Thread

Embedded Python. Debug Version and _ctypes Uladzimir Kryvian <newinferno@gmail.com> - 2015-05-27 21:55 +0300

csiph-web