GeezerVisonThe World Wide Web, restored to 800 pixels of glory. |
| Home|About|Gaming cabinet|Archives|How it works|Starter sites |
GeezerVison is showing syntaxdb.com — With Statement in Python - SyntaxDB - Python Syntax Reference
LanguageVersion: 3.4.3Categories
Control FlowWith Statement in PythonUsed to execute code with an unmanaged resource that may raise an exception. The with statement manages the resource, using it if successful and removing it when the block finishes executing. SyntaxNotesAn example of a resource that may raise an exception is a file stream. Example
|
| You are visitor 01402503 — GeezerVison does not store the pages you look up. Best viewed with Netscape Navigator 4.7 or Internet Explorer 6 at 800×600. No cookies required. |