Re: g.importModule() and friends: do they still work? Examples?

2018-04-08 Thread Edward K. Ream
On Sun, Apr 8, 2018 at 1:54 PM, Viktor Ransmayr wrote: > I haven't been able to get them to work. Is it them or me? ;-) >> >> import leo.core.leoGlobals as g >> # g.importFromPath('semantic_version', >> # >> r'C:\Users\mattw\Documents\GitHub\leo-editor\leo\extensions\semantic_version', >> >

Re: g.importModule() and friends: do they still work? Examples?

2018-04-08 Thread Viktor Ransmayr
Hello Matt 2018-04-08 19:26 GMT+02:00 Matt Wilkie : > Hi All, > > I found 3 related functions that purport to do variants of: > > Try to import a module as Python's import command does. >> >> moduleName is the module's name, without file extension. >> >> This function first attempts t

g.importModule() and friends: do they still work? Examples?

2018-04-08 Thread Matt Wilkie
Hi All, I found 3 related functions that purport to do variants of: Try to import a module as Python's import command does. > > moduleName is the module's name, without file extension. > > This function first attempts to import from sys.modules, > then from the extensions and exte