Page 1 of 1

Do modules support nested folders?

Posted: Tue Jan 10, 2017 9:47 am
by mkarliner
BTW - Does the modules directory now support nested folders?
I seem to remember a discussion, but I can't find the conclusion.

Mike

[Moderator note: Please don't hijack other threads - start a new thread for a new topic]

Re: Do modules support nested folders?

Posted: Wed Jan 11, 2017 7:57 am
by pythoncoder
If you're talking about frozen bytecode, it seems that the answer is yes. I've frozen the uasyncio library which includes directories such as stmhal/modules/lib/uasyncio

As I understand it you can also put your modules directory anywhere in the filesystem (allowing per-project directories) but I haven't yet tried it.