Haoyi Li wrote: > Import hooks don't work with __main__ =( I spent a while trying to get > it to work when working on MacroPy, to no avail. It's hard to see how they could. How would you *install* an import hook before __main__ got imported? -- Greg