Python学习记录-判断字符串为空

基本库 判断字符串为空web s=' ' if s.strip()=='': print 's is null' # 或者 if not s.strip(): print 's is null' pltjson # 显示图像 plt.show() # 暂停 plt.pause(10) # second # 关闭图像 plt.close() json文件保存与读取框架 model
相关文章
相关标签/搜索