GitLab now enforces expiry dates on tokens that originally had no set expiration date. Those tokens were given an expiration date of one year later. Please review your personal access tokens, project access tokens, and group access tokens to ensure you are aware of upcoming expirations. Administrators of GitLab can find more information on how to identify and mitigate interruption in our documentation.
When working with encodings, you might encounter errors. Python provides several error handlers:
```python
# Different error handling strategies
text = "Hello, 世界"
...
...
@@ -320,7 +327,8 @@ with open('output.txt', 'w') as f:
```
!!! Note "`with`"
We'll cover the `with` statement in more detail in future lessons. For now, just know that it's a convience feature that ensures resources are released when they are no longer needed.
We'll cover the `with` statement in more detail in future lessons. For now, just know that it's a convenience feature that ensures resources are released when they are no longer needed.