====== 문서화 ======
# -*- coding: utf-8 -*-
# vim: et sw=4 fenc=utf-8:
# This file is part of App.
# Copyright (C) 2009 by Homin Lee
#
# This program is free software; you can redistribute it and/or modify
# it under the terms of the GNU General Public License as published by
# the Free Software Foundation; either version 2 of the License, or
# (at your option) any later version.
====== 한줄 로또 ======
>>> import random
>>> (lambda a:random.shuffle(a) or a[:6])(range(1, 46))
====== 찾으면 없는 라이브러리들 ======
*[[http://snippets.dzone.com/posts/show/6944|UnixColorStyler]]
*[[http://jeetworks.org/node/43|Python Code Snippet to Get External IP Address]]
socket.gethostbyname(socket.getfqdn())
socket.gethostbyname_ex(socket.gethostname())[2]
*[[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]]
sudo apt-get install python-netifaces
====== references ======
*[[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]] 데몬