I have directory structures like below..
|---- folder1
|---- __init__.py
|---- python_file1.py
|---- folder2
|---- __init__.py
|---- python_file2.py
while i try to import like this "folder2.python_file2 import some_function".
it give an error: ImportError: cannot import name some_function
and also i had look many answer in stack overflow they said to insert file path if the directory without __init__.py
file. But even i have __init__.py
I cant able to import function from that directory. Let me clear about this error.
Thanks.