Python provide built-in function __import__(name[, globals[, locals[, fromlist[, level]]]]) for us to load / import python module in python source code dynamically. The name parameter is the module name in […]
Python provide hasattr(), getattr(), setattr() and delattr() function for us to verify ( hasattr() ), get ( getattr() ), set ( setattr() ) or delete ( delattr() ) objects properties. […]
This article will show you how to install google chrome in ubuntu linux server.
After i setup amazon EC2 ubuntu linux server, i can only access it with ssh command. But i really need the GUI interface to browse the ubuntu server easily. After […]
After install ubuntu in VirtualBox and login, i find the ubuntu os screen resolution is configured at 800*600, this is not a good screen resolution for usage. I want to […]
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 […]
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 […]
Python provide a lot of built-in exception classes. All the built-in classes are sub class of builtins.BaseException class. Besides built-in exception class, you can also create customize exception class. But […]
This article will tell you how to install python interpreter in PyCharm project. Before start, you should make sure you had installed python on your system.
When i use eclipse to open an exist PyDev project, i find error message like Unresolved import: smtplib. This error means the python3 built-in library smtplib can not be found […]