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


Groups > comp.lang.python > #95699

Re: php to python code converter

Path csiph.com!au2pb.net!feeder.erje.net!1.eu.feeder.erje.net!newsfeed.fsmpi.rwth-aachen.de!newsfeed.straub-nv.de!feed.xsnews.nl!fbe002.ams.xsnews.nl!ecngs!feeder.ecngs.de!border1.nntp.ams1.giganews.com!nntp.giganews.com!newsfeed.xs4all.nl!newsfeed8.news.xs4all.nl!news.tele.dk!news.tele.dk!small.news.tele.dk!newsgate.cistron.nl!newsgate.news.xs4all.nl!nzpost1.xs4all.net!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.018
X-Spam-Evidence '*H*': 0.96; '*S*': 0.00; 'plenty': 0.07; 'subject:code': 0.07; 'cc:addr:python-list': 0.09; 'subject:python': 0.14; 'chris,': 0.16; 'from:addr:rosuav': 0.16; 'from:name:chris angelico': 0.16; 'quoted': 0.16; 'wrote:': 0.16; 'string,': 0.18; '2015': 0.20; 'cc:2**0': 0.20; 'cc:addr:python.org': 0.20; 'aug': 0.20; 'fairly': 0.22; 'am,': 0.23; 'leave': 0.23; 'header:In-Reply-To:1': 0.24; 'rest': 0.26; 'figure': 0.27; 'fri,': 0.27; 'message-id:@mail.gmail.com': 0.27; "i'm": 0.30; 'code': 0.30; 'though.': 0.33; "i'll": 0.33; 'received:google.com': 0.35; 'ones': 0.35; 'but': 0.36; 'subject:: ': 0.37; 'missing': 0.37; "won't": 0.38; 'sure': 0.39; 'borrow': 0.84; 'chrisa': 0.84; 'paren': 0.84; 'valid,': 0.84; 'to:none': 0.91; 'joel': 0.91
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=/iaNJAUbF7Jpiaq4C/tLRSgfgjeAe+2zEp8C5fi3Tzc=; b=lUABQ0CtNS47sGX28DMr2p0ihScXN1CLqxufceqA7jjQjfkrR4VhPhhjIzZyiBXnDo CcbL1PdKmJ8WsCSv81eBRUdJTXyB76StEvB7vOotUyYLx95FykMdUUngYqptpqVJlBE3 jGiW9BBM3Tdl6iSZCHc6X+rDOqVSCQ5mUrmmuH7+p2IeoHQKQAYHEEkOklN9aZmIadSY NiLH4IaTCtXLzOgcOVoMLeqtAe83wDUeswLHzDvALYApYBaxohZjJqUYsj66hu/XlFte PQDr16C3nvqtf39n8yxbUPzKqE7+eVb4nWg2WfvXT387stpgvbaET4t6Uy13uNjj+m1z Fjzg==
MIME-Version 1.0
X-Received by 10.50.21.10 with SMTP id r10mr18297665ige.94.1440688864089; Thu, 27 Aug 2015 08:21:04 -0700 (PDT)
In-Reply-To <CAPM-O+zKiDZv5AHDtKvaWQF2o+QzDsrCqjELb88rykJPuVTwmA@mail.gmail.com>
References <mailman.5281.1241779129.11746.python-list@python.org> <a3d78f37-f085-444c-97a2-f67d0ef450a1@googlegroups.com> <CAPTjJmo3dK367jfL7k8dmonPympMVKN+KyReOAFwa0i49jT7ag@mail.gmail.com> <CAPM-O+zKiDZv5AHDtKvaWQF2o+QzDsrCqjELb88rykJPuVTwmA@mail.gmail.com>
Date Fri, 28 Aug 2015 01:21:03 +1000
Subject Re: php to python code converter
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.20+
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.80.1440688867.11709.python-list@python.org> (permalink)
Lines 11
NNTP-Posting-Host 2001:888:2000:d::a6
X-Trace 1440688867 news.xs4all.nl 23833 [2001:888:2000:d::a6]:44511
X-Complaints-To abuse@xs4all.nl
Xref csiph.com comp.lang.python:95699

Show key headers only | View raw


On Fri, Aug 28, 2015 at 1:06 AM, Joel Goldstick
<joel.goldstick@gmail.com> wrote:
> Chris, I think you are missing a left paren

Borrow one of the ones from inside the quoted string, there's plenty
of spares. They won't notice one missing. I'm fairly sure the rest of
the code is syntactically valid, though.

But I did get a sign backward. I'll leave it to the OP to figure that part out.

ChrisA

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


Thread

Re: php to python code converter parsict@gmail.com - 2015-08-27 07:33 -0700
  Re: php to python code converter Chris Angelico <rosuav@gmail.com> - 2015-08-28 00:56 +1000
  Re: php to python code converter Joel Goldstick <joel.goldstick@gmail.com> - 2015-08-27 11:06 -0400
  Re: php to python code converter Chris Angelico <rosuav@gmail.com> - 2015-08-28 01:21 +1000
  Re: php to python code converter Joel Goldstick <joel.goldstick@gmail.com> - 2015-08-27 11:48 -0400

csiph-web