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


Groups > comp.lang.python > #74236

Re: same code same tables but not the same result(use flask and postgres)

Path csiph.com!v102.xanadu-bbs.net!xanadu-bbs.net!feeder.erje.net!eu.feeder.erje.net!feeds.news.ox.ac.uk!news.ox.ac.uk!news.stack.nl!newsfeed.xs4all.nl!newsfeed1a.news.xs4all.nl!xs4all!newsgate.cistron.nl!newsgate.news.xs4all.nl!post.news.xs4all.nl!not-for-mail
Return-Path <rosuav@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:not': 0.03; 'skip:\\ 20': 0.07; 'subject:code': 0.07; 'subject:same': 0.07; 'string': 0.09; 'ascii': 0.09; 'encode': 0.09; 'cc:addr:python- list': 0.11; 'python': 0.11; 'from:addr:rosuav': 0.16; 'from:name:chris angelico': 0.16; 'subject:tables': 0.16; 'wrote:': 0.18; 'wed,': 0.18; 'cc:addr:python.org': 0.22; 'bytes': 0.24; 'cc:2**0': 0.24; 'second': 0.26; 'header:In-Reply-To:1': 0.27; 'message-id:@mail.gmail.com': 0.30; 'running': 0.33; 'guess': 0.33; 'maybe': 0.34; 'subject:the': 0.34; 'received:google.com': 0.35; 'represent': 0.38; 'pm,': 0.38; 'frank': 0.68; 'jul': 0.74; 'to:none': 0.92
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:cc :content-type; bh=XeJwqB4pEjFimYK3I/lQbesAq3X9KpUYodDEuWJj044=; b=GDQfZLu1ulkzRnhfG08gKnljR4pZrssvFfTNt8O8kKT0mS4frudKzXmP4nDyp+hkhZ eULpdtwJaXGM+kVNOghIMojZOnGqEWgQcB2RM+OnXrI2kr5nFMMcEleMKEPwo+/ClYj5 DKT4fkY5NP6I6BWDZPB0XqmocgW2mt3k8IQTollaE4S6swGpq8nrCgJ5r8HEL0869z+u kHmzOHbSFx8GzK8Rqu5VgwPlZ+dGnQVTjRup9ANCiPTruhg2k3pDkdfVGJshYFiC58U6 0QGG8Z6WS5Tgvdfzf0oeQ3+xmKkytsJ+fWXmXG2H7BiR0L7yeyvKDqCcQhbBMkxpPCn6 Ni0Q==
MIME-Version 1.0
X-Received by 10.58.234.103 with SMTP id ud7mr38715608vec.24.1404890578396; Wed, 09 Jul 2014 00:22:58 -0700 (PDT)
In-Reply-To <a02846bc-5d64-47bb-8563-d3cbc5b82e33@googlegroups.com>
References <a02846bc-5d64-47bb-8563-d3cbc5b82e33@googlegroups.com>
Date Wed, 9 Jul 2014 17:22:58 +1000
Subject Re: same code same tables but not the same result(use flask and postgres)
From Chris Angelico <rosuav@gmail.com>
Cc "python-list@python.org" <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 <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.11677.1404890580.18130.python-list@python.org> (permalink)
Lines 14
NNTP-Posting-Host 2001:888:2000:d::a6
X-Trace 1404890580 news.xs4all.nl 2964 [2001:888:2000:d::a6]:39788
X-Complaints-To abuse@xs4all.nl
Xref csiph.com comp.lang.python:74236

Show key headers only | View raw


On Wed, Jul 9, 2014 at 5:14 PM, Frank Liou <fk26541598fk@gmail.com> wrote:
> one i got
>
> MTIzNDU2Nzg=   <==it's right
>
> anoter i got
>
> \x4d54497a4e4455324e7a673d

Encode that string as ASCII and represent the bytes in hexadecimal,
and you get the second one. My guess is that maybe you have one of
them running Python 2 and one running Python 3.

ChrisA

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


Thread

same code same tables but not the same result(use flask and postgres) Frank Liou <fk26541598fk@gmail.com> - 2014-07-09 00:14 -0700
  Re: same code same tables but not the same result(use flask and postgres) Chris Angelico <rosuav@gmail.com> - 2014-07-09 17:22 +1000
    Re: same code same tables but not the same result(use flask and postgres) Frank Liou <fk26541598fk@gmail.com> - 2014-07-09 00:25 -0700
      Re: same code same tables but not the same result(use flask and postgres) Frank Liou <fk26541598fk@gmail.com> - 2014-07-09 00:46 -0700

csiph-web