Path: csiph.com!fu-berlin.de!uni-berlin.de!not-for-mail From: Vlastimil Brom Newsgroups: comp.lang.python Subject: Re: What's the best/neatest way to get Unicode data from a database into a grid cell? Date: Mon, 8 Feb 2016 16:00:22 +0100 Lines: 32 Message-ID: References: <318moc-ra4.ln1@esprimo.zbmc.eu> Mime-Version: 1.0 Content-Type: text/plain; charset=UTF-8 X-Trace: news.uni-berlin.de DccUrueHht+R+K3gW0KHhgMEDEJ7G4tfQL/k79n9rMyg== Return-Path: X-Original-To: python-list@python.org Delivered-To: python-list@mail.python.org X-Spam-Status: OK 0.084 X-Spam-Evidence: '*H*': 0.83; '*S*': 0.00; '(using': 0.07; 'cc:addr :python-list': 0.09; 'subject:into': 0.09; 'python': 0.10; '2.7': 0.13; 'subject: \n ': 0.15; '11:42': 0.16; 'bit.': 0.16; 'cc:name:python': 0.16; 'necessary).': 0.16; 'received:io': 0.16; 'received:psf.io': 0.16; 'subject:Unicode': 0.16; 'wrote:': 0.16; 'changes': 0.20; 'windows': 0.20; 'cc:2**0': 0.20; 'cc:addr:python.org': 0.20; 'seems': 0.23; 'header:In-Reply-To:1': 0.24; 'linux': 0.26; '(e.g.': 0.27; 'message-id:@mail.gmail.com': 0.27; 'experiences': 0.27; "i'm": 0.30; 'subject:/': 0.30; 'code': 0.30; "can't": 0.32; 'getting': 0.33; 'source': 0.33; 'builds': 0.33; 'ubuntu': 0.33; 'running': 0.34; 'received:google.com': 0.35; 'installing': 0.35; 'but': 0.36; 'should': 0.36; 'url:org': 0.36; 'received:209.85': 0.36; 'subject:?': 0.36; 'subject:: ': 0.37; 'seem': 0.37; 'received:209': 0.38; 'building': 0.38; 'files': 0.38; 'hi,': 0.38; 'end': 0.39; 'google': 0.39; 'subject:from': 0.39; 'subject:the': 0.39; 'along': 0.39; 'build': 0.40; 'where': 0.40; 'details,': 0.60; 'ever': 0.60; 'your': 0.60; 'yourself': 0.73; 'subject:get': 0.81; '2.7.': 0.84; '3.4': 0.84; 'believe,': 0.84; 'circles': 0.84; 'phoenix': 0.84; 'snapshot': 0.84; 'url:phoenix': 0.84; 'url:snapshot-builds': 0.84; 'url:wxpython': 0.84; 'wheel': 0.84; 'glad': 0.87 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 :cc:content-type; bh=ypIm9oVIM0KFIExXgRsTLD4FMYqVrNoUV1CT3Gj5YMk=; b=sDRH79a3UZUTSgzeMGJXIftagfikah9D3fQcGN48rWie8zpogg2UI6RvzMobD5fE3D xNnmjzNlQ2/E3MEemD3PCLPFaF2J5HrKbQon0iLNb6tK6952esCLAhs440yHkXZI7kWx AqvyLe3bY6MnRYZPlDz8nBZiJGhe9DaPhc25X7i2y0M9q3D+0pdnfKJTQWzeAS/ffAyv zWxvF9ZaK0eiofxt/6rCWrAJJhJn53yyxLN/fxFpTKwkeOd2DgnZpTDOpkHw1H7rMQeB kB8lZfalNBlvTwxqZBzw13j41OhsQjXjXf9Lx+qErFXj8pZTzJ7bvvS+zpRHk56ErSNm fINA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:mime-version:in-reply-to:references:date :message-id:subject:from:to:cc:content-type; bh=ypIm9oVIM0KFIExXgRsTLD4FMYqVrNoUV1CT3Gj5YMk=; b=IHdhxgRqNiqpM3uzyGlbsj9HE6StWP3AexrKwWYbve4gUg5LLWWjn/F+IsrPCiuu8Y kCuCXVPiWlEhKUwdXLXCCuZIPTvdrjnmb6HiGk877kXQ4kMdeZ+/7QkRRJmX61qTab0+ v0RTnl1iaDalT7uM2NyVbVoqJsyfC9H1oouC5mFrzM/MOVXJ1wllXqYXWaZ5kTHERrLV x/3n9n3toeV6RfDksv+kAVxjISKRjSjYV7mTv18wFmb9tAbT68aGPbyVYy693zqxFkIE lPLmDnr/8awAxgCPZ0ZcBLKf2td9+6ZIe67myeqxo31bLQ1C43O5ZscQ4EckZwG6vNnX ayZw== X-Gm-Message-State: AG10YORvk3k+sh+2UGN+ZExNXLy3yASva+9D6HFhJrfebeN8qBPU3CLl7JaKQiHyZqjC6B7DW8v6vesGx9UDeA== X-Received: by 10.25.168.138 with SMTP id r132mr1401688lfe.77.1454943622142; Mon, 08 Feb 2016 07:00:22 -0800 (PST) In-Reply-To: <318moc-ra4.ln1@esprimo.zbmc.eu> X-BeenThere: python-list@python.org X-Mailman-Version: 2.1.21rc2 Precedence: list List-Id: General discussion list for the Python programming language List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Xref: csiph.com comp.lang.python:102674 2016-02-08 11:42 GMT+01:00 : > Vlastimil Brom wrote: >> >> Hi, >> your code in >> http://www.salstat.com/news/linking-wxgrid-to-sqlite-database-in-python-an-example >> >> seems to work for me after small changes with both python 2.7 and 3.4 >> (using wx Phoenix) > > Where are you getting phoenix from? It's not in the Ubuntu > repositories and when I search on Google I seem to go in ever > decreasing circles and always end up finding wxPython for 2.7. > > Did you build it from source yourself (I can do that but only if it's > necessary). > > ... Hi, I'm glad it helped a bit. However, I have no experiences with running wx phoenix on linux - I use it with windows (7) - where the mentioned snapshot builds are available (e.g. as wheel files installable with pip). http://wxpython.org/Phoenix/snapshot-builds/ I believe, building and installing on linux should be doable, but I can't supply any details, see e.g.: http://wxpython.org/Phoenix/docs/html/#linux-unix-etc the source files are available along with the snapshot builds: http://wxpython.org/Phoenix/snapshot-builds/ hth, vbr