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()...
파이썬에서 마우스를 컨트롤(클릭, 이동)하고 싶으면.. pywin32를 이용하면 되겠다. >>import win32api, win32con def click(x,y): win32api.SetCursorPos((x,y)) win32api.mouse_event(win32con.MOUSEEVENTF_LEFTDOWN,x,y,0,0) win32api.mouse_event(win32con.MOUSEEVENTF_LEFTUP,x,y,0,0) >>click(100,100) 자동 클릭 같은거 맹글때 유용하겠네요. 원본자료 : http://stackoverflow.com/questions/1181464/controlling-mouse-with-python
파이썬 웹프로그래밍 양대산맥? 많이 쓰이는 프레임워크 1. Flask is a microframework for Python based on Werkzeug, Jinja 2 and good intentions. And before you ask: It's BSD licensed! http://flask.pocoo.org/ 2. Django Django is a high-level Python Web framework that encourages rapid development and clean, pragmatic design. Built by experienced developers, it takes care of much of the hassle of Web development, so you can ..
Eclipse Python PyQt4 py2exe를 이용하여 Gui 프로그램을 작성하다 발견.. 개발중에 바로 실행하면 모든 이미지가 잘 나온다.. 그런데 py2exe로 wrapping 해서 실행하면 아래와 같이 깨짐.. setup.py data_files항목에 아래를 추가하면 정상 표출된다. (결국 dll이 동작안해서 그렇다. 기본적으로 png는 지원된다.) ('imageformats', ['C:\Python27\Lib\site-packages\PyQt4\plugins\imageformats\qgif4.dll']), ('imageformats', ['C:\Python27\Lib\site-packages\PyQt4\plugins\imageformats\qico4.dll']), ('imageformats'..
- Total
- Today
- Yesterday
- 파이썬
- setup.py
- 타임스탬프
- 서버주소
- 명령어
- 안드로이드 화면 밝기 조절
- 사용법
- 프로그래밍대회
- WSS
- 리눅스
- 더불어 민주당
- SW대회
- ORACLE 프로시져생성
- stamp
- Android
- Python
- 온라인저지
- IT-PMP
- qwebview
- 파이썬프레임워크
- 디지털서명
- 자유한국당
- 관련사이트
- websocket
- 프로젝트관리전문가
- 소프트웨어대회
- 코드스쿨
- signtool
- .svn
- 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 |