python
Differences
This shows you the differences between two versions of the page.
Both sides previous revisionPrevious revisionNext revision | Previous revision | ||
python [2009/11/25 15:46] – suapapa | python [2013/08/03 05:04] (current) – external edit 127.0.0.1 | ||
---|---|---|---|
Line 13: | Line 13: | ||
</ | </ | ||
+ | ====== 한줄 로또 ====== | ||
+ | <code python> | ||
+ | >>> | ||
+ | >>> | ||
+ | </ | ||
====== 찾으면 없는 라이브러리들 ====== | ====== 찾으면 없는 라이브러리들 ====== | ||
*[[http:// | *[[http:// | ||
Line 19: | Line 23: | ||
<code txt> | <code txt> | ||
socket.gethostbyname(socket.getfqdn()) | socket.gethostbyname(socket.getfqdn()) | ||
+ | socket.gethostbyname_ex(socket.gethostname())[2] | ||
+ | </ | ||
+ | *[[http:// | ||
+ | *[[http:// | ||
+ | <code bash> | ||
+ | sudo apt-get install python-netifaces | ||
+ | |||
</ | </ | ||
python.1259163961.txt.gz · Last modified: 2013/08/03 05:04 (external edit)