Jerry Zhao

python reflect example pydev project reflect package

Python provide hasattr(), getattr(), setattr() and delattr() function for us to verify ( hasattr() ), get ( getattr() ), set ( setattr() ) or delete ( delattr() ) objects properties. […]

Decorators can add new functions or restrictions to the decorated objects without modifying the original source code. There are many kinds of decorators, including function decorators and class decorators. The […]

python thread example in eclipse pydev project

There are two method to implement thread programming in python. 1. Use _thread module. 2. Use threading module’s┬áThread and Lock class. This article will show you examples about how to […]