Reputation:
Everytime i enter into ipython
mode, ipython welcomes me with this message,
WARNING: Attempting to work in a virtualenv. If you encounter
problems, please install IPython inside the virtualenv.
Python 2.7.6 (default, Mar 22 2014, 22:59:56)
Type "copyright", "credits" or "license" for more information.
IPython 1.2.1 -- An enhanced Interactive Python.
? -> Introduction and overview of IPython's features.
%quickref -> Quick reference.
help -> Python's own help system.
object? -> Details about 'object', use 'object??' for extra details.
Greeting people is all good and well but it takes up most of my shell screen and i am made to do clean
to remove them.
How can i disable this welcome message via configuration file?
Upvotes: 10
Views: 1557
Reputation: 624
Edit your config file and add
c.TerminalIPythonApp.display_banner = False
The default profile's config file is found at /home/<user>/.ipython/profile_default/ipython_config.py
The documentation for IPython configuration can be found here
Create new config file if it does not exist, or use
ipython locate profile
to view the current profile location.
Upvotes: 3
Reputation: 81
You can use
ipython --no-banner
or set in configuration file
c.TerminalIPythonApp.display_banner = False
Upvotes: 8