Things on this page are fragmentary and immature notes/thoughts of the author. Please read with your own judgement!
os.environis a dict-like object containing environment variables as keys and their values as values. You can query the value of an environment variable usingos.environ[ENV_VAR_NAME]. And you can set the value of an environemnt variable usingos.environ[ENV_VAR_NAME] = val
Tips on Jupyter-Book
Things on this page are fragmentary and immature notes/thoughts of the author. Please read with your own judgement!
xinstall jb -ic
Configuration
xinstall jb -c creates a copy of configuration file _config.yml in the current directory.
By default,
The configuration file _config.yml in the current directory (if …
Rustdef Makes It Dead Simple to Call Rust in Python Notebook
Things on this page are fragmentary and immature notes/thoughts of the author. Please read with your own judgement!
Tips and Traps¶
- rustimport is a Python library which allows you to import Rust source files directly from Python! It is similar to rustdef @ GitHub but targeting use cases in Python code instead of in Jupyter/Lab notebooks.
Undelete Files in Linux
Things on this page are fragmentary and immature notes/thoughts of the author. Please read with your own judgement!
The best way to "recover deleted files"
is really to avoid permanently delete files.
It is suggested that you avoid using the rm command
(unless you are 100% sure what you …