How to execute the except block if try prints an empty string

前端 未结 0 1149
不思量自难忘°
不思量自难忘° 2020-11-28 12:26

I want to search a record in a SQL table and if that record is not found, I want to print an error message. I am using a try/except block to do that. But, the error

相关标签:
回答
  • 消灭零回复
提交回复
热议问题