louis’ snippet

February 21, 2007

BeginnersGuide/Overview

Filed under: Python — louissnippet @ 1:42 am

(원문: http://wiki.python.org/moin/BeginnersGuide/Overview)
Python은 Perl, Ruby, Scheme, Java등의 다른 언어들과 비교될만한 깔끔하고, 강력한 객체지향 언어임

Python의 주목할만한 특징
-우아한 문법구조로 인해, 가독성있는 프로그램작성을 가능하게 함
-프로토타입 개발 또는 특정목적의 프로그래밍의 작업에 용이함
-다양한 공통 라이브러리를 제공함(예: 웹서버 연결, 정규표현식에 기반한 텍스트검색, 파일 읽기/수정 등)
-Python의 상호작용모드(인터프리터의 특징)는 소단위 코드들에 대한 테스트를 용이하게 하며,Python프로그래밍을 위한 IDE도 제공됨(IDLE)
-쉬운 확장성(is easily extended by adding new modules implemented in a compiled language such as C or C++)
-Can also be embedded into an application to provide a programmable interface
(Art of Unix Programming에서는, 정책[인터페이스]은 스크립팅 언어로 매커니즘[구현체]은 c/c++과 같은 언어로 구현하는 유형을 언급하고 있음)
-다양한 수행환경(윈도우, 유닉스, 맥OS, OS/2 등)
-오픈소스라이센스

프로그램언어로의 특징
-다양한 기본데이터 유형(floating point, complex, and unlimited-length long integers), strings (both ASCII and Unicode), lists, and dictionaries)
-클래스, 다중상속 등을 지원하는 객체지향 언어
-프로그램 코드는 모듈 및 패키지등으로 그룹핑됨
-예외발생 및 처리
-엄격하고 동적인 데이터유형 사용구조
-generators, list comprehensions와 같은 진보된 프로그래밍 특성 포함
-자동적인 메모리관리로 인해 사용자로 하여금 메모리 할당 및 해제에 대한 부담 해소

No Comments Yet »

No comments yet.

RSS feed for comments on this post. TrackBack URI

Leave a comment

Blog at WordPress.com.