[BangPypers] Object Oriented Python - Advice on books

2010-12-01 Thread Jins Thomas
Hi all, Would somebody advise some good beginner level books on Python, where Object Oriented concepts are also being discussed. May be because I haven't used much of the OO concepts, I'm feeling a bit difficulty in understanding this. Getting a feel like most of the python books deal like

Re: [BangPypers] Object Oriented Python - Advice on books

2010-12-01 Thread Venkatraman S
Couple of Qs you might want to ask yourself before you venture into OO: # Why do i want to learn OO # What are the advantages of OO # What are the other design paradigms # How good am I with the basics of Python (if not spend sometime learning this) # Does OO and Python go together well? # If I am

Re: [BangPypers] Object Oriented Python - Advice on books

2010-12-01 Thread Senthil Kumaran
On Wed, Dec 1, 2010 at 4:55 PM, Venkatraman S venka...@gmail.com wrote: Couple of Qs you might want to ask yourself before you venture into OO: Please no. Venkat, a -1 to your response as it might confuse a newcomer. IMHO, the questions are not related at all. Jins, forget these questions. Just

Re: [BangPypers] Object Oriented Python - Advice on books

2010-12-01 Thread Venkatraman S
On Wed, Dec 1, 2010 at 2:43 PM, Senthil Kumaran orsent...@gmail.com wrote: On Wed, Dec 1, 2010 at 4:55 PM, Venkatraman S venka...@gmail.com wrote: Couple of Qs you might want to ask yourself before you venture into OO: Please no. Venkat, a -1 to your response as it might confuse a newcomer.

Re: [BangPypers] Object Oriented Python - Advice on books

2010-12-01 Thread Noufal Ibrahim
On Wed, Dec 01 2010, Jins Thomas wrote: Hi all, Would somebody advise some good beginner level books on Python, where Object Oriented concepts are also being discussed. May be because I haven't used much of the OO concepts, I'm feeling a bit difficulty in understanding this. Getting a

Re: [BangPypers] Object Oriented Python - Advice on books

2010-12-01 Thread Kenneth Gonsalves
On Wed, 2010-12-01 at 14:25 +0530, Venkatraman S wrote: Couple of Qs you might want to ask yourself before you venture into OO: # Why do i want to learn OO # What are the advantages of OO # What are the other design paradigms # How good am I with the basics of Python (if not spend sometime

Re: [BangPypers] Object Oriented Python - Advice on books

2010-12-01 Thread Senthil Kumaran
On Wed, Dec 1, 2010 at 5:25 PM, Venkatraman S venka...@gmail.com wrote: Most of the people(especially newbies) get into OO without knowing what the language has to offer, and they overdo OO. If they do Python, they are doing OO. So if they over do python, they are overdoing OO. :) I have

Re: [BangPypers] Object Oriented Python - Advice on books

2010-12-01 Thread Kenneth Gonsalves
On Wed, 2010-12-01 at 15:11 +0530, Noufal Ibrahim wrote: May be because I haven't used much of the OO concepts, I'm feeling a bit difficulty in understanding this. Getting a feel like most of the python books deal like reader has already some conceptual understanding on Object Oriented

Re: [BangPypers] Can two django projects be made to communicate to each other

2010-12-01 Thread Siddharta G
Yes you can, we do something like what you mentioned. If both projects share the database, and are on the same domain (ie they share the cookie) then you can login in one and be authenticated in the other. Both projects need to be configured to use the same auth backend (its like this by default)

Re: [BangPypers] Can two django projects be made to communicate to each other

2010-12-01 Thread Anubha Dadhich
On Wed, Dec 1, 2010 at 4:14 PM, Siddharta G siddharta.li...@gmail.comwrote: Yes you can, we do something like what you mentioned. If both projects share the database, and are on the same domain (ie they share the cookie) then you can login in one and be authenticated in the other. Both

[BangPypers] refactoring

2010-12-01 Thread Kenneth Gonsalves
hi, I know that this has cropped up in a parallel thread, but anyway I would like a new thread on this. In a LUG list a ruby guy made a statement that 'No self respecting developer could function without having read the refactoring book'. How relevant is this to python? I do not see much except

Re: [BangPypers] refactoring

2010-12-01 Thread Santosh Rajan
I don't want to start an argument here. But here is my personal take on this. 1) A self respecting developer will NOT need to refactor his code in the first place. 2) Given the movement towards functional programming, you don't need refactoring at all. On Wed, Dec 1, 2010 at 4:33 PM, Kenneth

Re: [BangPypers] refactoring

2010-12-01 Thread Anand Chitipothu
2010/12/1 Santosh Rajan santra...@gmail.com: I don't want to start an argument here. That is a good way to start an argument. :) But here is my personal take on this. 1) A self respecting developer will NOT need to refactor his code in the first place. 2) Given the movement towards

Re: [BangPypers] Can two django projects be made to communicate to each other

2010-12-01 Thread Lakshman Prasad
If I understand what you are saying, You have 2 different projects in django, (in different repos) and you don't want to have user logged in, in each site. The *simplest* way to solve this is to configure the django.contrib.auth of both the projects to use the same database. - And yes, it is a

[BangPypers] What kind of applications can we develop with Python

2010-12-01 Thread sreedhar ambati
Hi I am new to Python. I am from PHP,Microsoft .net background. Can you tell me the real power behind Python language? What kind of applications we can develop? Please quote some real time projects where industries are using Python Thanks Sreedhar Ambati http://ambatisreedhar.spaces.live.com

Re: [BangPypers] Can two django projects be made to communicate to each other

2010-12-01 Thread Anubha Dadhich
On Wed, Dec 1, 2010 at 5:16 PM, Lakshman Prasad scorpion...@gmail.comwrote: If I understand what you are saying, You have 2 different projects in django, (in different repos) and you don't want to have user logged in, in each site. They are in the same repository. Yes we do not want user to

Re: [BangPypers] Can two django projects be made to communicate to each other

2010-12-01 Thread Lakshman Prasad
If you have 2 base urls.py, I think correspondingly, you also need 2 settings.py and hence 2 WSGI files. As far as I know, each Apache virtualhost can only take 1 WSGIProcess. So you will need 2 apache processes. - I might be wrong on this, and there might be a better way. The best way, I can

Re: [BangPypers] refactoring

2010-12-01 Thread Ramakrishna Reddy
On Wed, Dec 1, 2010 at 4:33 PM, Kenneth Gonsalves law...@au-kbc.org wrote: hi, I know that this has cropped up in a parallel thread, but anyway I would like a new thread on this. In a LUG list a ruby guy made a statement that 'No self respecting developer could function without having read

Re: [BangPypers] What kind of applications can we develop with Python

2010-12-01 Thread Vikas BN
one that I know of is flickr. About the power of the language there are others on this list who can better articulate. -Vikas Sent from my mobile device On Dec 1, 2010 5:25 PM, sreedhar ambati ambatisreed...@gmail.com wrote: Hi I am new to Python. I am from PHP,Microsoft .net background. Can

[BangPypers] Fwd: India Map by State for Viz

2010-12-01 Thread Venkatraman S
I had sent this to Chennai-LUG, any thoughts from this group? -- Forwarded message -- From: Venkatraman S venka...@gmail.com Date: Wed, Dec 1, 2010 at 8:57 AM Subject: India Map by State for Viz To: ILUG-C il...@ae.iitm.ac.in I was wondering whether there is anything similar for

Re: [BangPypers] What kind of applications can we develop with Python

2010-12-01 Thread Baishampayan Ghose
one that I know of is flickr. About the power of the language there are others on this list who can better articulate. Flickr is written in PHP. Regards, BG -- Baishampayan Ghose b.ghose at gmail.com ___ BangPypers mailing list

Re: [BangPypers] What kind of applications can we develop with Python

2010-12-01 Thread Ramakrishna Reddy
On Wed, Dec 1, 2010 at 6:05 PM, Vikas BN vikas...@gmail.com wrote: one that I know of is flickr. About the power of the language there are others on this list who can better articulate. w00t! when did this happen ? last I heard was their own version of PHP regards -- Ramakrishna Reddy       

Re: [BangPypers] What kind of applications can we develop with Python

2010-12-01 Thread Pradeep Gowda
On Wed, Dec 1, 2010 at 6:52 AM, sreedhar ambati ambatisreed...@gmail.com wrote: Hi I am new to Python. I am from PHP,Microsoft .net background. Can you tell me the real power behind Python language? What kind of applications we can develop? Please quote some real time projects where

Re: [BangPypers] Fwd: India Map by State for Viz

2010-12-01 Thread Gora Mohanty
On Wed, Dec 1, 2010 at 6:06 PM, Venkatraman S venka...@gmail.com wrote: I had sent this to Chennai-LUG, any thoughts from this group? -- Forwarded message -- From: Venkatraman S venka...@gmail.com Date: Wed, Dec 1, 2010 at 8:57 AM Subject: India Map by State for Vizilab To:

Re: [BangPypers] refactoring

2010-12-01 Thread Noufal Ibrahim
On Wed, Dec 01 2010, Kenneth Gonsalves wrote: [...] 'No self respecting developer could function without having read the refactoring book'. [...] If that's his tone of voice and his attitude, I'd pigeonhole him as a zealot and ignore him. Given Fowlers reputation, I'm sure it's a good book

Re: [BangPypers] What kind of applications can we develop with Python

2010-12-01 Thread Noufal Ibrahim
On Wed, Dec 01 2010, Baishampayan Ghose wrote: one that I know of is flickr. About the power of the language there are others on this list who can better articulate. Flickr is written in PHP. [...] And Cal Henderson's Djangocon keynote on Why I hate Django is real fun to watch

Re: [BangPypers] Fwd: India Map by State for Viz

2010-12-01 Thread Venkatraman S
On Wed, Dec 1, 2010 at 7:02 PM, Gora Mohanty g...@mimirtech.com wrote: http://code.google.com/apis/visualization/documentation/gallery/intensitymap.html What do you mean by anything similar for India? Are you asking whether there is an already-existing site that does this, or are you asking

Re: [BangPypers] Fwd: India Map by State for Viz

2010-12-01 Thread Gora Mohanty
On Wed, Dec 1, 2010 at 8:01 PM, Venkatraman S venka...@gmail.com wrote: [...] Google provides a means by which by just mentioning the country code,  we get handle to that country and then encode other information(say, literacy rate, etc etc) along with it and show as a map with relevant viz.

[BangPypers] Python version 2.x or 3.x

2010-12-01 Thread Jins Thomas
Hi all, Would like to ask one more doubt regarding which version we should concentrate, considering a newbie to python. Cheers Jins Thomas ___ BangPypers mailing list BangPypers@python.org http://mail.python.org/mailman/listinfo/bangpypers

Re: [BangPypers] What kind of applications can we develop with Python

2010-12-01 Thread Jeffrey Jose
IIRC, most of the backend of youtube is written in python (unladen swallow ?) /jeff On Wed, Dec 1, 2010 at 7:36 PM, Noufal Ibrahim nou...@gmail.com wrote: On Wed, Dec 01 2010, Baishampayan Ghose wrote: one that I know of is flickr. About the power of the language there are others on this

Re: [BangPypers] Fwd: India Map by State for Viz

2010-12-01 Thread Venkatraman S
Just an FYI : such maps are called as Choropleth Maps. http://vis.stanford.edu/protovis/ex/choropleth.html -V- ___ BangPypers mailing list BangPypers@python.org http://mail.python.org/mailman/listinfo/bangpypers

Re: [BangPypers] Python version 2.x or 3.x

2010-12-01 Thread Noufal Ibrahim
On Wed, Dec 01 2010, Jins Thomas wrote: Hi all, Would like to ask one more doubt regarding which version we should concentrate, considering a newbie to python. [...] Most production software right now is still using 2.* -- ~noufal http://nibrahim.net.in

[BangPypers] [django] django-cms page templates

2010-12-01 Thread Umar Shah
Hi, I have to built a django-cms based app. While I have experience with django I never used django-cms before. I want to create various page type templates that could be used in the system. What is the best way to do it. I couldn't find much information from django-cms docs/ google. Can someone

Re: [BangPypers] Python version 2.x or 3.x

2010-12-01 Thread Senthil Kumaran
On Wed, Dec 01, 2010 at 10:55:54PM +0530, Jins Thomas wrote: Hi all, Would like to ask one more doubt regarding which version we should concentrate, considering a newbie to python. If you want to study and get started, start with python3. There is not much difference between the Python2 and

Re: [BangPypers] refactoring

2010-12-01 Thread Kenneth Gonsalves
On Wed, 2010-12-01 at 18:03 +0530, Ramakrishna Reddy wrote: the refactoring book'. How relevant is this to python? I do not see much except years ago something called bicycle repair man - is that still used? or is this whole thing buzz? Its not a Buzz for sure. Refactoring is just a neat

Re: [BangPypers] What kind of applications can we develop with Python

2010-12-01 Thread Kenneth Gonsalves
On Wed, 2010-12-01 at 18:05 +0530, Vikas BN wrote: one that I know of is flickr. About the power of the language there are others on this list who can better articulate. facebook -- regards Kenneth Gonsalves ___ BangPypers mailing list

Re: [BangPypers] Python version 2.x or 3.x

2010-12-01 Thread Kenneth Gonsalves
On Wed, 2010-12-01 at 22:55 +0530, Jins Thomas wrote: Would like to ask one more doubt regarding which version we should concentrate, considering a newbie to python. 2.x if you are going into production - 3.x if you are doing it for fun - both if you have the time -- regards Kenneth Gonsalves

Re: [BangPypers] Can two django projects be made to communicate to each other

2010-12-01 Thread Anubha Dadhich
On Wed, Dec 1, 2010 at 5:59 PM, Lakshman Prasad scorpion...@gmail.comwrote: If you have 2 base urls.py, I think correspondingly, you also need 2 settings.py and hence 2 WSGI files. As far as I know, each Apache virtualhost can only take 1 WSGIProcess. So you will need 2 apache processes. - I

Re: [BangPypers] Object Oriented Python - Advice on books

2010-12-01 Thread Anand Balachandran Pillai
On Wed, Dec 1, 2010 at 3:24 PM, Kenneth Gonsalves law...@au-kbc.org wrote: also python in a nutshell. btw, I have been using classes for a long time - got into it with wxPython - but does using classes mean one is doing OOP? Fond memories of this book. Was the first and only Python book

Re: [BangPypers] refactoring

2010-12-01 Thread Anand Balachandran Pillai
On Wed, Dec 1, 2010 at 7:33 PM, Noufal Ibrahim nou...@gmail.com wrote: On Wed, Dec 01 2010, Kenneth Gonsalves wrote: [...] 'No self respecting developer could function without having read the refactoring book'. I just realized that I am not a self-respecting developer after reading

Re: [BangPypers] Python version 2.x or 3.x

2010-12-01 Thread Anand Balachandran Pillai
On Wed, Dec 1, 2010 at 10:55 PM, Jins Thomas jinstho...@gmail.com wrote: Hi all, Would like to ask one more doubt regarding which version we should concentrate, considering a newbie to python. If your idea is to learn the language and its tools while being on cutting-edge you should start

Re: [BangPypers] refactoring

2010-12-01 Thread Sateesh Kumar
On Wed, Dec 1, 2010 at 4:33 PM, Kenneth Gonsalves law...@au-kbc.org wrote: hi, I know that this has cropped up in a parallel thread, but anyway I would like a new thread on this. In a LUG list a ruby guy made a statement that 'No self respecting developer could function without having read

Re: [BangPypers] What kind of applications can we develop with Python

2010-12-01 Thread Kumar Gaurav
Please quote some real time projects where industries are using Python This could be instructive : http://stackoverflow.com/questions/415627/big-web-2-0-sites-written-in-python -- Kumar Gaurav Latest Post -- CSS and Performance http://bit.ly/css-and-performance