본문 바로가기
기술스택을 쌓아보자/Python

[파이썬 공부] Effective Python정리: 목차정리

by 소리331 2020. 12. 29.
반응형

파이썬 계의 교과서라는 Effective Pyhton 책을 공부하면서 내용을 정리할 생각입니다.

이미 공부한 내용들도 있지만 좀 더 짧은 코드로 더 많은 것을 하고 싶은 욕심에 계속 공부하게 되는 것 같아요.

뇌와 신체의 분열

 

 오늘 정리한 목차에다 각 블로그 링크를 하나씩 걸어나갈 것 같아요! 순차적으로 공부해가는 것은 아니고 제가 하고 싶은 것부터 써나갈 생각입니다. 파이썬을 조금 공부한 뒤 목차만 보아도, 그동안 공부한 내용들이 정리가 되는 것 같습니다! 내용이 너무 길어서 하나씩 쓰고 한챕터씩 추가하는 방식으로 갈게요!

 CH1. Pythonic Thinking

더보기

item1. Know Which Version of Python You're Using, 

item2. Follow the PEP8 Style Guide

item3. Know the Differences Between bytes, str, and Unicode

item4. Write Helper Function Instead of Complex Expression

item5. Know How to Slice Sequences

item6. Avoid using start, end and stride in a single slice

item7.  Use List Comprehensions Instead of map and filter

item8. Avoid More than 2 expression in List Comprehensions 

item9. Consider Generator Expressions for Large Comprehensions

item10. Prefer enumerate over range

item11. Use zip to process iterators in parallel

item12. Avoid else Blocks After for and while Loops

item13. Take advantage of Each Block in try/except/else/finally

 

아웅~ 언제다해~

화이팅^^...

반응형

댓글