python/w3schools

[w3schools] Python Intro

유호야 2021. 5. 20. 22:34
반응형

What is Python?

Python is a popular programming language. It was created by Guido van Rossum, and released in 1991.

It is used for:

  • web development (server-side),
  • software development,
  • mathematics,
  • system scripting.

What can Python do?

  • Python can be used on a server to create web applications.
  • Python can be used alongside software to create workflows.
  • Python can connect to database systems. It can also read and modify files.
  • Python can be used to handle big data and perform complex mathematics.
  • Python can be used for rapid prototyping, or for production-ready software development.

Why Python?

  • Python works on different platforms (Windows, Mac, Linux, Raspberry Pi, etc).
  • Python has a simple syntax similar to the English language.
  • Python has syntax that allows developers to write programs with fewer lines than some other programming languages.
  • Python runs on an interpreter system, meaning that code can be executed as soon as it is written. This means that prototyping can be very quick.
  • Python can be treated in a procedural way, an object-oriented way or a functional way.

Good to know

  • The most recent major version of Python is Python 3, which we shall be using in this tutorial. However, Python 2, although not being updated with anything other than security updates, is still quite popular.
  • In this tutorial Python will be written in a text editor. It is possible to write Python in an Integrated Development Environment, such as Thonny, Pycharm, Netbeans or Eclipse which are particularly useful when managing larger collections of Python files.

Python Syntax compared to other programming languages

  • Python was designed for readability, and has some similarities to the English language with influence from mathematics.
  • Python uses new lines to complete a command, as opposed to other programming languages which often use semicolons or parentheses.
  • Python relies on indentation, using whitespace, to define scope; such as the scope of loops, functions and classes. Other programming languages often use curly-brackets for this purpose.

파이썬이란 무엇인가?
파이썬은 인기 있는 프로그래밍 언어이다. 구이도 반 로섬에 의해 제작되었고 1991년에 출시되었다.

다음 용도로 사용됩니다.

웹 개발(서버 측),
소프트웨어 개발,
수학,
시스템 스크립팅


파이썬이 할 수 있는 일은?

Python은 서버에서 웹 애플리케이션을 만드는 데 사용될 수 있다.
파이썬을 소프트웨어와 함께 사용하여 워크플로우를 만들 수 있습니다.
Python은 데이터베이스 시스템에 연결할 수 있습니다. 파일을 읽고 수정할 수도 있습니다.
파이썬은 빅데이터를 처리하고 복잡한 수학을 수행하는 데 사용될 수 있다.
Python은 신속한 프로토타이핑 또는 프로덕션 준비 소프트웨어 개발에 사용할 수 있습니다.


왜 파이썬이죠?

파이썬은 다른 플랫폼(Windows, Mac, Linux, Rasberry Pi 등)에서 작동합니다.
파이썬은 영어와 비슷한 간단한 구문을 가지고 있다.


파이썬은 개발자들이 몇몇 다른 프로그래밍 언어들보다 더 적은 수의 줄로 프로그램을 작성할 수 있도록 하는 구문을 가지고 있다.
Python은 인터프리터 시스템에서 실행되며, 이는 코드가 작성되는 즉시 실행될 수 있음을 의미한다. 이는 프로토타이핑이 매우 빠를 수 있다는 것을 의미합니다.


파이썬은 절차적 방법, 객체 지향적 방법 또는 기능적 방법으로 처리될 수 있다.


알게되서 다행이다
파이썬의 가장 최근의 주요 버전은 파이썬 3이며, 이 튜토리얼에서 사용할 것이다. 그러나 파이썬 2는 보안 업데이트 이외의 다른 업데이트로 업데이트되지는 않지만 여전히 꽤 인기가 있다.


이 튜토리얼에서는 파이썬이 텍스트 편집기에 작성됩니다. Thonny, Pycharm, Netbeans 또는 Eclipse와 같은 통합 개발 환경에서 Python을 작성할 수 있으며, 특히 더 많은 Python 파일 모음을 관리할 때 유용합니다.
다른 프로그래밍 언어와 비교한 Python 구문
파이썬은 가독성을 위해 고안되었으며 수학의 영향을 받아 영어와 몇 가지 유사점을 가지고 있다.
파이썬은 세미콜론이나 괄호를 자주 사용하는 다른 프로그래밍 언어와는 달리 새로운 줄을 사용하여 명령을 완성한다.
파이썬은 루프, 함수 및 클래스의 범위와 같은 범위를 정의하기 위해 백색 공간을 사용하는 들여쓰기에 의존한다. 다른 프로그래밍 언어들은 종종 이 목적을 위해 곱슬곱슬한 괄호를 사용한다.

반응형

'python > w3schools' 카테고리의 다른 글

[w3schools] Python Variables - Python Variables  (0) 2021.05.20
[w3schools] Python Comments  (0) 2021.05.20
[w3schools] Python Syntax  (0) 2021.05.20
[w3schools] Python HOME  (0) 2021.05.20
[PYTHON] W3Schools로 파이썬 공부하기  (0) 2021.03.27