简体   繁体   中英

Spyder ide : surround a selected code block in try except clause

In spyder-ide do we have a feature to put a try except clause around a selected code block. Say we select some lines of code and put them within a auto generated try except clauses where in we just need to add the except clauses as per our need.

Spyder ide documentation dosent seem to be mentioning this.

Spyder-ide seems to be not having feature to surround selected code block in try/except clause.

I had raised the question in spyder-ide github repo this is what the maintainers have to say.They have marked it as a feature that may be implemented in future.

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM