사용자 도구

사이트 도구


python

차이

문서의 선택한 두 판 사이의 차이를 보여줍니다.

차이 보기로 링크

양쪽 이전 판이전 판
다음 판
이전 판
python [2017/12/20 04:11] – [PVM Lang] rex8312python [2024/03/23 02:38] (현재) – 바깥 편집 127.0.0.1
줄 1: 줄 1:
 ====== Python ====== ====== Python ======
  
 +  * [[python:debug]]
 +
 +===== 의미있는 주석 =====
 +
 +  #!/usr/bin/env python  # 실행 스크립트 파일 제일 위에 추가
 +
 +===== Web Server =====
 +
 +  * https://github.com/squeaky-pl/japronto
 +
 +===== 동적으로 명령 실행 =====
 +
 +  * eval
 +  * exec
 +  * compile
 +
 +===== Tip =====
 +
 +python interpreter 경로 찾기
 +
 +<code python>
 +  import sys
 +  sys.executable
 +</code>
 ===== 병렬처리 ===== ===== 병렬처리 =====
  
줄 78: 줄 102:
 ===== 단위 테스트 ===== ===== 단위 테스트 =====
  
-  [[python:pytest]]+[[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 인증 안하기 ===== 
 + 
 +<code bash> 
 +conda config --set ssl_verify no 
 + 
 +pip install --trusted-host pypi.python.org --trusted-host pypi.org --trusted-host files.pythonhosted.org <package name> 
 +</code>
python.1513743064.txt.gz · 마지막으로 수정됨: 2024/03/23 02:37 (바깥 편집)