Re: importlib.util.find_spec()

2014-08-28 Thread Twirlip2
Excuse me for following up my own post; also, for continuing to use Google Groups (but I've been browsing news.gmane.org, with the intention of using it in future - once I understand how to use it). I should have read this: PEP 451 -- A ModuleSpec Typ

importlib.util.find_spec()

2014-08-27 Thread Twirlip2
I want to write a function (preferably not very complicated, nor requiring deep understanding of the innards of Python) that will tell me whether a given string can be used as the name of a module (filename .py), which can be placed in the search path, without conflicting with some other use which