Recent posts

Git Reverting A Commit

5 minute read

typora-root-url: ../ layout: single title: > How to Revert a Commit in Git (git revert) seo_title: > How to Revert a Commit in Git (git revert)

ํŒŒ์ด์ฌ โ€œUnicodeDecodeError: โ€˜utf-8โ€™ codec canโ€™t decode byteโ€ ์˜ค๋ฅ˜ ํ•ด๊ฒฐ ๋ฐฉ๋ฒ•

2 minute read

ํŒŒ์ด์ฌ์˜ โ€œUnicodeDecodeErrorโ€๋ฅผ ํ•ด๊ฒฐํ•ฉ๋‹ˆ๋‹ค. ์ด ์˜ค๋ฅ˜๋Š” ๊ธฐ๋ณธ โ€˜utf-8โ€™ ์ฝ”๋ฑ๊ณผ ์ผ์น˜ํ•˜์ง€ ์•Š๋Š” ์ธ์ฝ”๋”ฉ์œผ๋กœ ํŒŒ์ผ์„ ์ฝ์„ ๋•Œ ๋ฐœ์ƒํ•ฉ๋‹ˆ๋‹ค.

ํŒŒ์ด์ฌ TypeError: โ€˜โ€ฆโ€™ object is not iterable ํ•ด๊ฒฐ ๋ฐฉ๋ฒ•

2 minute read

ํŒŒ์ด์ฌ์—์„œ ๋ฐ˜๋ณต ๋ถˆ๊ฐ€๋Šฅํ•œ(non-iterable) ๊ฐ์ฒด๋ฅผ ์ˆœํšŒํ•˜๋ ค๊ณ  ํ•  ๋•Œ ๋ฐœ์ƒํ•˜๋Š” TypeError: '...' object is not iterable ์˜ค๋ฅ˜์˜ ์›์ธ๊ณผ ํ•ด๊ฒฐ ๋ฐฉ๋ฒ•์„ ์•Œ์•„๋ด…๋‹ˆ๋‹ค.

ํŒŒ์ด์ฌ TypeError: missing 1 required positional argument ํ•ด๊ฒฐ ๋ฐฉ๋ฒ•

3 minute read

ํŒŒ์ด์ฌ์—์„œ ํ•จ์ˆ˜๋‚˜ ๋ฉ”์„œ๋“œ๋ฅผ ํ˜ธ์ถœํ•  ๋•Œ ํ•„์ˆ˜์ ์ธ ์œ„์น˜ ์ธ์ž(positional argument)๋ฅผ ์ „๋‹ฌํ•˜์ง€ ์•Š์•„ ๋ฐœ์ƒํ•˜๋Š” TypeError: missing 1 required positional argument ์˜ค๋ฅ˜์˜ ์›์ธ๊ณผ ํ•ด๊ฒฐ์ฑ…์„ ์•Œ์•„๋ด…๋‹ˆ๋‹ค.