Magic Commands¶
Commands¶
-  
%env: list, get, set environment variables
 -  
%lsmagic: List them all
 - %run: Run a python file
 - %time: Get execution time
 - %who: list all variables
 -  
%load: load a python file (how does this differ from %run?)
 -  
%colors: nocolor, linux, lightbg
 - %edit: bring up editor and execute resulting code
 
env¶
Get, set, or list environment variables.
Usage:
%env: lists all environment variables/values%env var: get value for var%env var val: set value for var%env var=val: set value for var%env var=$val: set value for var, using python expansion if possible