python

2018-10-25  本文已影响0人  小小爱笑

https://docs.python.org/3.7/

中文文档:

http://www.pythondoc.com/pythontutorial3/appetite.html

https://aiohttp.readthedocs.io/en/stable/

问题记录

https://www.cnblogs.com/wangyanhua95/p/7888926.html

raise ProgrammingError("execute() first")

async with self.application.db.acquire() as conn:
            async with conn.cursor() as cur:
                await cur.execute('select * from tbl_cfs_import_task')
                rs = await cur.fetchall()

忘记加 await


def fun(argv=()):
    for v in argv:
        print(v)

fun('Hello')

fun( ('Hello',) )
上一篇下一篇

猜你喜欢

热点阅读