I apologize in advance if this question seems remedial.
Which would be considered more efficient in Python:
Standard import
import logging
try:
...some code...
exception Exception, e:
logging.error(e)
...or...
Contextual import
try:
...some code...
exception Exception, e:
import logging
logging.error(e)