[BangPypers] calling instance of the other class.

2009-06-22 Thread learningpython
Dear Python experts, Please can you help in a following scenario.. I have some classes each for a Protocol Data Unit which you could consider as a structures of elements example class ex1: class usr_mac(MAC_PDU): ''' Group Voice Channel User ''' def __init__(self): self.p

[BangPypers] [JOBS] Opening for Tech Lead at weRead

2009-06-22 Thread Tahir Hashmi
Hi weRead (http://www.weread.com) is the world's largest social book discovery site in the world with its presence on top Social Networks including Facebook, Orkut, MySpace and Yahoo!, among others. We have some really exciting tasks cut for us as we challenge ourselves to get the attention of ea

Re: [BangPypers] calling instance of the other class.

2009-06-22 Thread Senthil Kumaran
On Mon, Jun 22, 2009 at 04:35:35AM -0700, learningpython wrote: > Please can you tell me how to pass instance of above class as a member of > the new message created in similar lines with one of the elements is the > complete data above (instance of above class). > > I am encapsulating above mes

[BangPypers] Django connection problem

2009-06-22 Thread VIJAY KUMAR
Hi    Need a help for below error.        from django.contrib.auth.models import User   File "c:\python26\lib\site-packages\django-1.0.2_final-   py2.6.egg\django\contrib\auth\models.py", line 3, in    from django.db import models     File "c:\python26\li

Re: [BangPypers] Django connection problem

2009-06-22 Thread Gora Mohanty
On Mon, 22 Jun 2009 19:14:21 +0530 (IST) VIJAY KUMAR wrote: > Hi >    Need a help for below error. >        from django.contrib.auth.models import User >   File "c:\python26\lib\site-packages\django-1.0.2_final-   > py2.6.egg\django\contrib\auth\models.py", line 3, in >

Re: [BangPypers] calling instance of the other class.

2009-06-22 Thread learningpython
Sorry Senthil and all, I am sure, it's pretty easy but don't i am not able to catch it. In C, i just pass the & of the another structure in the structure element, some thing close. Here is what i do .. a class is defined as mentioned, now this class is element of another class class Send_Msg_req

Re: [BangPypers] Django connection problem

2009-06-22 Thread VIJAY KUMAR
Hi,    Am pressently using sqlite .    The problem is in the django\db\__init__.py where it is importing connection module     from django.db import connection   Thanks Vijay --- On Mon, 22/6/09, Gora Mohanty wrote: From: Gora Mohanty Subject: Re: [BangPypers] Dja