Differences
This shows you the differences between two versions of the page.
Both sides previous revisionPrevious revisionNext revision | Previous revision |
python [2009/11/25 16:00] – suapapa | python [2013/08/03 05:04] (current) – external edit 127.0.0.1 |
---|
| |
</code> | </code> |
| ====== 한줄 로또 ====== |
| <code python> |
| >>> import random |
| >>> (lambda a:random.shuffle(a) or a[:6])(range(1, 46)) |
| </code> |
====== 찾으면 없는 라이브러리들 ====== | ====== 찾으면 없는 라이브러리들 ====== |
*[[http://snippets.dzone.com/posts/show/6944|UnixColorStyler]] | *[[http://snippets.dzone.com/posts/show/6944|UnixColorStyler]] |
*[[http://stackoverflow.com/questions/207234/list-of-ip-addresses-hostnames-from-local-network-in-python|list-of-ip-addresses-hostnames-from-local-network-in-python]] | *[[http://stackoverflow.com/questions/207234/list-of-ip-addresses-hostnames-from-local-network-in-python|list-of-ip-addresses-hostnames-from-local-network-in-python]] |
*[[http://alastairs-place.net/netifaces/|netifaces]] | *[[http://alastairs-place.net/netifaces/|netifaces]] |
| <code bash> |
| sudo apt-get install python-netifaces |
| |
| </code> |
| |
====== references ====== | ====== references ====== |
*[[http://blog.ianbicking.org/2008/03/30/python-html-parser-performance/|Python HTML Parser Performance]] 마크업언어 파싱 | *[[http://blog.ianbicking.org/2008/03/30/python-html-parser-performance/|Python HTML Parser Performance]] 마크업언어 파싱 |
*[[http://simonwillison.net/2008/Jan/8/daemon/|daemon.py]], [[http://www.python.org/dev/peps/pep-3143/|PEP3143]] 데몬 | *[[http://simonwillison.net/2008/Jan/8/daemon/|daemon.py]], [[http://www.python.org/dev/peps/pep-3143/|PEP3143]] 데몬 |