All-numeric script names and import

Wolfgang Maier wolfgang.maier at biologie.uni-freiburg.de
Fri May 23 05:22:36 EDT 2014


On 23.05.2014 11:02, Chris Angelico wrote:
> On Fri, May 23, 2014 at 6:58 PM, Wolfgang Maier
> <wolfgang.maier at biologie.uni-freiburg.de> wrote:
>> Latin, you DID use Arabic numbers :)
>>
>
> I may have used an Arabic numeral, but I named my script very
> definitely in English. Isn't it obvious? It's read "one dot pie",
> which is clearly English! :)
>

I see, so what you should propose then is a change to import, so that 
when it can't find a module it will try to import an alternative that's 
pronounced the same way. Then you could simply do:

import one

and you're fine :)

Cheers,
Wolfgang





More information about the Python-list mailing list