tutorial:procpy

This is an old revision of the document!


책 참고 바람: 처음 시작하는 파이썬

Python 시작하기

Python을 환경을 구성해보자!

운영체제를 설치하면 기본적으로 python 2,3 모두 설치되어 있다. 확인하는 방법은 다음과 같다.

$python --version #python 2의 버전 확인
Python 2.7.15

$which python #python 2가 설치되어 있는 경로 확인
/usr/bin/python

$python3 --version #python 3의 버전 확인
Python 3.7.1

$which python3 #python 3이 설치되어 있는 경로 확인
/usr/bin/python3

파이썬에는 사용할 패키지 관리를 위해 pip이라는 프로그램이 있다. 사용법은 아래와 같다.

$pip install <package name>
  • tutorial/procpy.1545121573.txt.gz
  • Last modified: 2023/03/06 13:44
  • (external edit)