sample codes written by python from Web sites