MisterAI's picture
download
raw
512 Bytes
"""Entry point for launching an IPython kernel.
This is separate from the ipykernel package so we can avoid doing imports until
after removing the cwd from sys.path.
"""
import sys
from pathlib import Path
if __name__ == "__main__":
# Remove the CWD from sys.path while we load stuff.
# This is added back by InteractiveShellApp.init_path()
if sys.path[0] == "" or Path(sys.path[0]) == Path.cwd():
del sys.path[0]
from ipykernel import kernelapp as app
app.launch_new_instance()

Xet Storage Details

Size:
512 Bytes
·
Xet hash:
439ee1feaf58fbf8c2927176aec174100346aff74eabe6dd013d2048acd7d5ef

Xet efficiently stores files, intelligently splitting them into unique chunks and accelerating uploads and downloads. More info.