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)

References <a02846bc-5d64-47bb-8563-d3cbc5b82e33@googlegroups.com>
Date 2014-07-09 17:22 +1000
Subject Re: same code same tables but not the same result(use flask and postgres)
From Chris Angelico <rosuav@gmail.com>
Newsgroups comp.lang.python
Message-ID <mailman.11677.1404890580.18130.python-list@python.org> (permalink)

Show all headers | 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