[파이썬] 서버 mac address 가져오기 windows
webserver.py----------------------------------------------------------------------------------- from BaseHTTPServer import BaseHTTPRequestHandler,HTTPServer,socket import sys,os PORT_NUMBER = 8080 def getMacAddress(): if sys.platform=='win32': for line in os.popen("ipconfig /all"): print(line.lstrip())#물리적 주소 or Physical address if line.lstrip().startswith('물'): mac = line.split(':')[1].strip()...
Python
2017. 5. 17. 18:30
공지사항
최근에 올라온 글
최근에 달린 댓글
- Total
- Today
- Yesterday
링크
TAG
- websocket
- IT-PMP
- Python
- 파이썬프레임워크
- 디지털서명
- WSS
- signtool
- 타임스탬프
- 사용법
- 명령어
- 서버주소
- stamp
- 안드로이드 화면 밝기 조절
- qwebview
- SW대회
- 더불어 민주당
- 온라인저지
- Android
- 코드스쿨
- 프로그래밍대회
- 관련사이트
- 자유한국당
- .svn
- 소프트웨어대회
- ORACLE 프로시져생성
- 파이썬
- setup.py
- PyQt
- 프로젝트관리전문가
- 리눅스
일 | 월 | 화 | 수 | 목 | 금 | 토 |
---|---|---|---|---|---|---|
1 | 2 | 3 | 4 | 5 | ||
6 | 7 | 8 | 9 | 10 | 11 | 12 |
13 | 14 | 15 | 16 | 17 | 18 | 19 |
20 | 21 | 22 | 23 | 24 | 25 | 26 |
27 | 28 | 29 | 30 |
글 보관함