본문 바로가기
Programming/Python

[ Python 3.6.0 ] 1. Whetting Your Appetite 요약. - 2

by Deafhong 2017. 1. 4.
반응형


Python allows you to split your program into modules that can be reused in other Python programs. It comes with a large collection of standard modules that you can use as the basis of your programs — or as examples to start learning to program in Python. Some of these modules provide things like file I/O, system calls, sockets, and even interfacaphical ues to grser interface toolkits like Tk.

Python 을 사용하면 프로그램을 다른 파이썬 프로그램에서 재사용 할 수 있는 모듈로 나눌 수 있다. 여기에는 프로그램의 기초로 사용할 수 있는 표준 모듈의 대규모 모음이 포함되어 있다.


Python is an interpreted language, which can save you considerable time during program development because no compilation and linking is necessary. The interpreter can be used interactively, which makes it easy to experiment with features of the language, to write throw-away programs, or to test functions during bottom-up program development. It is also a handy desk calculator.

Python 은 인터프리터 언어이므로, 컴파일 및 링크가 필요 없기 때문에 프로그램 개발 중에 상당한 시간을 절약 할 수 있다.


Python enables programs to be written compactly and readably. Programs written in Python are typically much shorter than equivalent C, C++, or Java programs, for several reasons:

  • the high-level data types allow you to express complex operations in a single statement;
  • statement grouping is done by indentation instead of beginning and ending brackets;
  • no variable or argument declarations are necessary.

Python 을 사용하면, C, C++, Java  프로그램 보다 더 간결하고 읽기 쉽게 작성할 수 있다.

이유 : 

  • 상위 레벨 데이터 유형을 사용하면 복잡한 명령문을 단일 명령문으로 표현가능.
  • 명령문 그룹화는 대괄호 대신 들여쓰기로 사용됨.
  • 변수 혹은 인수 선언이 필요없음.


Python is extensible: if you know how to program in C it is easy to add a new built-in function or module to the interpreter, either to perform critical operations at maximum speed, or to link Python programs to libraries that may only be available in binary form (such as a vendor-specific graphics library). Once you are really hooked, you can link the Python interpreter into an application written in C and use it as an extension or command language for that application.

Python 확장 : Python 인터프린터를 타 응용 프로그램에 링크하여 해당 응용 프로그램의 확장 / 명령 언어를 사용 할 수 있다.


By the way, the language is named after the BBC show “Monty Python’s Flying Circus” and has nothing to do with reptiles. Making references to Monty Python skits in documentation is not only allowed, it is encouraged!

Python 은 BBC 쇼 "Monty Python's Flying Circus" 의 이름을 따서 지어졌으며, 파충류와는 아무런 관련이 없다.

반응형