A subkernel will be started with the execution of a cell with the selected language. By default
For example, the following cell starts subkernel Python3
, with language Python3
, kernel ipython
, language module sos-python
, and a default color determined by SoS.
Using the %use
magic, you can start another session of the same language by specifying a separate subkernel with language name specified with option --language
. A separate color is usually specified to differentiate two subkernels:
As you can see, the two Python3 kernels do not share variables:
And you can transfer variables from one kernel to another as usual:
Binding a language module to an unsupported kernelEach language module supports one or more kerneles (e.g. kernel javascript
, and nodejs
for JavaScript) for one or more langauges (e.g. both MATLAB
and Octave
are supported by the sos-matlab
langauge module). If there is a kernel that uses one of the supported languages but is not explicitly supported by SoS, you can use the --kernel
option in combination with the --language
option to link the kernel with the specific language module.
For example, if you have developed yet another kernel for javascript, you can link it with the sos-javascript
language module with command
%use myjs --kernel myjs --language JavaScript
RetroSearch is an open source project built by @garambo | Open a GitHub Issue
Search and Browse the WWW like it's 1997 | Search results from DuckDuckGo
HTML:
3.2
| Encoding:
UTF-8
| Version:
0.7.4