摘要:
MySQL 字符串函数 函数描述实例 ASCII(s) 返回字符串 s 的第一个字符的 ASCII 码。 返回 CustomerName 字段第一个字母的 ASCII 码: SELECT ASCII(CustomerName) AS NumCodeOfFirstChar FROM Customers 阅读全文
摘要:
from datetime import datetime def log(func):#func表示装饰器作用于的函数 def wrapper(*args,**kw):#wrapper返回装饰器作用于的函数及参数,同时执行封装的额外功能方法print('call %s' % func.__name__) print('call %s' % func.__name__)#... 阅读全文