Path: csiph.com!usenet.pasdenom.info!dedibox.gegeweb.org!gegeweb.eu!nntpfeed.proxad.net!proxad.net!feeder1-2.proxad.net!usenet-fr.net!nerim.net!novso.com!newsfeed.xs4all.nl!newsfeed6.news.xs4all.nl!xs4all!post.news.xs4all.nl!not-for-mail Return-Path: X-Original-To: python-list@python.org Delivered-To: python-list@mail.python.org X-Spam-Status: OK 0.006 X-Spam-Evidence: '*H*': 0.99; '*S*': 0.00; '16,': 0.03; "subject:' ": 0.07; 'python': 0.09; 'learner': 0.09; 'lookup': 0.09; 'sep': 0.09; 'itself.': 0.11; 'charset:iso-8859-7': 0.15; 'entries,': 0.16; 'from:addr:rosuav': 0.16; 'from:name:chris angelico': 0.16; 'wrote:': 0.17; "shouldn't": 0.17; 'received:209.85.214.174': 0.21; 'required.': 0.22; 'random': 0.24; 'script': 0.24; 'header :In-Reply-To:1': 0.25; 'am,': 0.27; 'logging': 0.27; 'message- id:@mail.gmail.com': 0.27; 'subject:list': 0.28; "i'm": 0.29; 'addresses': 0.32; 'to:addr:python-list': 0.33; 'received:google.com': 0.34; 'received:209.85': 0.35; 'really': 0.36; 'created': 0.36; 'but': 0.36; 'received:209': 0.37; 'subject:: ': 0.38; 'sure': 0.38; 'to:addr:python.org': 0.39; 'received:209.85.214': 0.39; 'google': 0.39; 'header:Received:5': 0.40; 'your': 0.60; 'enjoy': 0.67; 'url:show': 0.84; "visitors'": 0.84; 'serious': 0.98 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 :content-type:content-transfer-encoding; bh=XRDavbx8kJgOnV/BLfX/0WgeuX3CF8gakgeKAFrW/NQ=; b=Ty3rmY3t0Q9hCoZ6NAdkmA/4L04iuK9kDhFdOVpCjKrPLPNcT+bxnvGzY9lopUOfoZ 3wDp0OLtULKudPeqKm5Cf/s0GlkrP6asmNiV8+xzTdr2uxO5sY10ea5VVYsAc7Fa++3k J8m0rUqPPnL4S+EddnssEe5ZQIKHuyouoRdngt0kuv3BW3AnavM3+BtvGAsW2NFYaXz/ CEytrnZwhR68qPmq/j4gQFyYKnZlW4PXZvZEGq2FVjfNqv0XKTcbxjieiYHJ4hV3vw0j j7CXcKKAiGBukyb2l429vQVS5QYK0B1ja1dw7XRKvrASP90tfmXlmip56eLoZAf4r9My YckQ== MIME-Version: 1.0 In-Reply-To: <29a8587f-9d7d-4965-b709-b6d5c70ac3a2@googlegroups.com> References: <071ad036-77ca-42d3-b68d-0dd3e3fac43e@googlegroups.com> <29a8587f-9d7d-4965-b709-b6d5c70ac3a2@googlegroups.com> Date: Sun, 16 Sep 2012 01:46:33 +1000 Subject: Re: cannot concatenate 'str' and 'list' objects From: Chris Angelico To: python-list@python.org Content-Type: text/plain; charset=ISO-8859-7 Content-Transfer-Encoding: quoted-printable X-BeenThere: python-list@python.org X-Mailman-Version: 2.1.15 Precedence: list List-Id: General discussion list for the Python programming language List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Newsgroups: comp.lang.python Message-ID: Lines: 18 NNTP-Posting-Host: 2001:888:2000:d::a6 X-Trace: 1347723996 news.xs4all.nl 6877 [2001:888:2000:d::a6]:49328 X-Complaints-To: abuse@xs4all.nl Xref: csiph.com comp.lang.python:29246 On Sun, Sep 16, 2012 at 1:33 AM, =CD=E9=EA=FC=EB=E1=EF=F2 =CA=EF=FD=F1=E1= =F2 wrote: > You are right but iam a new python learner and i created this logging sys= tem script as a poject to better learn the lalguage itself. > > I can always use google analytics for serious visitor logging. > > Apart from that i enjoy reading my logs by typing: > > http://superhost.gr/?show=3Dlog Yes, and I'm sure random visitors will enjoy reading them too, with no authentication required. You really shouldn't make all your visitors' IP addresses and usage stats public. Also, you may want to consider recording IP addresses for the "reverse dns lookup failed" entries, as there'll be a lot of them :) ChrisA