add ortools/python/ortools_notebook bazel target
This commit is contained in:
11
ortools/python/ortools_notebook.py
Normal file
11
ortools/python/ortools_notebook.py
Normal file
@@ -0,0 +1,11 @@
|
||||
"""Launch the notebook server."""
|
||||
|
||||
import re
|
||||
import sys
|
||||
|
||||
from notebook import notebookapp
|
||||
|
||||
|
||||
if __name__ == '__main__':
|
||||
sys.argv[0] = re.sub(r'(-script\.pyw?|\.exe)?$', '', sys.argv[0])
|
||||
sys.exit(notebookapp.main())
|
||||
Reference in New Issue
Block a user