On 11/12/2013 05:45, [email protected] wrote:
On Wednesday, December 11, 2013 10:23:34 AM UTC+5:30, John Gordon wrote:
In <[email protected]> 
[email protected] writes:



   File "aaa.py", line 5, in <module>

     from ccc.ddd import sss

ImportError: No module named ccc.ddd



directory structure as follows:



ccc

|

  ddd

    |

     aaa.py

     sss.py



A python file isn't importable unless the directory also contains a file

named __init__.py .



Try making __init__.py files in the ccc and ddd directories.  If you

don't know what to put in them, just leave them blank.


It is having __init__.py as blank in ccc and ddd directories. But it still 
doesnot work.
--

John Gordon         Imagine what it must be like for a real medical doctor to

[email protected]    watch 'House', or a real serial killer to watch 'Dexter'.


Have you actually written anything above?

You also appear to be suffering from the highly contagious double spaced google disease. So would you please read and action this https://wiki.python.org/moin/GoogleGroupsPython to prevent us seeing the double line spacing above, thanks.

--
My fellow Pythonistas, ask not what our language can do for you, ask what you can do for our language.

Mark Lawrence

--
https://mail.python.org/mailman/listinfo/python-list

Reply via email to