====== Python ======
* [[python:debug]]
===== 의미있는 주석 =====
#!/usr/bin/env python # 실행 스크립트 파일 제일 위에 추가
===== Web Server =====
* https://github.com/squeaky-pl/japronto
===== 동적으로 명령 실행 =====
* eval
* exec
* compile
===== Tip =====
python interpreter 경로 찾기
import sys
sys.executable
===== 병렬처리 =====
* joblib: https://pythonhosted.org/joblib/
===== etc =====
* python 난독화
* https://pypi.python.org/pypi/Opy
* Python game 관련 module
* [[http://www.pygame.org/news.html|pygame]]
* [[http://python.cocos2d.org/|cocos2d]]
* [[http://www.panda3d.org/|Panda3D]]
* [[http://www.renpy.org/|Ren'Py]]
* Python script 실행파일로 변환
* [[https://github.com/pyinstaller/pyinstaller/wiki|pyinstaller]]
* [[https://code.google.com/p/gui2exe/|GUI2exe]]
* 프로파일링
* http://khanrc.tistory.com/entry/7-tips-to-Time-Python-scripts-and-control-Memory-CPU-usage
* 미분
* https://github.com/hips/autograd
====== Python: Command Line 도구 ======
* 컬러 문자 표시
* https://pypi.python.org/pypi/colorama
* 진행 상태 표시
* https://pypi.python.org/pypi/tqdm
* https://pypi.python.org/pypi/progressbar
===== Web에서 실행하기 =====
* http://pyjs.org/
* python으로 HTML과 JS를 대체함
* http://transcrypt.org/
* python - JS 컴파일러
* http://www.skulpt.org/
* 웹브라우저에서 실행하는 python 에디터
===== 디버거 출력 =====
full debber 출력
import pdb; pdb.set_trace()
===== 설정값 관리 ======
* https://mingrammer.com/ways-to-manage-the-configuration-in-python
===== 예외처리 =====
http://effbot.org/zone/stupid-exceptions-keyboardinterrupt.htm
===== File stream open =====
* https://github.com/RaRe-Technologies/smart_open
===== 모듈 빌드 =====
python setup.py build_ext --include-dirs /path/to/includes --library-dirs /path/to/libraries
python setup.py install
===== PVM Lang =====
* [[http://julialang.org/|Julia]]
* [[http://docs.hylang.org/en/latest/|Hy]]
* [[http://coconut-lang.org/|Coconut]]
*
===== 단위 테스트 =====
[[python:pytest]]
===== 인코딩(Encoding) =====
* https://github.com/chardet/chardet
===== Tip =====
* https://medium.freecodecamp.org/an-a-z-of-useful-python-tricks-b467524ee747
===== Memory 누출 확인 =====
* https://github.com/Infinidat/dowser
* https://mg.pov.lt/objgraph/
* http://guppy-pe.sourceforge.net/#Guppy
* http://vany.tistory.com/entry/Guppy-PE%EB%A1%9C-Python-Memory-Leak-%EC%9E%A1%EA%B8%B0
===== dataclass =====
* https://www.python.org/dev/peps/pep-0557/
===== 인텔 배포판 =====
* https://software.intel.com/en-us/articles/using-intel-distribution-for-python-with-anaconda
===== SSL 인증 안하기 =====
conda config --set ssl_verify no
pip install --trusted-host pypi.python.org --trusted-host pypi.org --trusted-host files.pythonhosted.org