En Mon, 14 Sep 2009 10:30:07 -0300, samwyse escribió:
### I've tried this under both Python 2.5.1 and 3.1.1, and it isn't
working with either one. Here is my program:
class Plugin(object):
"""This is the base object for a plug-in."""
pass
def load_plugins(plugin_subdir='plugins'):
### I've tried this under both Python 2.5.1 and 3.1.1, and it isn't
working with either one. Here is my program:
class Plugin(object):
"""This is the base object for a plug-in."""
pass
def load_plugins(plugin_subdir='plugins'):
import sys, pkgutil, imp, os.path
try:
# Us