Use ipython as ROOT prompt
Python
Switch branches/tags
Nothing to show
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Failed to load latest commit information.
LICENSE
README.md
root.py

README.md

root.py

root.py is a simple wrapper to replace the interactive prompt with ipython.

All it does is import the ROOT namespace as r and do some argument processing:

  • ROOT and HBOOK files are loaded into an array _f.
  • CINT macros are processed.
  • Python files are processed in ipython's interactive mode.

Usually command line arguments will be handed to ipython first. Use -- to clearly separate ipython and root.py arguments.