Re: module with c api
[
Date Prev][
Date Next][
Thread Prev][
Thread Next]
[
Date Index]
[
Thread Index]
- Subject: Re: module with c api
- From: Philipp Kraus <philipp.kraus@...>
- Date: 2013年8月23日 15:11:16 +0200
Am 23.08.2013 um 14:50 schrieb Thijs Schreijer <thijs@thijsschreijer.nl>:
> So create a loader function, insert it in 'package.loaders'. Whenever your loader function is called it can check the existence of a module by that name in your database.
>
> Insert the loader function at position 1, or 2 if you always want to check your database and return what is there, or insert it last if you want local files to overrule what is in the database.
Thanks I have tested it with a short hard coded example, that's great
Phil