Last active
September 11, 2022 23:08
-
-
Save jj-github-jj/c5296f801b71394d3a7074a5aed98bb7 to your computer and use it in GitHub Desktop.
environment utility snippets
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#force reload of specific module without restarting kernel. Useful for debug | |
import importlib | |
importlib.reload(<module name>) | |
# get path of python exe jupyter lab is using | |
!python --version | |
!jupyter kernelspec list | |
!jupyter --version | |
!{sys.executable} -m pip install -i https://test.pypi.org/simple/ --extra-index-url https://pypi.org/simple jjutil |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment