I have to name the single folder as 'com.apple.com'
, it has an app.py
under the folder.
I want to import the app.py
using importlib
, how to do that?
I have tried using following code, but always got an error.
The structure of folder:
--com.apple.com
----app.py
and code:
importlib.import_module("com.apple.com.app")