Python — Limits On Number of Imports?

前端 未结 3 562
慢半拍i
慢半拍i 2021-02-14 14:00

I have 1000s of custom (compiled to \'.so\') modules that I\'d like to use in python at the same time. Each such module is of size (100 [KB]) on averag

3条回答
  •  深忆病人
    2021-02-14 14:27

    There's no Python limit on number of imports in a module. If there's a limit in any particular implementation, it's probably because of resource limits outside the Python interpreter.

提交回复
热议问题