본문 바로가기
Study/English

[Study] Python - import this

by 혀코 2016. 8. 15.


Python - import this


파이썬(Python)을 설치하고 IDLE에 import this명령어를 치면 다음과 같은 영어 문구가 나옵니다.






The Zen of Python, by Tim Peters


Beautiful is better than ugly.

Explicit is better than implicit.

Simple is better than complex.

Complex is better than complicated.

Flat is better than nested.

Sparse is better than dense.

Readability counts.

Special cases aren't special enough to break the rules.

Although practicality beats purity.

Errors should never pass silently.

Unless explicitly silenced.

In the face of ambiguity, refuse the temptation to guess.

There should be one-- and preferably only one --obvious way to do it.

Although that way may not be obvious at first unless you're Dutch.

Now is better than never.

Although never is often better than *right* now.

If the implementation is hard to explain, it's a bad idea.

If the implementation is easy to explain, it may be a good idea.

Namespaces are one honking great idea -- let's do more of those!



번역

아름다운 것이 못난 것보다 좋습니다.

명확한 것이 함축적인 것보다 좋습니다.

단순한 것이 복잡한 것보다 좋습니다.

복잡한 것이 난해한 것보다 좋습니다.

단조로운 것이 중첩된 것보다 조흣ㅂ니다.

골고루 펼쳐져 있는 것이 몰려있는 것 보다 좋습니다.

잘 읽을 수 있는 가독성이 중요합니다.

특별한 경우라도 룰을 어길 만큼 중요하지 않습니다.

비록 실용성이 순수함을 앞설지라도.

오류를 절대로 그냥 넘어가서는 안 됩니다.

분명히 조용하지 않는다 할지라도.

애매한 상황에서도 추측하려는 것을 이겨내야 합니다.

그 일을 해낼 수 있는 분명한 방법이 있어야 합니다. 그 방법이 유일하다면 더 좋습니다.

Python 창시자(네덜란드인)이 아니라면, 그 방법이 처음에는 애매할 수 있습니다.

지금 바로 하는 것이 하지 않는 것보다 좋습니다.

비록하지 않는 것이 지금 당장 하는 것보다 나을지라도.

만든 것을 설명하기 어렵다면 그것은 나쁜 아이디어입니다.

만든 것을 설명하기 쉽다면 그것은 좋은 아이디어 입니다.

네임 스페이스는 좋은 아이디어이니까 적극적으로 사용합시다.




파이썬 공부 이제 시작합니다~^^

댓글