Files
openide/python/educational-python/resources/tips/Surround.html
Valentina Kiryushkina 7e5a5b849a Rename educational plugins and update plugin's description
edu --> educational-python
educational --> educational-core
interactive-learning --> student
2016-01-26 19:36:12 +03:00

15 lines
542 B
HTML

<html>
<head>
<link rel="stylesheet" type="text/css" href="css/tips.css">
</head>
<body>
<p>
When you want to catch exceptions thrown by some code fragment,
select it in the editor, press <span class="shortcut">&shortcut:SurroundWith;</span>
(<span class="control">Code | Surround With</span>) and choose <span class="control">try/except</span>.
This will automatically generate the except clause.</p>
<p class="image">
<img src="images/try_except.png" alt="surround"/></p>
</body>
</html>