MAC地址可以考虑用netifaces-0.3.tar.gz是一个c写的python模块
据说还兼容windows平台,不过没试过,代码里确实有windows处理的部分
http://alastairs-place.net/netifaces
2007/11/27, Jiahua Huang <jhuangjia...@gmail.com>:
> 好像不能?
> huahua@huahua:~$ python
> Python 2.5.1 (r251:54863, Oct 5 2007, 13:36:32)
> [GCC 4.1.3 20070929 (prerelease) (Ubuntu 4.1.2-16ubuntu2)] on linux2
> Type "help", "copyright", "credits" or "license" for more information.
> >>> import uuid
> >>> uuid.uuid4()
> UUID('eec21c44-32ea-41bc-9548-24aa1da7f618')
> >>> uuid.uuid4()
> UUID('d319e43e-11ce-4487-8dcb-36cb62b4c3d4')
> On Nov 27, 2007 1:59 PM, 篱笆 <namel...@gmail.com> wrote:
> > 我也想知道uuid这块主要是用来处理什么的.
> > 2003下import uuid正常
> > linux 下好像不能 import uuid
> > 会报错.
> _______________________________________________
> python-chinese
> Post: send python-chin...@lists.python.cn
> Subscribe: send subscribe to python-chinese-requ...@lists.python.cn
> Unsubscribe: send unsubscribe to python-chinese-requ...@lists.python.cn
> Detail Info: http://python.cn/mailman/listinfo/python-chinese
--
Stable, Giant and Fastest what we chasing