In <58f7bd2a-ef82-4782-b4fb-db824f9c8...@googlegroups.com>
smilesonisa...@gmail.com writes:
> > > File "aaa.py", line 5, in
> >
> > > from ccc.ddd import sss
> >
> > > ImportError: No module named ccc.ddd
> >
> > > directory structure as follows:
> >
> > > ccc
> > > |
> > > ddd
> > >
On 11/12/2013 05:45, smilesonisa...@gmail.com wrote:
On Wednesday, December 11, 2013 10:23:34 AM UTC+5:30, John Gordon wrote:
In <93405ea9-6faf-4a09-9fd9-ed264e313...@googlegroups.com>
smilesonisa...@gmail.com writes:
File "aaa.py", line 5, in
from ccc.ddd import sss
ImportEr
On Tue, Dec 10, 2013 at 9:45 PM, wrote:
> On Wednesday, December 11, 2013 10:23:34 AM UTC+5:30, John Gordon wrote:
>> In <93405ea9-6faf-4a09-9fd9-ed264e313...@googlegroups.com>
>> smilesonisa...@gmail.com writes:
>>
>>
>>
>> > File "aaa.py", line 5, in
>>
>> > from ccc.ddd import sss
>>
>
On Wednesday, December 11, 2013 10:23:34 AM UTC+5:30, John Gordon wrote:
> In <93405ea9-6faf-4a09-9fd9-ed264e313...@googlegroups.com>
> smilesonisa...@gmail.com writes:
>
>
>
> > File "aaa.py", line 5, in
>
> > from ccc.ddd import sss
>
> > ImportError: No module named ccc.ddd
>
>
>
On 12/10/2013 09:25 PM, Michael Torrie wrote:
> On 12/10/2013 08:56 PM, smilesonisa...@gmail.com wrote:
>> Traceback (most recent call last):
>> File "aaa.py", line 5, in
>> from ccc.ddd import sss
>> ImportError: No module named ccc.ddd
>>
>> directory structure as follows:
>>
>> ccc
>> |
>
In <93405ea9-6faf-4a09-9fd9-ed264e313...@googlegroups.com>
smilesonisa...@gmail.com writes:
> File "aaa.py", line 5, in
> 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'
On 12/10/2013 08:56 PM, smilesonisa...@gmail.com wrote:
> Traceback (most recent call last):
> File "aaa.py", line 5, in
> from ccc.ddd import sss
> ImportError: No module named ccc.ddd
>
> directory structure as follows:
>
> ccc
> |
> ddd
>|
> aaa.py
> sss.py
This is because
Hi,
I am a new bie in python I was trying to execute the python script aaa.py in
fedora which imports different modules. Actually when I am executing the aaa.py
I am getting the following error and PYTHON_PATH=/bin/python which has a
symlink to python-2.7. Please help me in this regard? I am
Ulrich Eckhardt writes:
> > the directory structure is as follows:
> >
> > src
> > org.test
> > A.py
> > org.lab
> > B.py
>
> Python uses a dot as separator between different parts of nested
> structures, like e.g. the directories during import.
More generally, the name of a mod
. Try this structure instead:
src
org
test
A.py
lab
B.py
or maybe
src
org_test
A.py
org_lab
B.py
> contents of A seems like:
> class A
> ...
>
> contents of B seems like: // I try to run B.py,
> p
On Tue, Aug 2, 2011 at 4:52 PM, smith jack wrote:
> from org.test.A import A
This is going to look for org/test/A.py but not for org.test/A.py -
are you able to rename your directories to not have dots?
ChrisA
--
http://mail.python.org/mailman/listinfo/python-list
src
org.test
A.py
org.lab
B.py
contents of A seems like:
class A
...
contents of B seems like: // I try to run B.py,
python import error just appears, why?
from org.test.A import A
a = A()
--
http://mail.python.org/mailman/listinfo/python-list
On Sat, Jul 18, 2009 at 3:14 AM, Kalyan
Chakravarthy wrote:
> Hi All,
> I am using Python 2.6, MySQL 4.0 , I have successfully
> Instaled MySQLdb (MySQL-python-1.2.3c1.win32-py2.6) in my system. I tested
> through command prompt with "import MySQLdb ", its not shwing any errors
>
Hi All,
I am using* Python 2.6, MySQL 4.0* , I have successfully
Instaled MySQLdb (*MySQL-python-1.2.3c1.win32-py2.6*) in my system. I tested
through command prompt with "import MySQLdb ", its not shwing any errors
(means its instaled successfully), I set Eneceranment variable fo
Hi
I am facing a problem while loading a SWIG generated shared module
from python. The development is under HP-UX 32b platform. I use gcc
version 4.0.2 to build the shared module. This is how i try to build
the module.
# Compilation
GCC="$GCC -march=1.1"
$GCC -v -c -fpic ${ETUDE}.c ${ETUDE}_wrap.
15 matches
Mail list logo