NOTE: # means comment. The rest are a mixture of languages: Python, line magic, cell magic, etc.
# Set environment variable that're valid throughout a notebook.
# Use /home/ec2-user instead of ~, otherwise even !ls -al $VAR_NAME fails.
var_name = 1234
%env VAR_NAME=$var_name
%set_env VAR_NAME=$var_name