user2879704
user2879704

Reputation:

ipython - disable welcome message

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

Answers (3)

Sayooj Samuel
Sayooj Samuel

Reputation: 624

Editing the IPython config file

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

Updating default profile

Create new config file if it does not exist, or use

ipython locate profile

to view the current profile location.

Upvotes: 3

user5853825
user5853825

Reputation: 81

You can use

ipython --no-banner

or set in configuration file

c.TerminalIPythonApp.display_banner = False

Upvotes: 8

ljk321
ljk321

Reputation: 16770

Just use:

ipython console

You'll get it, if that's what you want.

Upvotes: 2

Related Questions