def create_table(self, table, cols):
        """
        @brief      Creates a table in database
        @param      table  String
        @param      cols   String, the cols in table
        """
        sql = "CREATE TABLE if not exists %s (%s);" % (table, cols)
        Log.debug('DB -> %s' % sql)
        self.execute(sql)

        @brief      Creates a table in database
        @param      table  String
        @param      cols   String, the cols in table
        
wxbot_project_py2.7/db/sqlite_db.py