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


Groups > comp.lang.python > #19813

Python embeded in c++ application. Can't load python module if application is placed in folder with unicode chars.

Path csiph.com!x330-a1.tempe.blueboxinc.net!newsfeed.hal-mli.net!feeder3.hal-mli.net!newsfeed.hal-mli.net!feeder1.hal-mli.net!news.stack.nl!newsfeed.xs4all.nl!newsfeed6.news.xs4all.nl!xs4all!newsgate.cistron.nl!newsgate.news.xs4all.nl!post.news.xs4all.nl!not-for-mail
Return-Path <ivanov161@gmail.com>
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; 'subject:module': 0.04; 'subject:Python': 0.05; 'correspond': 0.07; 'python': 0.08; '5.3.': 0.09; 'path.': 0.09; 'subject:python': 0.10; 'subject:application': 0.15; '(system': 0.16; '2.7.2': 0.16; 'language)': 0.16; 'subject: \n ': 0.16; 'subject:folder': 0.16; 'subject:load': 0.16; 'subject:unicode': 0.16; 'language': 0.17; 'settings': 0.24; 'module': 0.26; 'load': 0.26; 'import': 0.27; 'tried': 0.27; 'message-id:@mail.gmail.com': 0.28; 'example': 0.28; 'received:209.85.210.46': 0.30; 'received:mail- pz0-f46.google.com': 0.30; 'error': 0.30; 'to:addr:python-list': 0.33; '8bit%:3': 0.34; 'folder': 0.35; 'url:python': 0.36; 'received:google.com': 0.37; 'received:209.85': 0.38; 'subject:with': 0.38; 'url:docs': 0.39; 'url:org': 0.39; 'help': 0.39; 'received:209': 0.39; 'to:addr:python.org': 0.40; 'link': 0.63; 'subject:. ': 0.64
DKIM-Signature v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=mime-version:date:message-id:subject:from:to:content-type :content-transfer-encoding; bh=lsb6DzjpSPOyMlefBUoxuMH7NOqHK/s6WV4HOB5VvpU=; b=PqTdMuQccV9mtoO4lPMUk2Xj3KFwHVW2li2PRgb9QNLI15Hk4T1jeSYWtCu6qUVtqr D0hZQScZQiT9lIRoJGCE2B7UKlXrTkrcm4iUoRF4I6u5DdVHxT6iSQJClQo1GonCDqw4 SSUtNMl96o52TcvkoseCz06SbDqaKyrOw7WCg=
MIME-Version 1.0
Date Fri, 3 Feb 2012 01:37:03 +0200
Subject Python embeded in c++ application. Can't load python module if application is placed in folder with unicode chars.
From Сергей Владимирович <ivanov161@gmail.com>
To python-list@python.org
Content-Type text/plain; charset=ISO-8859-1
Content-Transfer-Encoding quoted-printable
X-BeenThere python-list@python.org
X-Mailman-Version 2.1.12
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.5380.1328225833.27778.python-list@python.org> (permalink)
Lines 9
NNTP-Posting-Host 2001:888:2000:d::a6
X-Trace 1328225833 news.xs4all.nl 6859 [2001:888:2000:d::a6]:42820
X-Complaints-To abuse@xs4all.nl
Xref x330-a1.tempe.blueboxinc.net comp.lang.python:19813

Show key headers only | View raw


Hello. Please help me to import python module in my application that
has python 2.7.2 embeded.
I tried example from this link
http://docs.python.org/extending/embedding.html#embedding-python-in-c
paragraph 5.3.
If i place program in folder D:\temp\test_python\test_pythonævnes
på\Debug I will get error - Failed to load "multiply".
My localization settings (system language) don't correspond the chars'
language used in path.

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


Thread

Python embeded in c++ application. Can't load python module if application is placed in folder with unicode chars. Сергей Владимирович <ivanov161@gmail.com> - 2012-02-03 01:37 +0200

csiph-web