every + 기수 + 복수 = every + 서수 + 단수 eg. 5일마다 every 5 days = every 5th day
try to keep a low profile 그녀가 남의 눈에 띄지 않으려고 했던 것 같아. I guess she was trying to keep a low profile.
behind schedule 이 프로젝트는 예정보다 세 달 늦어지고 있다. This project is three months behind schedule.
Recommended Reading List Books for H/W Developers I/O Interconnection Technologies Designing High-Speed Interconnect Circuits/Dennis Miller Jitter, Noise, and Signal Integrity at High-Speed/Mike Peng Li Timing Analysis and Simulation for Signal Integrity Engineers/Greg Edlund High-Speed Signal Propagation: Advanced Black Magic/Howard W. Johnson Introduction to PCI Express*/Adam Wilen, Justin Sch..
landlord the person who actually owns the building manager the person who cares about everything in the building tenant the person who is renting the building
windows 자체도 DNS caching을 하므로, 콘솔에서 다음과 같이 입력한다. ipconfig /flushdns
그 사람들은 천생연분이다.
from : http://agile.dzone.com/news/top-50-new-software 1 Dreaming in Code: Two Dozen Programmers, Three Years, 4,732 Bugs, and One Quest for Transcendent Software/Scott Rosenberg/ 26-1-2007 2 Clean Code: A Handbook of Agile Software Craftsmanship/Robert C. Martin/ 11-8-2008 3 Pragmatic Thinking and Learning: Refactor Your Wetware/Andy Hunt/ 15-8-2008 4 Managing Humans: Biting and Humorous Tales ..
현재 실행하는 클래스의 이름과 메소드 이름, 라인 넘버를 얻어보자. 클래스의 인스턴스에서 호출한다는 가정하에, def trace(obj, toList = False): import sys className = obj.__class__.__name__ methodName = callersname() lineNumber = sys.exc_info()[2].tb_lineno if toList: return className, methodName, lineNumber else: return "%s.%s[%d]" % (className, methodName, lineNumber) 단, callersname()은 def callersname(): return sys._getframe(2).f_code.co_name..
# 현재 함수의 이름 얻기 def whoami(): import sys return sys._getframe(1).f_code.co_name # 현재 함수의 caller 이름 얻기 def callersname(): import sys return sys._getframe(2).f_code.co_name 출처 : Python Recipe 66062: Determining Current Function Name
ElementTree와 같은 패키지를 사용하여 XML를 파싱하는 경우, XML 엘리먼트의 짝이 안맞는 등, 유효하지 않은 XML 구성이 탐지되면 ExpatError가 뜨는데, try: # XML 연산 catch ExpatError, e: # do something 하면, NameError: global name 'ExpatError' is not defined라는 에러가 뜬다. 이를 해결하려면, ExpatError를 catch하는 py 파일의 앞에, scope을 맞춰서 from xml.parsers.expat import ExpatError 라고 넣어주자. 그러면, 문제 해결!! '' While you are using XML packages such as ElementTree, you might wan..
ㅁ Queue.Queue 1. push('a') : 6.39s 2. push('a') + pop() : 11.37s ㅁ collections.dequeue 1. append('a') : 0.13s 2. append('a') + popleft() : 0.27s ㅁ list 1. append('a') : 0.15s 2. append('a') + pop() : 0.40s Queue를 쓰려면, dequeue를 활용하는 것이 좋을 것 같다.