tweak export to notebook; add flags stubs code to allow them to work in a notebook

This commit is contained in:
Laurent Perron
2023-09-05 17:06:29 +02:00
parent d89cb4dd3c
commit 250302964e
285 changed files with 476 additions and 427 deletions

View File

@@ -16,9 +16,9 @@
import re
import sys
from notebook import notebookapp
from notebook import app
if __name__ == "__main__":
sys.argv[0] = re.sub(r"(-script\.pyw?|\.exe)?$", "", sys.argv[0])
sys.exit(notebookapp.main())
sys.exit(app.main())