Skip to content
Snippets Groups Projects
pyprompt.ipy 371 B
Newer Older
# IPython prompt initialization for operation

# Turn automagic on
# This gives the possibility to use magic command without '%'.
# i.e. cd, pwd, ...
%automagic on


# Import usefull packages
import tango
import numpy as np
import OpUtils as OU
print("Imported: tango, np, OU")

# Create a database object
DB = tango.Database()
print("Object DB created: tango database")