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


Groups > comp.lang.python > #50756

Re: GeoIP2 for retrieving city and region ?

Path csiph.com!v102.xanadu-bbs.net!xanadu-bbs.net!feeder.erje.net!eu.feeder.erje.net!xlned.com!feeder1.xlned.com!newsfeed.xs4all.nl!newsfeed1.news.xs4all.nl!xs4all!newsgate.cistron.nl!newsgate.news.xs4all.nl!post.news.xs4all.nl!not-for-mail
Return-Path <joel.goldstick@gmail.com>
X-Original-To python-list@python.org
Delivered-To python-list@mail.python.org
X-Spam-Status OK 0.060
X-Spam-Evidence '*H*': 0.88; '*S*': 0.00; '16,': 0.03; 'api': 0.11; 'cc:addr:python-list': 0.11; 'python': 0.11; 'index.html': 0.16; 'script?': 0.16; 'subject: ?': 0.16; 'wrote:': 0.18; 'code.': 0.18; 'implementing': 0.19; '>>>': 0.22; 'cc:addr:python.org': 0.22; 'browsers': 0.24; 'cc:2**0': 0.24; 'script': 0.25; 'this:': 0.26; 'pass': 0.26; 'header:In-Reply-To:1': 0.27; 'michael': 0.29; 'message-id:@mail.gmail.com': 0.30; 'url:mailman': 0.30; 'cgi': 0.31; 'embed': 0.31; 'yes.': 0.31; 'anyone': 0.31; 'url:python': 0.33; 'received:google.com': 0.35; 'there': 0.35; 'url:listinfo': 0.36; 'url:org': 0.36; 'ajax': 0.38; 'pm,': 0.38; 'url:mail': 0.40; 'browser': 0.61; 'first': 0.61; '8bit%:92': 0.71; '8bit%:100': 0.72; 'url:info': 0.73; 'jul': 0.74; 'geo': 0.84; 'joel': 0.91; 'outcome': 0.93; '2013': 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 :cc:content-type; bh=9GOkRMa+gSd1HMjOmGssy+YOsJ8WQfbmJITDwL3khfU=; b=pcxQsNYCO3sdztcZ/7vGMkmE3U2UKyalicILhLaczLnXMtTlZ5+1Qq1RWvRe0wrYNo 3kStkVmYITXHOlBqS+DxsBAZYDK6MU+dJclWf4p+8+7tcr2SL2FwOmu9p0NGBMY2WwzA uEfP2oyeC44uDBd7Hwyrud9izettRI3IySrFlaDJPbdClIAbfkoCza5IZdBqnxeJYTc5 /rlwmXcwNMMwG2v/E4x+wRmhX2yE3lLNLUU3SYnyq+fxrA1xI5SL6IeltqGI0uByFxnm vix8/643pQ4bzqggrB1SRldkOj7+ZOCtTTKAFFHVl8DZ877GQr0/71ifv12Jve8EQ2hM /wRQ==
MIME-Version 1.0
X-Received by 10.52.27.232 with SMTP id w8mr763964vdg.111.1374004293546; Tue, 16 Jul 2013 12:51:33 -0700 (PDT)
In-Reply-To <ks47p8$pbp$1@news.grnet.gr>
References <krp37d$jt$2@news.grnet.gr> <mailman.4638.1373643167.3114.python-list@python.org> <krp8nl$9kb$1@news.grnet.gr> <krpb3c$eol$1@news.grnet.gr> <mailman.4659.1373666847.3114.python-list@python.org> <krqop8$eol$2@news.grnet.gr> <mailman.4680.1373734493.3114.python-list@python.org> <krs3jj$vnq$1@news.grnet.gr> <roy-225D18.14190013072013@70-1-84-166.pools.spcsdns.net> <krs5uc$6ht$1@news.grnet.gr> <mailman.4687.1373756278.3114.python-list@python.org> <ks47p8$pbp$1@news.grnet.gr>
Date Tue, 16 Jul 2013 15:51:33 -0400
Subject Re: GeoIP2 for retrieving city and region ?
From Joel Goldstick <joel.goldstick@gmail.com>
To Νικόλας <nikos@superhost.gr>
Content-Type multipart/alternative; boundary=20cf307abcfdd6395904e1a64dad
Cc "python-list@python.org" <python-list@python.org>
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 <http://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 <http://mail.python.org/mailman/listinfo/python-list>, <mailto:python-list-request@python.org?subject=subscribe>
Newsgroups comp.lang.python
Message-ID <mailman.4781.1374004301.3114.python-list@python.org> (permalink)
Lines 94
NNTP-Posting-Host 2001:888:2000:d::a6
X-Trace 1374004301 news.xs4all.nl 15892 [2001:888:2000:d::a6]:37129
X-Complaints-To abuse@xs4all.nl
Xref csiph.com comp.lang.python:50756

Show key headers only | View raw


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

On Tue, Jul 16, 2013 at 3:43 PM, Νικόλας <nikos@superhost.gr> wrote:

> Στις 14/7/2013 1:57 πμ, ο/η Michael Torrie έγραψε:
>
>> On 07/13/2013 12:23 PM, Νικόλας wrote:
>>
>>> Do you know a way of implementing anyone of these methods to a script?
>>>
>>
>> Yes.  Modern browsers all support a location API in the browser for
>> javascript.  See this:
>>
>> http://diveintohtml5.info/**geolocation.html<http://diveintohtml5.info/geolocation.html>
>>
>>
> Lest say i embed inside my index.html the Javascript Geo Code.
>
> Is there a way to pass Javascript's outcome to my Python cgi script
> somehow?
>
> Can Javascript and Python Cgi somehow exchnage data?
>
> --
> What is now proved was at first only imagined!
> --
> http://mail.python.org/**mailman/listinfo/python-list<http://mail.python.org/mailman/listinfo/python-list>
>

Learn about ajax


-- 
Joel Goldstick
http://joelgoldstick.com

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


Thread

GeoIP2 for retrieving city and region ? Νικόλας <nikos@superhost.gr> - 2013-07-12 17:18 +0300
  Re: GeoIP2 for retrieving city and region ? Dave Angel <davea@davea.name> - 2013-07-12 11:32 -0400
    Re: GeoIP2 for retrieving city and region ? Νικόλας <nikos@superhost.gr> - 2013-07-12 18:52 +0300
      Re: GeoIP2 for retrieving city and region ? Νικόλας <nikos@superhost.gr> - 2013-07-12 19:32 +0300
        Re: GeoIP2 for retrieving city and region ? Grant Edwards <invalid@invalid.invalid> - 2013-07-12 16:38 +0000
          Re: GeoIP2 for retrieving city and region ? Chris Angelico <rosuav@gmail.com> - 2013-07-13 02:47 +1000
          Re: GeoIP2 for retrieving city and region ? Dennis Lee Bieber <wlfraed@ix.netcom.com> - 2013-07-12 19:04 -0400
            Re: GeoIP2 for retrieving city and region ? Νικόλας <nikos@superhost.gr> - 2013-07-13 08:48 +0300
              Re: GeoIP2 for retrieving city and region ? Chris Angelico <rosuav@gmail.com> - 2013-07-13 15:53 +1000
                Re: GeoIP2 for retrieving city and region ? Νικόλας <nikos@superhost.gr> - 2013-07-13 09:07 +0300
                Re: GeoIP2 for retrieving city and region ? Chris Angelico <rosuav@gmail.com> - 2013-07-13 16:22 +1000
                Re: GeoIP2 for retrieving city and region ? Νικόλας <nikos@superhost.gr> - 2013-07-13 09:28 +0300
                Re: GeoIP2 for retrieving city and region ? Lele Gaifax <lele@metapensiero.it> - 2013-07-13 10:12 +0200
                Re: GeoIP2 for retrieving city and region ? Dennis Lee Bieber <wlfraed@ix.netcom.com> - 2013-07-13 12:48 -0400
                Re: GeoIP2 for retrieving city and region ? Roy Smith <roy@panix.com> - 2013-07-13 12:59 -0400
                Re: GeoIP2 for retrieving city and region ? Wayne Werner <wayne@waynewerner.com> - 2013-07-13 13:35 -0500
          Re: GeoIP2 for retrieving city and region ? Chris Angelico <rosuav@gmail.com> - 2013-07-13 10:36 +1000
          Re: GeoIP2 for retrieving city and region ? Joel Goldstick <joel.goldstick@gmail.com> - 2013-07-12 19:42 -0400
        Re: GeoIP2 for retrieving city and region ? Ian Kelly <ian.g.kelly@gmail.com> - 2013-07-12 11:19 -0600
        Re: GeoIP2 for retrieving city and region ? Terry Reedy <tjreedy@udel.edu> - 2013-07-12 18:07 -0400
        Re: GeoIP2 for retrieving city and region ? MRAB <python@mrabarnett.plus.com> - 2013-07-12 23:07 +0100
          Re: GeoIP2 for retrieving city and region ? Νικόλας <nikos@superhost.gr> - 2013-07-13 08:32 +0300
            Re: GeoIP2 for retrieving city and region ? Dennis Lee Bieber <wlfraed@ix.netcom.com> - 2013-07-13 12:54 -0400
              Re: GeoIP2 for retrieving city and region ? Roy Smith <roy@panix.com> - 2013-07-13 13:09 -0400
              Re: GeoIP2 for retrieving city and region ? Νικόλας <nikos@superhost.gr> - 2013-07-13 20:43 +0300
                Re: GeoIP2 for retrieving city and region ? Roy Smith <roy@panix.com> - 2013-07-13 14:19 -0400
                Re: GeoIP2 for retrieving city and region ? Νικόλας <nikos@superhost.gr> - 2013-07-13 21:23 +0300
                Re: GeoIP2 for retrieving city and region ? Roy Smith <roy@panix.com> - 2013-07-13 14:30 -0400
                Re: GeoIP2 for retrieving city and region ? Michael Torrie <torriem@gmail.com> - 2013-07-13 16:57 -0600
                Re: GeoIP2 for retrieving city and region ? Νικόλας <nikos@superhost.gr> - 2013-07-16 22:43 +0300
                Re: GeoIP2 for retrieving city and region ? Joel Goldstick <joel.goldstick@gmail.com> - 2013-07-16 15:51 -0400
                Re: GeoIP2 for retrieving city and region ? Dennis Lee Bieber <wlfraed@ix.netcom.com> - 2013-07-16 20:51 -0400
                Re: GeoIP2 for retrieving city and region ? Chris Angelico <rosuav@gmail.com> - 2013-07-17 10:58 +1000
                Re: GeoIP2 for retrieving city and region ? Tim Chase <python.list@tim.thechases.com> - 2013-07-14 13:32 -0500
                Re: GeoIP2 for retrieving city and region ? Dennis Lee Bieber <wlfraed@ix.netcom.com> - 2013-07-13 14:21 -0400
                Re: GeoIP2 for retrieving city and region ? Νικόλας <nikos@superhost.gr> - 2013-07-13 21:28 +0300
                Re: GeoIP2 for retrieving city and region ? Chris Angelico <rosuav@gmail.com> - 2013-07-14 09:12 +1000
                Re: GeoIP2 for retrieving city and region ? Wayne Werner <wayne@waynewerner.com> - 2013-07-13 13:46 -0500
                Re: GeoIP2 for retrieving city and region ? Benjamin Kaplan <benjamin.kaplan@case.edu> - 2013-07-13 11:17 -0700
                Re: GeoIP2 for retrieving city and region ? Νικόλας <nikos@superhost.gr> - 2013-07-15 16:25 +0300
                Re: GeoIP2 for retrieving city and region ? Dennis Lee Bieber <wlfraed@ix.netcom.com> - 2013-07-15 20:34 -0400
                Re: GeoIP2 for retrieving city and region ? Michael Torrie <torriem@gmail.com> - 2013-07-15 20:48 -0600
                Re: GeoIP2 for retrieving city and region ? alex23 <wuwei23@gmail.com> - 2013-07-17 10:07 +1000
            Re: GeoIP2 for retrieving city and region ? Chris Angelico <rosuav@gmail.com> - 2013-07-14 03:03 +1000
        Re: GeoIP2 for retrieving city and region ? Michael Torrie <torriem@gmail.com> - 2013-07-12 16:15 -0600
      Re: GeoIP2 for retrieving city and region ? Joel Goldstick <joel.goldstick@gmail.com> - 2013-07-12 12:24 -0400
    Re: GeoIP2 for retrieving city and region ? Νικόλας <nikos@superhost.gr> - 2013-07-14 08:18 +0300
      Re: GeoIP2 for retrieving city and region ? Chris Angelico <rosuav@gmail.com> - 2013-07-14 15:24 +1000
        Re: GeoIP2 for retrieving city and region ? Νικόλας <nikos@superhost.gr> - 2013-07-14 10:51 +0300
  Re: GeoIP2 for retrieving city and region ? Chris Angelico <rosuav@gmail.com> - 2013-07-13 02:41 +1000

csiph-web