Re: [BangPypers] how to delete base class attribute

2010-07-29 Thread Srinivas Reddy Thatiparthy
fine, but isn't there any way to hide few function of base class into derived one??? I didn't get what is meant by hiding? You can override the function/method of base class in sub class. In that method, you can modify the behaviour for subclass or raise an exception or simply include 'pass'.

Re: [BangPypers] nested list question

2010-07-14 Thread Srinivas Reddy Thatiparthy
I read from Python 2.6.3 docs that,copied from chm Note that filter(function, iterable) is equivalent to [item for item in iterable if function(item)] if function is not None and [item for item in iterable if item] if function is None. Since they said *equivalent* ,i thought both

Re: [BangPypers] nested list question

2010-07-13 Thread Srinivas Reddy Thatiparthy
map (function, list1, list2) where in function you can create your desired list. List comprehensions are preferred to map and filter functions.In fact, filter is a syntactic sugar to list comprehension. Regards, Srini T. --When you are playing cricket, you should hit the ball out of the

Re: [BangPypers] [OT] David Goodger is our keynote speaker

2010-07-03 Thread Srinivas Reddy Thatiparthy
Wow!! gr8.. Regards, Srini T. ___ BangPypers mailing list BangPypers@python.org http://mail.python.org/mailman/listinfo/bangpypers

Re: [BangPypers] [OT] Non tech. meta talk at PyCon India

2010-06-29 Thread Srinivas Reddy Thatiparthy
+1 I am very much keen on this. Regards, Srini T. --The real failure is failing to try for success. ___ BangPypers mailing list BangPypers@python.org http://mail.python.org/mailman/listinfo/bangpypers

Re: [BangPypers] designing programs

2010-06-25 Thread Srinivas Reddy Thatiparthy
well, we seemed have almost reached a consensus - now all we need to decide is the pros and cons of pen versus pencil. Well Kenneth, that's a personal decision.My best suggestion is ,use whatever you are comfortable with. rant Your goal matters not the means.:) /rant Regards, Srini T.

Re: [BangPypers] Facebook Event for PyCon India 2010

2010-06-23 Thread Srinivas Reddy Thatiparthy
+1 for this... Regards, Srini T. --The real failure is failing to try for success. ___ BangPypers mailing list BangPypers@python.org http://mail.python.org/mailman/listinfo/bangpypers

Re: [BangPypers] missing something

2010-06-21 Thread Srinivas Reddy Thatiparthy
Here goes my 2 cents, What you are trying to do is method overloading ,in static language terms. This doesn't exist in python.I am not sure about this..but probably python finds function objects with method name. If anybody clarifies on this topic,it's worth while to learn. anybody? Regards,

Re: [BangPypers] missing something

2010-06-21 Thread Srinivas Reddy Thatiparthy
A small correction, I am not sure about this..but probably python finds function objects with method name * and with out including method parameters.* Regards, Srini T. --Every day is a school day for me ___ BangPypers mailing list

[BangPypers] duck typing -A random thought

2010-06-17 Thread Srinivas Reddy Thatiparthy
is it just because of duck typing we don't require a concept of interfaces(like in Java and C#) in python? i think so.what you say? Regards, Srini T. --The real failure is failing to try for success. ___ BangPypers mailing list

Re: [BangPypers] duck typing -A random thought

2010-06-17 Thread Srinivas Reddy Thatiparthy
I am really enjoying your book.Thanks a lot for writing it. :) Regards, Srini T. --The real failure is failing to try for success. ___ BangPypers mailing list BangPypers@python.org http://mail.python.org/mailman/listinfo/bangpypers

Re: [BangPypers] duck typing -A random thought

2010-06-17 Thread Srinivas Reddy Thatiparthy
Dear Senthil, +sys.maxint for the sheer effort you took for me to write. :) Regards, Srini T. --The real failure is failing to try for success. ___ BangPypers mailing list BangPypers@python.org

Re: [BangPypers] biopython

2010-06-14 Thread Srinivas Reddy Thatiparthy
i am still waiting for some help. You seem to be posting question after question with out even trying to solve them( i can count 10 in three or four days on varying topics) in Bangpypers and comp.lang.python,literally spamming these lists.You better learn basics first , grab a book of

Re: [BangPypers] biopython

2010-06-14 Thread Srinivas Reddy Thatiparthy
Haha... We don't have internet(usually), i manually typed it thinking something else. it usually happens with us programmers. Regards, Srini T. --The real failure is failing to try for success. ___ BangPypers mailing list BangPypers@python.org

Re: [BangPypers] PyCon India 2010 CFP open!

2010-06-13 Thread Srinivas Reddy Thatiparthy
Way to go folks , can't wait to meet you all there.. Regards, Srini T. --The real failure is failing to try for success. ___ BangPypers mailing list BangPypers@python.org http://mail.python.org/mailman/listinfo/bangpypers

Re: [BangPypers] PyCon India 2010 CFP open!

2010-06-13 Thread Srinivas Reddy Thatiparthy
Thanks Srini. Do help spread the word and get more proposals. A conference is only as good as the talks presented. Yes, i did ,Sent mail to all of my friends. Regards, Srini T. ___ BangPypers mailing list BangPypers@python.org

Re: [BangPypers] python for management studies

2010-06-04 Thread Srinivas Reddy Thatiparthy
Getting an application up and running with a few clicks of a mouse has the same effect as eating junk food. Your appetite goes away, you can claim that you've eaten something but there's close to zero nourishment. I love this analogy.gr8. +1 for all of your points. Regards, Srini T. --The real

Re: [BangPypers] PyPDF to read hindi

2010-06-02 Thread Srinivas Reddy Thatiparthy
correct me. ThanksRegards, Srinivas Reddy Thatiparthy, Mobile:9393099772, -Original Message- From: bangpypers-bounces+srinivas_thatiparthy=akebonosoft@python.org on behalf of AADITYA SRIRAM Sent: Wed 6/2/2010 2:22 PM To: bangpypers@python.org Subject: [BangPypers] PyPDF to read hindi

[BangPypers] Pygments help

2010-06-01 Thread Srinivas Reddy Thatiparthy
installed it from source (well,i have windows xp) by running python setup.py install and when i looked for docs to invoke on a file say Test.cs there is a pygmentize file to invoke it.It looks like a *nix file.How to invoke Pygments in windows? ThanksRegards, Srinivas Reddy Thatiparthy

Re: [BangPypers] Pygments help

2010-06-01 Thread Srinivas Reddy Thatiparthy
pygmentize is just a normal python script. You should have no problems running it under windows. Well, it's a shell script with no extension , i opened it in an editor ,it contains python code.see the below code. #here goes the path to python interpreter,actually i overriden that data,so

Re: [BangPypers] Pygments help

2010-06-01 Thread Srinivas Reddy Thatiparthy
Oops,my bad! My version of python is 3.0.I didn't notice it and un-installed it and Pygments working nice on 2.6. ThanksRegards, Srinivas Reddy Thatiparthy, Mobile:9393099772, ___ BangPypers mailing list BangPypers@python.org http

[BangPypers] What are the best python books , you have read.

2010-06-01 Thread Srinivas Reddy Thatiparthy
What are the best python books you have read? should be at least on par with python cookbook. TIA for suggestions. ThanksRegards, Srinivas Reddy Thatiparthy, Mobile:9393099772, ___ BangPypers mailing list BangPypers@python.org http

Re: [BangPypers] packing floating data

2010-05-31 Thread Srinivas Reddy Thatiparthy
are floats. ThanksRegards, Srinivas Reddy Thatiparthy, Mobile:9393099772, -Original Message- From: bangpypers-bounces+srinivas_thatiparthy=akebonosoft@python.org on behalf of murugadoss Sent: Mon 5/31/2010 6:22 PM To: Bangalore Python Users Group - India Subject: Re: [BangPypers

[BangPypers] Any compiled all PEP's into pdf

2010-05-27 Thread Srinivas Reddy Thatiparthy
Hi list, Does anyone compiled all PEP's into a PDF document or chm file.I searched the internet but didn't get it.If you guys found pdf/chm file, please send the link. TIA, Srinivas Reddy Thatiparthy. ___ BangPypers mailing list BangPypers

Re: [BangPypers] python supports frameworks ?

2010-04-25 Thread Srinivas Reddy Thatiparthy
is always a better idea if you can afford,IMO.The more number of companies the better the chances of getting a call or job. ThanksRegards, Srinivas Reddy Thatiparthy, Mobile:9393099772, ___ BangPypers mailing list BangPypers@python.org http://mail.python.org

Re: [BangPypers] Coaching institute in Bangalore.

2010-04-17 Thread Srinivas Reddy Thatiparthy
attend the demo class and asked questions. Ofcourse, the above analogy applies for who love technology,then only you can judge based on factors like clarity of thought in his expression and exposure he has on technology. ThanksRegards, Srinivas Reddy Thatiparthy, Mobile:9393099772

Re: [BangPypers] Coaching institute in Bangalore.

2010-04-17 Thread Srinivas Reddy Thatiparthy
and you were taught by a mediocre. :) ThanksRegards, Srinivas Reddy Thatiparthy, Mobile:9393099772, ___ BangPypers mailing list BangPypers@python.org http://mail.python.org/mailman/listinfo/bangpypers

Re: [BangPypers] Coaching institute in Bangalore.

2010-04-16 Thread Srinivas Reddy Thatiparthy
You would have started a separate thread for it..:( ThanksRegards, Srinivas Reddy Thatiparthy, Mobile:9393099772, -Original Message- From: bangpypers-bounces+srinivas_thatiparthy=akebonosoft@python.org on behalf of ?? Sent: Fri 4/16/2010 5:52 PM To: Bangalore Python Users

Re: [BangPypers] [COMMERCIAL] CodersCombat project hosting servicefor all

2010-04-14 Thread Srinivas Reddy Thatiparthy
I think in github you can make project *private*. Am i wrong? ThanksRegards, Srinivas Reddy Thatiparthy, Mobile:9393099772, -Original Message- From: bangpypers-bounces+srinivas_thatiparthy=akebonosoft@python.org on behalf of Azhagu selvan Sent: Wed 4/14/2010 12:23 PM

Re: [BangPypers] Fwd: [Inpycon] letterhead and seal

2010-04-14 Thread Srinivas Reddy Thatiparthy
How about using Pycon-2009(banglore) logo as a seal? or official logo entries sent for logo contest? or atleast making some changes to them and come up with instead of designing from scratch. ThanksRegards, Srinivas Reddy Thatiparthy, Mobile:9393099772, -Original Message- From

Re: [BangPypers] User group meeting this/next weekend?

2010-04-13 Thread Srinivas Reddy Thatiparthy
I second that opinion. Like patterns used and variations of them and extendability of an app.. future prospects and counterparts .. and many more i can think of ... ThanksRegards, Srinivas Reddy Thatiparthy, Mobile:9393099772, -Original Message- From: bangpypers-bounces

Re: [BangPypers] running python on mac...

2010-03-30 Thread Srinivas Reddy Thatiparthy
Probably this link could help. Anyway, i am not sarcastic about your question, http://www.google.co.in/search?q=idle+font+size+mac ThanksRegards, Srinivas Reddy Thatiparthy, Mobile:9393099772, -Original Message- From: bangpypers-bounces+srinivas_thatiparthy=akebonosoft@python.org

Re: [BangPypers] Hi

2010-03-11 Thread Srinivas Reddy Thatiparthy
All error conditions are abstracted into exceptions which your calling code can catch. My 2 cents;from the Zen of Python , Errors should never pass silently,Unless explicitly silenced ThanksRegards, Srinivas Reddy Thatiparthy, Mobile:9393099772

Re: [BangPypers] date range

2010-02-24 Thread Srinivas Reddy Thatiparthy
I mean it to the function foo(). ThanksRegards, Srinivas Reddy Thatiparthy, Mobile:9393099772, -Original Message- From: bangpypers-bounces+srinivas_thatiparthy=akebonosoft@python.org on behalf of Vinay Shastry Sent: Thu 2/25/2010 9:28 AM To: Bangalore Python Users Group - India

Re: [BangPypers] date range

2010-02-09 Thread Srinivas Reddy Thatiparthy
more compact is_in_range startdate date enddate I am very much interested to know how the above expression is evaluated in compiler? If the compiler evaluates left to right ,startdatedate becomes True or false depending on the values and Now, my question is how this (True/Flase enddate)

Re: [BangPypers] date range

2010-02-09 Thread Srinivas Reddy Thatiparthy
Formally, if a, b, c, ..., y, z are expressions and op1, op2, ..., opN are comparison operators, then a op1 b op2 c ... y opN z is equivalent to a op1 b and b op2 c and ... y opN z, except that each expression is evaluated at most once. Ok..Got it... Especially last sentence caught my

Re: [BangPypers] date range

2010-02-09 Thread Srinivas Reddy Thatiparthy
a b c is equivalent to a b and b c *except that* b is evaluated only once. Do mean to say that evaluating b only once applies to abc expression only. NOT for expressions like ab and bc. Regards, ~ Srini T Roshan ___ BangPypers

Re: [BangPypers] date range

2010-02-09 Thread Srinivas Reddy Thatiparthy
a b c is equivalent to a b and b c *except that* b is evaluated only once. correction Did u mean to say that evaluating b only once applies to abc expression only,NOT for expressions like ab and bc.? /correction Regards, ~ Srini T

Re: [BangPypers] Regarding Python popularity

2010-02-08 Thread Srinivas Reddy Thatiparthy
The fact that Python is open source is orthogonal to the fact that it compiles source into bytecode which can be decompiled. Also Python can't be open source. Python is a programming language. A concrete implementation (eg. CPython) can be open source. By your logic, C is opensource (in it's gcc

Re: [BangPypers] Regarding Python popularity

2010-02-08 Thread Srinivas Reddy Thatiparthy
If you look beyond the Marketing and a bit of the resultant herd mentality, you will realise that most languages have a good sweetspot they manage to excel at. I never searched for it .But in what domains Python is excellent compared to other OOP languages? I know that for AI ,you need to write

[BangPypers] which one is the best pythonic way .

2010-02-08 Thread Srinivas Reddy Thatiparthy
I have written four solutions to a problem(self explanatory) ,out of them ,which one is the pythonic way of doing and is there any other ways of solving it? 1.sum([i for i in range(1000) if i%3==0 or i%5==0]) 2.gen=(i for i in range(1000)) sum([i for i in gen if i%3==0 or i%5==0])

Re: [BangPypers] which one is the best pythonic way .

2010-02-08 Thread Srinivas Reddy Thatiparthy
Thanks for the replies and I avoid using lambdas.. Btw,Shall I avoid using filter and map ? Because what ever filter and map do,I could seem to do the same with Listcomprehensions.. Is there any situation in which they fare better than list comprehensions? Regards, ~ Srini T

Re: [BangPypers] Internationals getting Python/Programming Jobs

2010-02-06 Thread Srinivas Reddy Thatiparthy
Umm, widen your choice beyond Bangalore. Consider places like Pune, Delhi (including NCR) and Hyderabad. In Hyderabad , I know of two companies which use python for Automation testing. One is Emerson Network Power Two is Intoto inc,Now part of freescale semiconductor. As noufal and steve said I

Re: [BangPypers] Future of Python Programmers

2010-02-01 Thread Srinivas Reddy Thatiparthy
As Noufal said, don't become a language specialist, as that amounts to limiting yourself too much upfront. . I didn't get this point. I would like to know.please clarify on this point .In my experience, companies prefer well-skilled generalists than deeply skilled specialists, unless one is

Re: [BangPypers] Future of Python Programmers

2010-02-01 Thread Srinivas Reddy Thatiparthy
, Feb 1, 2010 at 4:08 PM, Srinivas Reddy Thatiparthy srinivas_thatipar...@akebonosoft.com wrote: As Noufal said, don't become a language  specialist, as that amounts to limiting yourself too much  upfront. . I didn't get this point. I would like to know.please clarify on this point Let

Re: [BangPypers] Help plzz..

2010-01-20 Thread Srinivas Reddy Thatiparthy
The official tutorial : http://docs.python.org/tutorial/index.html (best place to start) Mark Pilgrims Dive into Python : http://diveintopython.org/toc/index.html(excellent read) +1 for dive into python ;An excellent one,indeed. Regards, Srinivas Reddy T - You never learn something until you

Re: [BangPypers] [Fwd: Contribution to Opensource]

2010-01-19 Thread Srinivas Reddy Thatiparthy
Is it possible to guide newbies like me whenever faced with errors generated during running of any of py program ?[..] The entry barrier is *really* low. You can contribute from anything to typo fixes in the documentation to architecture of the whole system. And you're free to do as

Re: [BangPypers] Do not know how much truth

2009-12-17 Thread Srinivas Reddy Thatiparthy
Yep, it's true... http://groups.google.com/group/unladen-swallow/browse_thread/thread/4edb c406f544643e# Regards, Srinivas Reddy T - You never learn something until you have to write something in it(a programming language), until you have to live and breathe it. It's one thing to go learn

[BangPypers] Python Videos

2009-12-13 Thread Srinivas Reddy Thatiparthy
I generally watch NPTel videos for programming stuff. They are good in content and sound clarity is excellent. I searched for python related videos on blip.tv,found GVR Py3K intro video but sound clarity is not good. Can somebody suggest me the good python video links (should

Re: [BangPypers] Suggest me a book for ORM

2009-12-01 Thread Srinivas Reddy Thatiparthy
Thanks for the link. Regards, Srinivas Reddy Thatiparthy. -- So say...Day by day, in every way, I am getting better, better and better !!! A Strong and Positive attitude creates more miracles than anything else.Because...Life is 10% how you make it, and 90% how you take it Diamond is another

[BangPypers] Suggest me a book for ORM

2009-11-30 Thread Srinivas Reddy Thatiparthy
Hi all, Can anybody suggest me a good book for ORM(Object Relational Mapping) , better if it is language agnostic? Regards, Srinivas Reddy Thatiparthy. -- So say...Day by day, in every way, I am getting better, better and better !!! A Strong and Positive attitude creates more

Re: [BangPypers] BangPypers monthly meetup.

2009-11-17 Thread Srinivas Reddy Thatiparthy
Vishal ,I asked this erlier.. Nobody seems to be interested or, To put it in another way ,don't have time to do it.. :( Regards, Srinivas Reddy Thatiparthy. -- So say...Day by day, in every way, I am getting better, better and better !!! A Strong and Positive attitude creates more

Re: [BangPypers] BangPypers monthly meetup.

2009-11-17 Thread Srinivas Reddy Thatiparthy
Vishal ,I  asked this erlier.. Nobody seems to be interested or, To put it in another way ,don't have time to do it..  :( [..] Usually, these meetings are a bunch of people sitting in a room and one guy standing up to talk about something. Sometimes, there are slides and a projector is used

[BangPypers] [X-Post] How about organizing Hyderabad Python Meetings??

2009-11-16 Thread Srinivas Reddy Thatiparthy
Hello all, Since Bangpypers and ChennaiPy users are organizing weekend/monthly meetings ,It would be nice to organize the same for Hyderabad people also. So Hyderabadis who are in BangPypers and ChennaiPy lists please stand up!!! We can talk something about it. Regards, Srinivas

Re: [BangPypers] 3rd saturday 21st

2009-11-10 Thread Srinivas Reddy Thatiparthy
Is it possible for you people to share the slides or pdf's of talks you have?? Atleast if you upload them on slideshare or scribd that would be very much helpful to people like me who live in Hyderabad.!! - you never learn something until you have to write something in it, until you

Re: [BangPypers] Let's have an indepth session on some opensolaristechnologies

2009-10-21 Thread Srinivas Reddy Thatiparthy
Some time ago I read an article regarding Linus complaining about the license of a file system,Is it the ZFS? Anyway I am not much into linux, just want to double check.. Regards, Srinivas Reddy Thatiparthy. -- I hear and I forget. I see and I remember. I do and I understand

Re: [BangPypers] Suggest me an opensource project!!

2009-10-18 Thread Srinivas Reddy Thatiparthy
Pick something in your general area of interest and try to fix bugs on it. That should gradually boost your confidence to a level where you can contribute. Size will stop becoming a big problem then. Check out the python package index for Python related projects that are lying around. Thanks

[BangPypers] Sudoku solver

2009-10-16 Thread Srinivas Reddy Thatiparthy
,improvements are welcome!!! http://2.bp.blogspot.com/_ni5lhkmn0nQ/StghQIhf0bI/AAM/txjMQic_9l U/s1600-h/2009-10-16_125017.jpg http://xorola.wordpress.com/2009/07/27/a-sudoku-solver-program-in-python / Regards, Srinivas Reddy Thatiparthy. -- I hear and I forget. I see and I

[BangPypers] Why do indians copy?

2009-10-15 Thread Srinivas Reddy Thatiparthy
it,they ask permission to submit later.But we (Indians) used to copy.Yeah,i did copy and learnt lessons. :) Regards, Srinivas Reddy Thatiparthy. -- I hear and I forget. I see and I remember. I do and I understand. - Confucius. ___ BangPypers

[BangPypers] Re

2009-10-15 Thread Srinivas Reddy Thatiparthy
, Srinivas Reddy Thatiparthy. -- I hear and I forget. I see and I remember. I do and I understand. - Confucius. ___ BangPypers mailing list BangPypers@python.org http://mail.python.org/mailman/listinfo/bangpypers

[BangPypers] Why Indians copy

2009-10-15 Thread Srinivas Reddy Thatiparthy
then. I have had no choice than to copy though i disgusted it and felt guilt of it.i mean this from my heart. i was caught and infy sent me out. Regards, Srinivas Reddy Thatiparthy. -- I hear and I forget. I see and I remember. I do and I understand. - Confucius

[BangPypers] Suggest me a book

2009-10-15 Thread Srinivas Reddy Thatiparthy
Just completed reading the book, The Coders At Work,It's just an excellent book and It's great to see behind the eye balls of programmers. Can any one suggest me some other books of such kind? Regards, Srinivas Reddy Thatiparthy. -- I hear and I forget. I see and I remember. I do