Python论坛  - 讨论区

标题:[python-chinese] 回复: python-chinese Digest, Vol 31, Issue 51

2006年07月08日 星期六 10:10

西欧 杨 yxoapy at yahoo.com.cn
Sat Jul 8 10:10:44 HKT 2006

ÄãÃǺÃ:
  СµÜ³õѧpython,Çë¸øÍƼö±¾ÈëÃŵÄÊé°É,ÏÈллÁË.

python-chinese-request at lists.python.cn дµÀ£º
  Send python-chinese mailing list submissions to
python-chinese at lists.python.cn

To subscribe or unsubscribe via the World Wide Web, visit
http://python.cn/mailman/listinfo/python-chinese
or, via email, send a message with subject or body 'help' to
python-chinese-request at lists.python.cn

You can reach the person managing the list at
python-chinese-owner at lists.python.cn

When replying, please edit your Subject line so it is more specific
than "Re: Contents of python-chinese digest..."


Today's Topics:

1. Re: ?????????? (WhiteFox)
2. Re: ??????Ubuntu Linux 6.06????? ( ??? )
3. Re: ????Python???I/O?? (Yingbo Qiu)
4. Re: ??????????? (WhiteFox)
5. Re: ??binary tree (WhiteFox)
6. Re: DB API?fetch????????,??????? (Ni ZhengGang)
7. Re: ????????????????? (Linker Lin)
8. Re: ????????????????? (WhiteFox)


----------------------------------------------------------------------

Message: 1
Date: Sat, 8 Jul 2006 00:45:07 +0800
From: WhiteFox 
Subject: Re: [python-chinese] ??????????
To: python-chinese at lists.python.cn
Message-ID:
<71a06cc90607070945v43dc6d1fsb4930b4be62dec5a at mail.gmail.com>
Content-Type: text/plain; charset=UTF-8; format=flowed

我没太看明白楼主的意思,不知道是否可简化为凹多边形转换为凸多边形?
如果是的话,有个算法,就是从每一点做一条直线,如果存在一条直线,让其他点都在直线的一侧,那就是凸多边形,否则是凹多边形,那么可以删除这个顶点,再把其他点连接起来,这样对每个点判断一下,就可以把多余的顶点去掉了ã€?lt;br>
åœ?06-7-6,Xie Yanbo 写道ï¼?lt;br>> 请问有人熟悉对地理数据中区域边界路径的压缩算法吗?具体来说,就是一ç»?lt;br>> 经纬度的点组成的一个闭合路径,适当的删减一些节点,同时保持该路径的形状
> 基本不变的算法。也可以理解为对多边形的顶点进行删减的算法ã€?lt;br>>
> _______________________________________________
> python-chinese
> Post: send python-chinese at lists.python.cn
> Subscribe: send subscribe to python-chinese-request at lists.python.cn
> Unsubscribe: send unsubscribe to python-chinese-request at lists.python.cn
> Detail Info: http://python.cn/mailman/listinfo/python-chinese
>
>

------------------------------

Message: 2
Date: Fri, 7 Jul 2006 21:12:15 +0800
From: " ??? " 
Subject: Re: [python-chinese] ??????Ubuntu Linux 6.06?????
To: python-chinese at lists.python.cn
Message-ID:
<75a310eb0607070612n25a475f9nf9a9e6b7ac791d87 at mail.gmail.com>
Content-Type: text/plain; charset="gb2312"

ÉÏ´Î˭˵Óеģ¿ÎÒÁôÁ˵ØÖ·²»¸øÎÒ¡£

2006/7/7, Bruce Wang :
>
>
>
> On 7/7/06, deland wrote:
> >
> > ÓÐDVD°æµÄÂð£¿
> >
> >
> ûÓÐDVD°æµÄ
>
> ÒªµÄ»°£¬×Ô¼ºÏÂÔØ×Ô¼º¿Ì°É
>
>
> --
> simple is good
> http://brucewang.net
>
> _______________________________________________
> python-chinese
> Post: send python-chinese at lists.python.cn
> Subscribe: send subscribe to python-chinese-request at lists.python.cn
> Unsubscribe: send unsubscribe to python-chinese-request at lists.python.cn
> Detail Info: http://python.cn/mailman/listinfo/python-chinese
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.exoweb.net/pipermail/python-chinese/attachments/20060707/00b4cbb1/attachment-0001.htm

------------------------------

Message: 3
Date: Sat, 8 Jul 2006 00:55:25 +0800
From: "Yingbo Qiu" 
Subject: Re: [python-chinese] ????Python???I/O??
To: python-chinese at lists.python.cn
Message-ID:

Content-Type: text/plain; charset=GB2312; format=flowed

ºÇºÇ£¬ÎÒ python ÍêÈ«ÊÇÔÚÈëÃŽ׶Σ¬C »¹´ÕºÏ..

------------------------------

Message: 4
Date: Sat, 8 Jul 2006 00:56:02 +0800
From: WhiteFox 
Subject: Re: [python-chinese] ???????????
To: python-chinese at lists.python.cn
Message-ID:
<71a06cc90607070956l766b9aeakc33ae6601a126af7 at mail.gmail.com>
Content-Type: text/plain; charset=UTF-8; format=flowed

既然已经知道了两条直线的长度,那么根据解析几何的知识,可以通过一个顶点,算出另外两个点的轨迹方程,你循环的时候,只要遍历一次坐标,遍历到一个点的时候判断其他是否有两点分别在这两个方程上,这样循环层数就变成两层了,如果是壹千个点,那么要循环2000000次,而你以前要循çŽ?000000000次,这样应该快了不少吧,注意的是方程每次要转换到新坐标系中ã€?lt;br>
åœ?06-7-7,Gerald Lee 写道ï¼?lt;br>> 我有一组坐标数据(估计有过万个坐标),其中含有的一些坐标是以三个为一组可以组成品字形,倒品字形等(就是两个点在一个直线上,另外一个点在该直线的垂线上)。已知垂直的这两条线的长度,将组成品字形的坐标以组为单位分离出来ã€?lt;br>> 目前我用的是遍历的方法,方式要循环坐标个数的3次方个,对于大数据量情况下不合适(用户等待时间太长了)。我认为其实可以用两次循环就可以搞定的(甚至一次),但是想不出简单的方法。大家能否给个思路呢?
>
>
>
> --
> My Blog >> http://leejd.cndev.org
> My QQ >> 9847243
>
> _______________________________________________
> python-chinese
> Post: send python-chinese at lists.python.cn
> Subscribe: send subscribe to python-chinese-request at lists.python.cn
> Unsubscribe: send unsubscribe to python-chinese-request at lists.python.cn
> Detail Info: http://python.cn/mailman/listinfo/python-chinese
>
>

------------------------------

Message: 5
Date: Sat, 8 Jul 2006 01:05:35 +0800
From: WhiteFox 
Subject: Re: [python-chinese] ??binary tree
To: python-chinese at lists.python.cn
Message-ID:
<71a06cc90607071005w7750eab1t127749ed2b7c8cdd at mail.gmail.com>
Content-Type: text/plain; charset=UTF-8; format=flowed

有些地方ç”?叉树很方便,你要遇到那样的项目才会体会到

------------------------------

Message: 6
Date: Sat, 08 Jul 2006 01:09:09 +0800
From: Ni ZhengGang 
Subject: Re: [python-chinese] DB API?fetch????????,???????
To: python-chinese at lists.python.cn
Message-ID: <44AE9535.4040607 at twinisa.com>
Content-Type: text/plain; charset=GB2312

ÓÃϱêÀ´»ñµÃÏàÓ¦µÄÖµºÜÕý³£¡£
µ±È»£¬Äã×îºÃд³É SELECT A,B,C FROM T ¶ø¾¡Á¿ÉÙд SELECT * FROM T¡£
ÕâÑù¾ÍÒ»µãÒ²²»»ìÂÒÁËÊDz»ÊÇ£¿

> ÊÇÎÒ²»»áÓû¹ÊÇÔõôµÄ,Ö»ÄÜͨ¹ýÊý×ÖϱêÀ´È¡µÃ×Ö¶ÎÖµ
> Èç¹ûÕæµÄÊÇÕâÑùÔõô´ÓÀ´Ã»ÌýÈË˵Õâ¸öÊÂÄØ?ÊDz»ÊÇÓÐʲô°ì·¨¾ÍÎÒ²»ÖªµÀ?
> ------------------------------------------------------------------------
>
> _______________________________________________
> python-chinese
> Post: send python-chinese at lists.python.cn
> Subscribe: send subscribe to python-chinese-request at lists.python.cn
> Unsubscribe: send unsubscribe to python-chinese-request at lists.python.cn
> Detail Info: http://python.cn/mailman/listinfo/python-chinese



------------------------------

Message: 7
Date: Sat, 8 Jul 2006 01:13:05 +0800
From: "Linker Lin" 

Subject: Re: [python-chinese] ?????????????????
To: python-chinese at lists.python.cn
Message-ID:
<2300acfb0607071013h13c712cbj82bbe9dae6c6db5a at mail.gmail.com>
Content-Type: text/plain; charset="utf-8"

当然不同ã€?lt;br>占用空间一般大于实际大小,(在非NTFS压缩时),半个格子的文件è¦?lt;br>占用一个整格子的空间ã€?lt;br>
On 7/7/06, batfree wrote:
>
> 最近在看与emule有关的东西,发现emule的临时文件中显示的文件有文件大小和占
> 用空间两项。其中文件大小是emule将要下载的文件的实际大小,而占用空间是
> emule已经下载的文件大小,两者好像没有什么关系。从OS.stat得到的是文件çš?lt;br>> 大小而不是占用空间的大小,如何才能获得文件的实际占用空间呢?
> 另外,文件大小和占用空间为什么不一致呢?PYTHON里如何实现和建立大å°?lt;br>> 与占用空间不一致的文件呢?
>
> _______________________________________________
> python-chinese
> Post: send python-chinese at lists.python.cn
> Subscribe: send subscribe to python-chinese-request at lists.python.cn
> Unsubscribe: send unsubscribe to python-chinese-request at lists.python.cn
> Detail Info: http://python.cn/mailman/listinfo/python-chinese
>



-- 
Linker M Lin
linkerlin88 at gmail.com
linker.m.lin at gmail.com
※※※※※※※※â€?lt;br> ※※我思故我在※â€?lt;br> ※※※※※※※※â€?lt;br>-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.exoweb.net/pipermail/python-chinese/attachments/20060708/ab035396/attachment-0001.html

------------------------------

Message: 8
Date: Sat, 8 Jul 2006 01:23:47 +0800
From: WhiteFox 
Subject: Re: [python-chinese] ?????????????????
To: python-chinese at lists.python.cn
Message-ID:
<71a06cc90607071023y6f6381d0te6d4211799efdf4c at mail.gmail.com>
Content-Type: text/plain; charset=UTF-8; format=flowed

是的。。ã€?lt;br>
> On 7/7/06, batfree wrote:
> > 最近在看与emule有关的东西,发现emule的临时文件中显示的文件有文件大小和占
> > 用空间两项。其中文件大小是emule将要下载的文件的实际大小,而占用空间是
> > emule已经下载的文件大小,两者好像没有什么关系。从OS.stat得到的是文件çš?lt;br>> > 大小而不是占用空间的大小,如何才能获得文件的实际占用空间呢?
> > 另外,文件大小和占用空间为什么不一致呢?PYTHON里如何实现和建立大å°?lt;br>> > 与占用空间不一致的文件呢?
> >
> > _______________________________________________
> > python-chinese
> > Post: send python-chinese at lists.python.cn
> > Subscribe: send subscribe to
> python-chinese-request at lists.python.cn
> > Unsubscribe: send unsubscribe to
> python-chinese-request at lists.python.cn
> > Detail Info:
> http://python.cn/mailman/listinfo/python-chinese
> >
>
>
>
> --
> Linker M Lin
> linkerlin88 at gmail.com
> linker.m.lin at gmail.com
> ※※※※※※※※â€?lt;br>> ※※我思故我在※â€?lt;br>> ※※※※※※※※â€?lt;br>> _______________________________________________
> python-chinese
> Post: send python-chinese at lists.python.cn
> Subscribe: send subscribe to
> python-chinese-request at lists.python.cn
> Unsubscribe: send unsubscribe to
> python-chinese-request at lists.python.cn
> Detail Info:
> http://python.cn/mailman/listinfo/python-chinese
>
>

------------------------------

_______________________________________________
python-chinese mailing list
python-chinese at lists.python.cn
http://python.cn/mailman/listinfo/python-chinese

End of python-chinese Digest, Vol 31, Issue 51
**********************************************


 		
---------------------------------
 Mp3·è¿ñËÑ-иèÈȸè¸ßËÙÏ   
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.exoweb.net/pipermail/python-chinese/attachments/20060708/da929552/attachment.htm

[导入自Mailman归档:http://www.zeuux.org/pipermail/zeuux-python]

2006年07月08日 星期六 20:16

ye jun dionysus1016 at gmail.com
Sat Jul 8 20:16:31 HKT 2006

python 经典编程
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.exoweb.net/pipermail/python-chinese/attachments/20060708/77475b0d/attachment.html

[导入自Mailman归档:http://www.zeuux.org/pipermail/zeuux-python]

如下红色区域有误,请重新填写。

    你的回复:

    请 登录 后回复。还没有在Zeuux哲思注册吗?现在 注册 !

    Zeuux © 2025

    京ICP备05028076号