Development/Python(797)
-
Python의 SCE (Short-Circuit Evaluation)연산
논리 연산자와 SCE(Short-Circuit Evaluation)http://codedragon.tistory.com/541 Python의 SCE 연산
-
Python dictionary implementation
Python dictionary implementationPython dictionary 자료구조가 어떻게 구현되어 있는지 알 수 있는 추가 자료 http://www.laurentluce.com/posts/python-dictionary-implementation/
-
String Formatting Operations에 대한 정보
5.6.2 String Formatting Operations에 대한 정보https://docs.python.org/2/library/stdtypes.html#string-formatting-operations
-
문자열 +연산자, 문자열 *연산자
문자열 +연산자, 문자열 *연산자
-
패키지 생성하기 - eclipse PyDev
패키지 생성하기 - eclipse PyDev Package Explorer에서 src 폴더를 선택한 후 >>마우스 우클릭 >> [New] >> [PyDev Package] com.codedragon __init__.py 파일이 자동으로 생성되어져 있는데 __init__.py 파일은 해당 디렉터리가 패키지의 일부임을 알려주는 역할을 합니다.만약 패키지에 포함된 디렉터리에 __init__.py 파일이 없다면 패키지로 인식되지 않습니다.
-
리스트(list) 삭제하기
리스트 삭제하기remove()로 원하는 값 삭제하기 >>> rainbow ['red', 'orange', 'yellow', 'green', 'blue', 'navy', 'purple', 'b', 'l', 'a', 'c', 'k', 'black'] >>> rainbow.remove(rainbow[0]) >>> rainbow ['orange', 'yellow', 'green', 'blue', 'navy', 'purple', 'b', 'l', 'a', 'c', 'k', 'black'] >>>