Kudos
Collect
Twiiter
Facebook
Share
베이스

Better way 1. 사용 중인 파이썬의 버전을 알아두라

Last updated over 2 years ago
1 0 0 0
This is 1st article of series “'Effective Python 2nd 파이썬 코딩의 기술' 정리”. Series Index
  1. Pythonic Thinking
    Item 1: Know Which Version of Python You’re Using

Effective Python 2nd 파이썬 코딩의 기술을 제대로 읽고 정리하고자 블로그에 남긴다.

Things to Remember

Python 3 is the most up-to-date and well-supported version of Python, and you should use it for your projects.
파이썬 3는 파이썬 최신 버전이며 현재 가장 잘 지원되고 있다. 따라서 여러분은 프로젝트에서 파이썬 3를 써야 한다

Be sure that the command-line executable for running Python on your system is the version you expect it to be.
여러분의 시스템에 있는 파이썬 실행 파일이 여러분이 원하는 버전인지 확인하라.

Avoid Python 2 because it will no longer be maintained after January 1, 2020.
파이썬 2는 사용하지 말라. 2020년 1월 1일부터 파이썬 2는 더 이상 지원되지 않는다.

나의 생각

파이썬 2 는 이제는 쓰지 말고, 파이썬 3 를 사용하자.

또한 시스템에 설치된 파이썬 버전을 알고 있어야 한다. 파이썬 3도 버전에 따라 지원하는 기능이 다를 수 있다.

개인적으로 Miniconda(https://docs.conda.io/en/latest/miniconda.html)를 설치해서 파이썬을 사용한다. 내가 사용하는 파이썬 버전을 명확하게 할 수 있고, 필요하다면 다른 버전을 추가로 설치해서 사용할 수도 있다.

PC에 새롭게 파이썬을 설치한다면, Miniconda 를 설치하는 것을 추천한다.

Series
위 책을 제대로 읽고 내 것으로 만들고자 블로그에 정리합니다.
Essedrop - Make your file online instantly
 

Responses

Leave a response to @mechurak

Please sign in to comment.
Markdown is also available in comment.