title: python: What is the cost of re-importing modules?
body: <p>I am often tempted to import modules in narrow contexts where they are needed. For example in the body of a function that utilises the module. In this case, the import statement may be executed many times. </p>
  
  <p>Apart from stylistic issues, what is the performance cost of doing this?</p>