You can change the color of the traceback highlight in IPython Windows Powershell by following these steps:
Open IPython Windows Powershell.
Type %colors
and press enter. This will display a list of available color schemes.
Note the name of the color scheme you want to modify.
Type %config
and press enter.
Type InteractiveShell.colors
followed by a dot (.) and the name of the color scheme you want to modify (e.g. xterm
).
This will display a list of color settings for that scheme. Find the setting for highlight_color
.
To modify the color, you can either use the RGB values or use the name of the color. For example, to set the highlight color to dark blue, you can enter InteractiveShell.colors.xterm.highlight_color = 'navy'
.
Press enter to apply the changes.
Type %colors
again to confirm that the color was changed.
Note: You can experiment with different colors and settings until you find a combination that works for you.
Please start posting anonymously - your entry will be published after you log in or create a new account. This space is reserved only for answers. If you would like to engage in a discussion, please instead post a comment under the question or an answer that you would like to discuss
Asked: 2022-08-06 11:00:00 +0000
Seen: 11 times
Last updated: Jul 02 '21
When running a Python script in PowerShell, I am receiving an error related to non-UTF characters.
How can I set up Gunicorn with a Django Project?
Looking for a Python Module that finds Tags for a Text describing its Content
Need a Function in Python to remove entries less than 2 digits from an Array
How can I convert a Document in Python?