Skip to content

SyntaxWarning when starting jupyter nbclassic #296

@living180

Description

@living180

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("""
_ _ _ _
| | | |_ __ __| |__ _| |_ ___
| |_| | '_ \/ _` / _` | _/ -_)
\___/| .__/\__,_\__,_|\__\___|
|_|
.

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions