Python plugins, third round
Lalo Martins
lalo at exoweb.net
Thu Jun 16 07:05:04 BST 2005
And so says Martin Pool on 16/06/05 13:27...
> On 15 Jun 2005, John A Meinel <john at arbash-meinel.com> wrote:
>>All of those would be loaded from:
>> sys.path.append(os.path.expanduser('~/.bzr/plugins'))
>> import plugin
>
> I assume here you're using 'plugin' as a variable; not requiring it to
> be called plugin.
I'm sure John meant that as pseudocode; in "real life" we're not using
"import" anymore, but the functions from imp.
best,
Lalo Martins
--
So many of our dreams at first seem impossible,
then they seem improbable, and then, when we
summon the will, they soon become inevitable.
--
http://www.exoweb.net/ mailto:lalo at exoweb.net
GNU: never give up freedom http://www.gnu.org/
More information about the bazaar
mailing list