필요한 개념 및 용어 정리
Library and Framework
https://dsaint31.tistory.com/452
[Programming] Library vs. Framework
이 둘을 명확히 구분하는 정의는 사실 없다고 봐야한다. 개인적으로 호출 시점과 같은 흐름에 대한 자유도로 나누는 견해가 가장 맞는 구분 같지만... 우선 두 용어가 가지는 대략적인 느낌의 차
dsaint31.tistory.com
package.version
2024.09.19 - [Python] - [Etc] SW Version: Semantic Versioning + package.version
[Etc] SW Version: Semantic Versioning + package.version
Semantic Versioning SystemSemantic Versioning (SemVer) 시스템에 따라,소프트웨어에서 major와 minor, patch (or micro) 버전을 구분하여 버전을 매김.이는 버전 번호를 MAJOR.MINOR.PATCH 형식으로 표현.MAJOR 버전:이전 버
ds31x.tistory.com
API and ABI
https://dsaint31.tistory.com/503
[Programming] Application Programming Interface (API)
API란 Application Programming Interface (API)는 서로 다른 S/W Application이 source code 수준에서 통신할 수 있도록 하는 Protocole 및 definition으로 구성된 Interface임. 즉, API는 여러 S/W Application들이 서로 원활하게
dsaint31.tistory.com
http://ds31x.blogspot.com/2017/03/application-binary-interface-abi.html?q=API
Application Binary Interface (ABI)
일반적으로 ABI는 명시적으로 제공되지 않고, 특정 언어에도 종속적이지 않기 때문에, 별 관심을 안 기울임. 프로그래머에게 있어서 source 수준의 Application Programming Interface (API)가 중요하지 바이
ds31x.blogspot.com
용어 : namespace, frame, and context ← namesapce만.
https://dsaint31.tistory.com/508
[Basic] namespace, frame, and context
Namespace 프로그래밍 등에서 나오는 namespace는 일종의 추상적인 개념 변수와 함수, 클래스 등이 정의되고 사용될 수 있는 범위(scope)를 지칭함. (때문에 scope 란 용어와 자주 같이 사용됨) variable(변
dsaint31.tistory.com
Modules and Packages
module이란 (간단버전)
https://ds31x.blogspot.com/2017/01/python-module.html?q=module
Python에서 module
모듈(module) python코드의 파일. 즉, python 코드로 이뤄진 함수나 변수 또는 클래스들로 구성된 파일임. module은 import 구문을 이용하여 다른 파일에서 참조되어 질 수 있음. 반복적으로 선언되어져
ds31x.blogspot.com
개념 정리 (detail).
https://dsaint31.me/mkdocs_site/python/basic/module_package/
BME228
Modules and Packages Module 쉽게 생각하면 Python code 로 구성된 file (.py) 을 가르킨다. Module은 import될 때 각각 고유의 namespace를 가지므로, Namespace의 역할도 수행한다. Python에서 module은 확장자가 .py인 파
dsaint31.me
namespace package
2024.09.11 - [Python] - [Py] Namespace Package
[Py] Namespace Package
정의와 동작방식Namespace package: Python 3.3부터 도입된 개념__init__.py 없이 패키지 정의 가능여러 디렉토리에 분산된 모듈을 하나의 논리적 패키지 에 속한 것처럼 동작케 해 줌대규모 프로젝트에서
ds31x.tistory.com
ex: math
모듈의 atan2
를 사용해보기.
[Python] atan2
vector를 이용하여 직선 간의 사이각을 구할 때에는 inner prodcut를 이용한 cos과 acos을 활용하는 경우가 많다. 하지만, unit vector를 구하고 이들간의 특정 방향 (cw or ccw)등으로 각도를 구해야하는 경우
ds31x.tistory.com
Module Search Path and sys.path
https://dsaint31.tistory.com/528
[Python] Module Search Path and sys.path
1. Module Search Path Python 에서 module을 찾는 경로 (Module Search Path)는 다음의 순서별로 우선권을 가짐. home directory of the program (main script file이 있는 위치 or python shell이 수행된 cwd) PYTHONPATH 환경변수 (envi
dsaint31.tistory.com
고급주제
importlib.reload
: module 재적재
https://dsaint31.tistory.com/527
[Python] importlib.reload : module 재적재
기본적으로 Python의 module은 최초로 import될 때에만 수행이 됨. 때문에 Python session에서 특정 module을 import 하고 난 이후 해당 moduel에 수정사항이 발생할 경우, 해당 수정사항은 수행 중인 session에 반
dsaint31.tistory.com
같이보면 좋은 자료들
8.1장의 "그래프 그리기" 의 첫 부분에 module, package, library에 대한 간략하고 이해하기 쉬운 설명이 있음: 320p
Let's Get IT 파이썬 프로그래밍
더북(TheBook): (주)도서출판 길벗에서 제공하는 IT 도서 열람 서비스입니다.
thebook.io
package라는 용어는 os에 설치되는 다양한 software를 가리키는데 사용되기도 하니 주의할 것.
2024.09.08 - [분류 전체보기] - [Summary] Package Manager
[Summary] Package Manager
Package Manager란?https://dsaint31.me/mkdocs_site/CE/ch15/ce15_2_5_package_management/ BME228Package Management : apt, yum, brew 등등 SW들의 경우 다양한 기존 라이브러리에 의존할 수 밖에 없는데, 해당 라이브러리들도 계
ds31x.tistory.com
'Python' 카테고리의 다른 글
[Python] Parameter 의 종류 - Slash and Asterisk for Function Parameters (1) | 2024.02.04 |
---|---|
[Python] mutable and immutable: Mutability (0) | 2024.02.03 |
[Python] Arithmetics, Variables, Types and Assignment (1) | 2024.01.24 |
[Python] Unicode and Python: encode and decode (0) | 2024.01.16 |
[Python] Unicode and Python : Unicode Literal (0) | 2024.01.16 |