Re: importing a module from a file without the '.py' suffix

2021-10-22 Thread Chris Johns
The (newer) risc os port does a whole bunch of stuff in importlib to do this, as it natively doesn’t use extensions but file types. I’m not sure if you could do something similar without modifying importlib and re-freezing it. https://github.com/c-jo/cpython/blob/riscos-310/Lib/importlib/_boots

Re: Embedded python

2005-08-04 Thread Chris Johns
> Any guidelines ? Maybe the RTEMS instructions will help: http://www.rtems.org/phpwiki/index.php/Python -- Chris Johns -- http://mail.python.org/mailman/listinfo/python-list