HTML5 Canvas
Written by: Simon Sarris
Featured Refcardz: Top Refcardz:
  1. Apache Hadoop
  2. Web Driver
  3. MVVM
  4. REST
  5. ADO.NET
  1. HTML5
  2. Ajax
  3. jQuery Selectors
  4. CSS Part 1
  5. Git

Link Details

Link 23825 thumbnail
User 230430 avatar

By wyldwolf
via technogeek.org
Published: Jun 01 2007 / 02:48

If you have a need to import a module in python and, for whatever reason, you will not know the name of the module until run-time, python provides several ways to dynamically import the module.
  • 10
  • 1
  • 8716
  • 18

Comments

Add your comment
User 205043 avatar

mystilleef replied ago:

0 votes Vote down Vote up Reply

The technique is also used to write plugin systems in Python. Very useful.

Add your comment


Html tags not supported. Reply is editable for 5 minutes. Use [code lang="java|ruby|sql|css|xml"][/code] to post code snippets.

Voters For This Link (10)



Voters Against This Link (1)