Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

SyntaxWarning when starting jupyter nbclassic #296

Closed
living180 opened this issue Sep 12, 2024 · 0 comments · Fixed by #297
Closed

SyntaxWarning when starting jupyter nbclassic #296

living180 opened this issue Sep 12, 2024 · 0 comments · Fixed by #297
Labels
bug Something isn't working

Comments

@living180
Copy link
Contributor

When starting jupyter nbclassic under Python 3.12, the first line printed is:

/tmp/venv/lib/python3.12/site-packages/nbclassic/notebookapp.py:327: SyntaxWarning: invalid escape sequence '\/'

This is due to ASCII art which uses backslashes in a literal fashion rather than for escape sequences:

print("""
_ _ _ _
| | | |_ __ __| |__ _| |_ ___
| |_| | '_ \/ _` / _` | _/ -_)
\___/| .__/\__,_\__,_|\__\___|
|_|
.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants