I've asked the following question, some time ago: Preloading the Jupyter Notebook with specific classes/functions
This works great when I start the interpreter with ipython --profile=DOS in my terminal. I have all the predefined functionalities available in the interpreter.
My question is, how do I load this into a jupyter notebook? So far, I can only load python2 or python 3.
Say a jupyter notebook configuration looks like
{
"cells": [
{
"cell_type": "code",
"execution_count": 1,
"metadata": {},
"outputs": [
{
"name": "stdout",
"output_type": "stream",
"text": [
"test\n"
]
}
],
"source": [
"print(\"test\")"
]
}
],
"metadata": {
"kernelspec": {
"display_name": "Python 3",
"language": "python",
"name": "python3"
},
"language_info": {
"codemirror_mode": {
"name": "ipython",
"version": 3
},
"file_extension": ".py",
"mimetype": "text/x-python",
"name": "python",
"nbconvert_exporter": "python",
"pygments_lexer": "ipython3",
"version": "3.6.7"
}
},
"nbformat": 4,
"nbformat_minor": 2
}
Can I use a configuration where it uses ipython3 --profile=DOS, resulting in loading the predefined functionalities?