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


Groups > comp.lang.python > #65779

Google API and Python 2

Path csiph.com!v102.xanadu-bbs.net!xanadu-bbs.net!feeder.erje.net!eu.feeder.erje.net!newsfeed.xs4all.nl!newsfeed1a.news.xs4all.nl!xs4all!post.news.xs4all.nl!not-for-mail
Return-Path <jsf80238@gmail.com>
X-Original-To python-list@python.org
Delivered-To python-list@mail.python.org
X-Spam-Status OK 0.045
X-Spam-Evidence '*H*': 0.91; '*S*': 0.00; 'subject:Python': 0.06; 'api': 0.11; 'python': 0.11; 'iterating': 0.16; 'subject:API': 0.16; 'seems': 0.21; 'command': 0.22; 'programming': 0.22; 'library,': 0.24; 'message-id:@mail.gmail.com': 0.30; 'code': 0.31; 'file': 0.32; 'to:name:python-list': 0.33; 'could': 0.34; 'convert': 0.35; 'but': 0.35; 'received:google.com': 0.35; 'google': 0.35; 'version': 0.36; 'to:addr:python-list': 0.38; 'files': 0.38; 'to:addr:python.org': 0.39; 'entire': 0.61; 'simple': 0.61; 'download?': 0.84
DKIM-Signature v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:date:message-id:subject:from:to:content-type; bh=3FET1xKC/miNfRHxrKfd/WX+hwxCOWrF9kIIrjfo/TY=; b=e/qA68MzVhr9e2eve5zhBvsAXoRab+dGSVFRYpw+8Lfkk8dW0TPUh0CrtcZ13WFC/E jZvhFWp8qPr7IhcFKfs2NrsqhDbwzBFfbjqAhrp8OcpbR4YpivG8/eV2S8pTccKNW+ig 0GQf9Tw1LRTwCSJ8dy/wKBFRTXXP/mojaVM5ct3zUPRPy4KRAUmKPNufwvlUplUeeX0A SiS6ZmzJb0qDTAbMbPYkN6AOoh8MhTKmp+s8H8f2zXhHYuwpfgq1rv0L+e21Efa4bzXd G+oBmUH5xTsHVLRexWW0rjsFbM93jU/VBF4KjE6ZA0ipElvU3YB31j70Nad6ukC56eEx xlJA==
MIME-Version 1.0
X-Received by 10.140.100.135 with SMTP id s7mr5815087qge.114.1391981113838; Sun, 09 Feb 2014 13:25:13 -0800 (PST)
Date Sun, 9 Feb 2014 14:25:13 -0700
Subject Google API and Python 2
From Jason Friedman <jsf80238@gmail.com>
To python-list <python-list@python.org>
Content-Type multipart/alternative; boundary=001a1134e3aad32a3504f1ffdb66
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.6601.1391981123.18130.python-list@python.org> (permalink)
Lines 24
NNTP-Posting-Host 2001:888:2000:d::a6
X-Trace 1391981123 news.xs4all.nl 2964 [2001:888:2000:d::a6]:35017
X-Complaints-To abuse@xs4all.nl
Xref csiph.com comp.lang.python:65779

Show key headers only | View raw


[Multipart message — attachments visible in raw view] - view raw

I started Python programming in the last few years and so I started with
version 3 and 99% of my code is in version 3.

Much of Google API Python code seems to be Python 2.  I can convert the
occasional file to version 3 with 2to3, but for an entire 3rd-party
library, could it be as simple as using the find command (recursive) and
iterating over the *py files in the download?

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


Thread

Google API and Python 2 Jason Friedman <jsf80238@gmail.com> - 2014-02-09 14:25 -0700

csiph-web