2007年06月04日 星期一 17:16
±ÈÈç: ÎÒÊdzɶ¼µÄÓû§,kooxooÖ±½Ó¾Íµ÷³É¶¼µÄÊý¾Ý¸øÎÒ,Èç¹ûÎÒÊÇÉϺ£µÄ,Ëý¾Í¸øÉϺ£µÄÊý¾Ý Õâ¸ö³ÇÊж¨Î»,ÊÇÕ¦ÕûµÄ ,ÊÇÅжÏIPÍø¶ÎÂð? ×÷¹ýµÄÅóÓÑ,˵˵°É... -------------- 下一部分 -------------- Ò»¸öHTML¸½¼þ±»ÒƳý... URL: http://python.cn/pipermail/python-chinese/attachments/20070604/2bc09c19/attachment.htm
2007年06月04日 星期一 17:21
http://www.maxmind.com/app/ip-location On 6/4/07, haur <hekun06在gmail.com> wrote: > 比如: > 我是成都的用户,kooxoo直接就调成都的数据给我,如果我是上海的,她就给上海的数据 > 这个城市定位,是咋整的 ,是判断IP网段吗? 作过的朋友,说说吧... > > _______________________________________________ > python-chinese > Post: send python-chinese在lists.python.cn > Subscribe: send subscribe to > python-chinese-request在lists.python.cn > Unsubscribe: send unsubscribe to > python-chinese-request在lists.python.cn > Detail Info: > http://python.cn/mailman/listinfo/python-chinese > -- In doG We Trust
2007年06月04日 星期一 17:30
Õâ¸öÊǸ¶·ÑµÄ·þÎñ°É ,Å·EÎʲ»ºÃ . ÔÚ07-6-4£¬hutuworm <hutuworm在gmail.com> дµÀ£º > > http://www.maxmind.com/app/ip-location > > On 6/4/07, haur <hekun06在gmail.com> wrote: > > ±ÈÈç: > > ÎÒÊdzɶ¼µÄÓû§,kooxooÖ±½Ó¾Íµ÷³É¶¼µÄÊý¾Ý¸øÎÒ,Èç¹ûÎÒÊÇÉϺ£µÄ,Ëý¾Í¸øÉϺ£µÄÊý¾Ý > > Õâ¸ö³ÇÊж¨Î»,ÊÇÕ¦ÕûµÄ ,ÊÇÅжÏIPÍø¶ÎÂð? ×÷¹ýµÄÅóÓÑ,˵˵°É... > > > > _______________________________________________ > > python-chinese > > Post: send python-chinese在lists.python.cn > > Subscribe: send subscribe to > > python-chinese-request在lists.python.cn > > Unsubscribe: send unsubscribe to > > python-chinese-request在lists.python.cn > > Detail Info: > > http://python.cn/mailman/listinfo/python-chinese > > > > > -- > In doG We Trust > _______________________________________________ > python-chinese > Post: send python-chinese在lists.python.cn > Subscribe: send subscribe to python-chinese-request在lists.python.cn > Unsubscribe: send unsubscribe to python-chinese-request在lists.python.cn > Detail Info: http://python.cn/mailman/listinfo/python-chinese -------------- 下一部分 -------------- Ò»¸öHTML¸½¼þ±»ÒƳý... URL: http://python.cn/pipermail/python-chinese/attachments/20070604/405dda35/attachment.html
2007年06月04日 星期一 20:00
ÅжÏIP¶Î¾Í¿ÉÒÔÁË ÄãÐèÒªÒ»¸öIP¿â -------------- 下一部分 -------------- Ò»¸öHTML¸½¼þ±»ÒƳý... URL: http://python.cn/pipermail/python-chinese/attachments/20070604/0ea14b1a/attachment.html
2007年06月05日 星期二 09:40
ÄÇÈ¥ÕÒÕâ¸öIP¿âѽ ....... ÔÚ07-6-4£¬·çÏò±ê <vaneoooo在gmail.com> дµÀ£º > > ÅжÏIP¶Î¾Í¿ÉÒÔÁË > > ÄãÐèÒªÒ»¸öIP¿â > > _______________________________________________ > python-chinese > Post: send python-chinese在lists.python.cn > Subscribe: send subscribe to python-chinese-request在lists.python.cn > Unsubscribe: send unsubscribe to python-chinese-request在lists.python.cn > Detail Info: http://python.cn/mailman/listinfo/python-chinese > -------------- 下一部分 -------------- Ò»¸öHTML¸½¼þ±»ÒƳý... URL: http://python.cn/pipermail/python-chinese/attachments/20070605/77f3c8e1/attachment.html
2007年06月05日 星期二 09:52
On 6/5/07, haur <hekun06在gmail.com> wrote: > 那去找这个IP库呀 ....... > > > 在07-6-4,风向标 <vaneoooo在gmail.com> 写道: > > > > 判断IP段就可以了 > > > > 你需要一个IP库 http://www.google.com/search?q=qqwry.dat+python -- simple is good http://brucewang.net skype: number5
2007年06月05日 星期二 10:02
лл~~ 2007/6/5, Bruce Wang <number5在gmail.com>: > > On 6/5/07, haur <hekun06在gmail.com> wrote: > > ÄÇÈ¥ÕÒÕâ¸öIP¿âѽ ....... > > > > > > ÔÚ07-6-4£¬·çÏò±ê <vaneoooo在gmail.com> дµÀ£º > > > > > > ÅжÏIP¶Î¾Í¿ÉÒÔÁË > > > > > > ÄãÐèÒªÒ»¸öIP¿â > > http://www.google.com/search?q=qqwry.dat+python > > > -- > simple is good > http://brucewang.net > skype: number5 > _______________________________________________ > python-chinese > Post: send python-chinese在lists.python.cn > Subscribe: send subscribe to python-chinese-request在lists.python.cn > Unsubscribe: send unsubscribe to python-chinese-request在lists.python.cn > Detail Info: http://python.cn/mailman/listinfo/python-chinese -------------- 下一部分 -------------- Ò»¸öHTML¸½¼þ±»ÒƳý... URL: http://python.cn/pipermail/python-chinese/attachments/20070605/d79c34bd/attachment.html
2007年06月05日 星期二 17:24
GeoIPÕ¦Ö»ÄÜÌáÈ¡µ½¹ú¼Ò,²»ÄÜÌáÈ¡³ÇÊÐÊý¾ÝÄØ , È»ºóÕâ¸öÌáÈ¡·½·¨,ÀÏÒª±¨ÈçÏ´íÎóÚ« #!encoding=utf-8 import GeoIP gi = GeoIP.open("/usr/local/share/GeoIP/GeoIPCity.dat",GeoIP.GEOIP_STANDARD) gir = gi.record_by_name("www.google.com") #gir = gi.record_by_addr("24.24.24.24") if gir != None: print gir['country_code'] print gir['country_code3'] print gir['country_name'] print gir['region'] print gir['city'] print gir['postal_code'] print gir['latitude'] print gir['longitude'] print gir['dma_code'] print gir['area_code'] ´íÎó: Error Opening file /usr/local/share/GeoIP/GeoIPCity.dat Traceback (most recent call last): File "/var/../getcity2.py", line 5, in ? gi = GeoIP.open("/usr/local/share/GeoIP/GeoIPCity.dat", GeoIP.GEOIP_STANDARD) SystemError: error return without exception set ÓùýµÄ´óϺ,°ï°ïæÀ.... -------------- 下一部分 -------------- Ò»¸öHTML¸½¼þ±»ÒƳý... URL: http://python.cn/pipermail/python-chinese/attachments/20070605/823c01ce/attachment.html
2007年06月05日 星期二 17:29
ʲô´¿Õæ°¡£¬ÂÒÆß°ËÔãµÄIP¿âÒ»¶Ñ °®·Å¹·°®°Ù¶È¶¼ÐÐ ºÃµÄIP¿â¾«È·µ½ËÞÉáÂ¥¶¼ÓÐ -------------- 下一部分 -------------- Ò»¸öHTML¸½¼þ±»ÒƳý... URL: http://python.cn/pipermail/python-chinese/attachments/20070605/0593bfb0/attachment.htm
2007年06月05日 星期二 17:34
ÔÚÄÇô,·çÐÖ,µ½ÊǸø¸öÁ¬½Óѽ ... ÔÚ07-6-5£¬·çÏò±ê <vaneoooo在gmail.com> дµÀ£º > > ʲô´¿Õæ°¡£¬ÂÒÆß°ËÔãµÄIP¿âÒ»¶Ñ > °®·Å¹·°®°Ù¶È¶¼ÐÐ > > ºÃµÄIP¿â¾«È·µ½ËÞÉáÂ¥¶¼ÓÐ > > _______________________________________________ > python-chinese > Post: send python-chinese在lists.python.cn > Subscribe: send subscribe to python-chinese-request在lists.python.cn > Unsubscribe: send unsubscribe to python-chinese-request在lists.python.cn > Detail Info: http://python.cn/mailman/listinfo/python-chinese > -------------- 下一部分 -------------- Ò»¸öHTML¸½¼þ±»ÒƳý... URL: http://python.cn/pipermail/python-chinese/attachments/20070605/6d5319fe/attachment.html
2007年06月05日 星期二 17:55
bruce wang˵µÄÄǸö¾ÍÊÇ´¿ÕæµÄ°¡ On 6/5/07, haur <hekun06在gmail.com> wrote: > > ÔÚÄÇô,·çÐÖ,µ½ÊǸø¸öÁ¬½Óѽ ... > > ÔÚ07-6-5£¬·çÏò±ê <vaneoooo在gmail.com> дµÀ£º > > > > ʲô´¿Õæ°¡£¬ÂÒÆß°ËÔãµÄIP¿âÒ»¶Ñ > > °®·Å¹·°®°Ù¶È¶¼ÐÐ > > > > ºÃµÄIP¿â¾«È·µ½ËÞÉáÂ¥¶¼ÓÐ > > > > _______________________________________________ > > python-chinese > > Post: send python-chinese在lists.python.cn > > Subscribe: send subscribe to python-chinese-request在lists.python.cn > > Unsubscribe: send unsubscribe to > > python-chinese-request在lists.python.cn > > Detail Info: http://python.cn/mailman/listinfo/python-chinese > > > > > _______________________________________________ > python-chinese > Post: send python-chinese在lists.python.cn > Subscribe: send subscribe to python-chinese-request在lists.python.cn > Unsubscribe: send unsubscribe to python-chinese-request在lists.python.cn > Detail Info: http://python.cn/mailman/listinfo/python-chinese > -------------- 下一部分 -------------- Ò»¸öHTML¸½¼þ±»ÒƳý... URL: http://python.cn/pipermail/python-chinese/attachments/20070605/a0d12c8e/attachment.htm
2007年06月05日 星期二 17:57
GeoIP¿ÉÒÔÓÃÁË,IPÊý¾Ý¿â26MB,ÎÒ¿´»¹Êǽ«¾ÍÓúÃÁË .... -------------- 下一部分 -------------- Ò»¸öHTML¸½¼þ±»ÒƳý... URL: http://python.cn/pipermail/python-chinese/attachments/20070605/ef849f7a/attachment.html
2007年06月06日 星期三 18:22
GeoIP还不错~ 在 07-6-5,haur<hekun06在gmail.com> 写道: > GeoIP可以用了,IP数据库26MB,我看还是将就用好了 .... > > _______________________________________________ > python-chinese > Post: send python-chinese在lists.python.cn > Subscribe: send subscribe to > python-chinese-request在lists.python.cn > Unsubscribe: send unsubscribe to > python-chinese-request在lists.python.cn > Detail Info: > http://python.cn/mailman/listinfo/python-chinese >
Zeuux © 2025
京ICP备05028076号