본문 바로가기
Python 배우기

파이썬 개요

by 노화방지 Anti-aging Hairstyle 2016. 1. 5.
반응형

파이썬은 Perl, Ruby, Scheme 또는 Java와 비교되는, 명확하고 강력한 객체-지향 프로그래밍 언어입니다.

Python is a clear and powerful object-oriented programming language, comparable to Perl, Ruby, Scheme, or Java.

다음은 파이썬의 주목할 만한 특징입니다:

Some of Python's notable features:

  • 작성하는 프로그램을 읽기 쉽게 작성하도록 만드는 우아한 구문규칙을 사용.   
    Uses an elegant syntax, making the programs you write easier to read.
  • 프로그램이 작동하게 만드는 것을 간단하게 만드는 사용하기 쉬운 언어.
    이것이 유지관리에 대한 타협 없이, 파이썬을 프로토타입 개발 및 다른 특정 프로그래밍 과제에 이상적인 것으로 만들고 있음.  
    Is an easy-to-use language that makes it simple to get your program working. This makes Python ideal for prototype development and other ad-hoc programming tasks, without compromising maintainability.
  • 웹서버에 대한 연결과 같은 많은 공통 프로그래밍 과제를 지원하는 큰 표준 라이브러리가 있음. 
    Comes with a large standard library that supports many common programming tasks such as connecting to web servers, searching text with regular expressions, reading and modifying files.
  • 파이썬의 상호작용적 모드로 짧은 코드 스니펫을 쉽게 테스트할 수 있음.
    IDLE라는 번들된 개발환경도 있음
    Python's interactive mode makes it easy to test short snippets of code. There's also a bundled development environment called IDLE.
  • C나 C++과 같은 컴파일된 언어로 구현된 새로운 모듈들을 추가함으로써 쉽게 확장할 수 있음
    Is easily extended by adding new modules implemented in a compiled language such as C or C++.
  • programmable interface를 제공하기 위하여 애플리케이션 안에 embed될 수도 있음.
    Can also be embedded into an application to provide a programmable interface.
  • Windows, MacOS, 많은 브랜드의 Unix, OS/2등 여러가지 많은 컴퓨터 및 운영시스템에서 가동됨.
    Runs on many different computers and operating systems: Windows, MacOS, many brands of Unix, OS/2, ...
  • 2가지 의미에서 무료 소프트웨어. 파이선을 다운로드 하거나 사용하는데 또는 파이선을 애플리케이션에 포함시키는데 아무런 비용이 들지 않음. 파이선은 오픈 소스 라이선스 하에서 사용 가능하게 저작권화 되어 있기 때문에 무료로 수정되거나 재배포될 수 있습니다.
    Is free software in two senses. It doesn't cost anything to download or use Python, or to include it in your application. Python can also be freely modified and re-distributed, because while the language is copyrighted it's available under an open source license.

Some programming-language features of Python are:

  • A variety of basic data types are available: numbers (floating point, complex, and unlimited-length long integers), strings (both ASCII and Unicode), lists, and dictionaries.
  • Python supports object-oriented programming with classes and multiple inheritance.
  • Code can be grouped into modules and packages.
  • The language supports raising and catching exceptions, resulting in cleaner error handling.
  • Data types are strongly and dynamically typed. Mixing incompatible types (e.g. attempting to add a string and a number) causes an exception to be raised, so errors are caught sooner.
  • Python contains advanced programming features such as generators and list comprehensions.
  • Python's automatic memory management frees you from having to manually allocate and free memory in your code.

See the SimplePrograms collection of short programs, gradually increasing in length, which show off Python's syntax and readability.

반응형

댓글