3

How can i add configurations to start a kernel via jupyter_client.manager.start_new_kernel() without setting up a default configuration file in .ipython directory? I want to set shell colors to 'NoColor' without setting up a config file and initialize specific formatters.

This is equivalent to the following config file:

c = get_config()
c.InteractiveShell.colors = 'NoColor'

1 Answer 1

3

This worked: manager.start_new_kernel(extra_arguments=["--colors='NoColor'"])

Sign up to request clarification or add additional context in comments.

Comments

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Start asking to get answers

Find the answer to your question by asking.

Ask question

Explore related questions

See similar questions with these tags.