Update docs/introduction.md

Co-authored-by: darrenburns <darrenburns@users.noreply.github.com>
This commit is contained in:
Will McGugan
2022-08-05 09:16:57 +01:00
committed by GitHub
parent fa61ca0f64
commit 3976698f4c

View File

@@ -44,7 +44,7 @@ The first step in all Textual applications is to import the `App` class from `te
This App class is responsible for loading data, setting up the screen, managing events etc. In a real app most of the core logic of your application will be contained within methods on this class. This App class is responsible for loading data, setting up the screen, managing events etc. In a real app most of the core logic of your application will be contained within methods on this class.
The last two lines create an instance of the application and calls the `run()` method: The last two lines create an instance of the application and call the `run()` method:
```python hl_lines="8 9" title="intro01.py" ```python hl_lines="8 9" title="intro01.py"
--8<-- "docs/examples/introduction/intro01.py" --8<-- "docs/examples/introduction/intro01.py"