Path: csiph.com!usenet.pasdenom.info!news.albasani.net!newsfeed.freenet.ag!news2.euro.net!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; 'debugging': 0.05; 'encoded': 0.05; 'arguments': 0.07; 'python': 0.09; 'encode': 0.09; 'sep': 0.09; 'subject:library': 0.09; 'to:addr:comp.lang.python': 0.09; 'cc:addr:python-list': 0.10; 'encoding': 0.15; 'properly': 0.15; 'sat,': 0.15; '4:39': 0.16; 'codec': 0.16; 'gpg': 0.16; 'reason.': 0.16; 'wrote:': 0.17; 'windows': 0.19; 'skip:" 30': 0.20; 'cc:2**0': 0.23; 'cc:no real name:2**0': 0.24; 'cc:addr:python.org': 0.25; 'header:In-Reply- To:1': 0.25; 'header:User-Agent:1': 0.26; 'am,': 0.27; 'appreciated': 0.27; 'url:mailman': 0.29; 'character': 0.29; 'url:python': 0.32; 'file': 0.32; 'not.': 0.32; 'running': 0.32; 'url:listinfo': 0.32; "can't": 0.34; 'received:google.com': 0.34; 'thanks': 0.34; 'path': 0.35; 'received:209.85': 0.35; 'something': 0.35; 'but': 0.36; 'url:org': 0.36; 'characters': 0.36; 'problems': 0.36; 'subject: (': 0.36; 'quite': 0.37; 'received:209': 0.37; 'subject:: ': 0.38; 'some': 0.38; 'sure': 0.38; 'help': 0.40; 'url:mail': 0.40; 'think': 0.40; 'skip:u 10': 0.60; 'charset:windows-1252': 0.65; 'reply': 0.66; 'skip:c 50': 0.66; 'url:tk': 0.93 Newsgroups: comp.lang.python Date: Sat, 29 Sep 2012 13:32:27 -0700 (PDT) In-Reply-To: Complaints-To: groups-abuse@google.com Injection-Info: glegroupsg2000goo.googlegroups.com; posting-host=208.120.122.162; posting-account=zGDhbQoAAADfbB4dSbVKcGpH8UvHA2NX References: <8cab2c34-7594-471a-80e9-47206bd3ea32@googlegroups.com> User-Agent: G2/1.0 X-Google-Web-Client: true X-Google-IP: 208.120.122.162 MIME-Version: 1.0 Subject: Re: Missing library path (WIndows) From: FPEFPE To: comp.lang.python@googlegroups.com Content-Type: text/plain; charset=windows-1252 Content-Transfer-Encoding: quoted-printable Cc: python-list@python.org 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: , Message-ID: Lines: 55 NNTP-Posting-Host: 2001:888:2000:d::a6 X-Trace: 1348950756 news.xs4all.nl 6941 [2001:888:2000:d::a6]:58573 X-Complaints-To: abuse@xs4all.nl Xref: csiph.com comp.lang.python:30529 On Saturday, September 29, 2012 4:02:13 AM UTC-4, Kwpolska wrote: > On Sat, Sep 29, 2012 at 4:39 AM, FPEFPE wrote: >=20 > > Hello -- I am running python from an application, starting it with a ca= ll to the python31.dll >=20 > > >=20 > > I think I am missing something in my path -- any help would be apprecia= ted -- thanks >=20 >=20 >=20 > Nope, you are not. >=20 >=20 >=20 > > File "C:\Python32\Lib\encodings\cp437.py", line 19, in encode >=20 > > >=20 > > return codecs.charmap_encode(input,self.errors,encoding_map)[0] >=20 > > >=20 > > UnicodeEncodeError: 'charmap' codec can't encode characters in position= 2-18: character maps to >=20 > > -- >=20 > > http://mail.python.org/mailman/listinfo/python-list >=20 >=20 >=20 > Python has problems with encoding the arguments to look properly with >=20 > the crappy Windows cmd.exe encodings. They cannot be encoded for some >=20 > reason. You may need magic, but I=92m not quite sure what in Py3k >=20 > (bytestrings?) >=20 >=20 >=20 > --=20 >=20 > Kwpolska >=20 > stop html mail | always bottom-post >=20 > www.asciiribbon.org | www.netmeister.org/news/learn2quote.html >=20 > GPG KEY: 5EAAEA16 Hello -- thanks for the reply ... is "magic" a debugging tool?