2025. 2. 27.1분 미만

2.1 데이터 타입
2.1.1 기본
type | desc |
---|---|
int | 정수형 |
float | 부동소수점 |
complex | 복소수 |
str | 문자열 |
bool | 불리언 |
None | None (값이 없음을 나타냄) |
bytes | 바이트 데이터 (불변) |
bytearray | 바이트 데이터(가변) |
list | 리스트(가변) |
tuple | 튜플(불변) |
set | 집합 |
frozenset | 불변 집합 |
dict | 딕셔너리 |
2025년 1월 19일약 2 분

Homebrew란?
맥스 호웰이 개발한 맥OS용 패키지 관리자.
Homebrew 설치
curl을 이용하여 설치를 할 것이니, 우선 curl을 다운 받도록 하자.
curl을 이용하여 아래 script를 다운받고 실행하자.
==> Checking for `sudo` access (which may request your password)...
==> This script will install:
/home/linuxbrew/.linuxbrew/bin/brew
/home/linuxbrew/.linuxbrew/share/doc/homebrew
/home/linuxbrew/.linuxbrew/share/man/man1/brew.1
/home/linuxbrew/.linuxbrew/share/zsh/site-functions/_brew
/home/linuxbrew/.linuxbrew/etc/bash_completion.d/brew
/home/linuxbrew/.linuxbrew/Homebrew
==> The following new directories will be created:
/home/linuxbrew/.linuxbrew/bin
/home/linuxbrew/.linuxbrew/etc
/home/linuxbrew/.linuxbrew/include
/home/linuxbrew/.linuxbrew/lib
/home/linuxbrew/.linuxbrew/sbin
/home/linuxbrew/.linuxbrew/share
/home/linuxbrew/.linuxbrew/var
/home/linuxbrew/.linuxbrew/opt
/home/linuxbrew/.linuxbrew/share/zsh
/home/linuxbrew/.linuxbrew/share/zsh/site-functions
/home/linuxbrew/.linuxbrew/var/homebrew
/home/linuxbrew/.linuxbrew/var/homebrew/linked
/home/linuxbrew/.linuxbrew/Cellar
/home/linuxbrew/.linuxbrew/Caskroom
/home/linuxbrew/.linuxbrew/Frameworks
Press RETURN/ENTER to continue or any other key to abort:
2025년 1월 6일약 2 분

lsd란?
기존 ls만으로는 가독성이 떨어져 알아보기 힘든 파일 구조를 알아보기 쉽게 하기 위한 플러그인.
apt install lsd
만으로도 설치가 되지만 zsh
와 brew
를 이용해서 nerd-font 적용까지 해보려고 한다.
lsd 설치
세부사항
==> Downloading https://formulae.brew.sh/api/formula.jws.json
#=#=#
==> Downloading https://ghcr.io/v2/homebrew/core/lsd/manifests/1.1.5-1
######################################################################### 100.0%
==> Fetching lsd
==> Downloading https://ghcr.io/v2/homebrew/core/lsd/blobs/sha256:da5e2e98f82440
######################################################################### 100.0%
==> Pouring lsd--1.1.5.x86_64_linux.bottle.1.tar.gz
==> Caveats
Bash completion has been installed to:
/home/linuxbrew/.linuxbrew/etc/bash_completion.d
==> Summary
🍺 /home/linuxbrew/.linuxbrew/Cellar/lsd/1.1.5: 12 files, 3.7MB
==> Running `brew cleanup lsd`...
Disable this behaviour by setting HOMEBREW_NO_INSTALL_CLEANUP.
Hide these hints with HOMEBREW_NO_ENV_HINTS (see `man brew`).
2025년 1월 6일약 1 분

zsh란?
z shell은 주로 맥에서 사용하는 확장형 셀이다.
zsh 설치
zsh 확인
zsh의 버전을 확인해보자.
zsh 5.9 (x86_64-pc-linux-gnu)
2025년 1월 6일약 2 분

1. 아나콘다를 사용하는 이유
아나콘다를 사용하는 이유는 많을 것이다. 그 중에서도 가상 환경을 구축하는 데에 있어 유용하게 사용할 수 있게 때문에 사용하는 사람도 많다.
anaconda는 설치하는 데에 어려움은 없으니 넘어가도록 하겠다.
2. 아나콘다 가상 환경
2024년 12월 30일1분 미만
TODO: cpp 공부하고 글 작성.
2024년 12월 30일1분 미만

Python Docs
1.1 Python Enhancement proposal란?
PEP은 Python 언어에 대한 새로운 기능, 개선 제안, 또는 Python 커뮤니티에서 논의되는 표준화된 문서. Python의 개발 방향, 언어 설계 원칙, 라이브러리 변경, 문서화 등에 대한 내용을 포함.
2024. 12. 17.1분 미만
3.1 모든 것은 객체
- Python의 객체 모델 (
id
,type
,isinstance
,issubclass
). - 이름(네임)과 객체의 관계: 변수와 메모리 주소의 연결.
- C와 Java와의 차이점.
- Objects and Values Docs
2024년 12월 17일1분 미만