📜  会话有关键 python 3 - Python 代码示例

📅  最后修改于: 2022-03-11 14:45:03.199000             🧑  作者: Mango

代码示例1
# Check if key exists
if session.get("key") == None:
    # Do something if it doesnt exist
else:
    # Do something else if it does exist