Need to add a custom user-input prompt after the kernel has been initialized (original) (raw)
I have the kernels rendered from Jupyter Enterprise Gateway. I am using pyspark kernel and launch_ipykernel.py script for initializing the pyspark.
I have a requirement to add a custom user-input prompt, after the kernel is initialized. How this can be achieved ? I tried modifying the launch_ipykernel.py script, but looks like it runs in the background and cannot interact with the user in the front end. Suggest a way to achieve it ?