Re: [BangPypers] About pypy and bangpypers

2011-09-26 Thread Saager Mhatre
On Mon, Sep 26, 2011 at 10:57 PM, Sriram Narayanan sriram...@gmail.comwrote: I can talk about my experiences with porting it. -- Sriram Porting it to... Belenix? - d ___ BangPypers mailing list BangPypers@python.org

Re: [BangPypers] Generate Dynamic lists

2011-10-20 Thread Saager Mhatre
On Fri, Oct 21, 2011 at 12:40 AM, Gora Mohanty g...@mimirtech.com wrote: On Fri, Oct 21, 2011 at 12:38 AM, Gora Mohanty g...@mimirtech.com wrote: On Fri, Oct 21, 2011 at 12:10 AM, Asif Jamadar asif.jama...@rezayat.net wrote: [...] list1 = [] for i in criteria_list[:2]: for j in

Re: [BangPypers] [chennaipy 1126] [XPost][Slightly OT] Could you share your experiences about Python Freelance programming, from a programmer's perspective

2011-11-02 Thread Saager Mhatre
On Wed, Nov 2, 2011 at 9:26 PM, kracekumar ramaraju kracethekingma...@gmail.com wrote: I'd go so far as to suggest that they join a mid-to-large sized company and spend the first couple of years maintaining somebody else's crap code. It's one hell of a learning experience. Don't join

Re: [BangPypers] [chennaipy 1126] [XPost][Slightly OT] Could you share your experiences about Python Freelance programming, from a programmer's perspective

2011-11-02 Thread Saager Mhatre
On Wed, Nov 2, 2011 at 10:31 PM, kracekumar ramaraju kracethekingma...@gmail.com wrote: True... to some extent. Like just about anything else, you have to choose wisely. My four years at Kanbay (now CapGemini) taught me a lot of lessons in organization, management as well as

Re: [BangPypers] [chennaipy 1126] [XPost][Slightly OT] Could you share your experiences about Python Freelance programming, from a programmer's perspective

2011-11-02 Thread Saager Mhatre
On Wed, Nov 2, 2011 at 10:56 PM, kracekumar ramaraju kracethekingma...@gmail.com wrote: I am advanced python novice. There's an interesting tautology I can use, and... People who learn python are passionate about programming, others learn java and c# to get a job. ... there's a line that

Re: [BangPypers] [chennaipy 1126] [XPost][Slightly OT] Could you share your experiences about Python Freelance programming, from a programmer's perspective

2011-11-02 Thread Saager Mhatre
On Wed, Nov 2, 2011 at 11:15 PM, kracekumar ramaraju kracethekingma...@gmail.com wrote: In most support project you don't change code until there is a requirement from client, else you end up supporting the tickets etc... They're not all support (as in keep the lights on) projects, there's

Re: [BangPypers] [chennaipy 1126] [XPost][Slightly OT] Could you share your experiences about Python Freelance programming, from a programmer's perspective

2011-11-02 Thread Saager Mhatre
On Wed, Nov 2, 2011 at 10:47 PM, Rajeev J Sebastian rajeev.sebast...@gmail.com wrote: As you suggested, the most important change we can make is to test directly with code. +1 to Sidu's suggestion about having candidates write code before they come in; have used that to much success. Do

Re: [BangPypers] [chennaipy 1126] [XPost][Slightly OT] Could you share your experiences about Python Freelance programming, from a programmer's perspective

2011-11-02 Thread Saager Mhatre
On Wed, Nov 2, 2011 at 11:33 PM, Saager Mhatre saager.mha...@gmail.comwrote: On Wed, Nov 2, 2011 at 10:47 PM, Rajeev J Sebastian rajeev.sebast...@gmail.com wrote: As you suggested, the most important change we can make is to test directly with code. +1 to Sidu's suggestion about having

Re: [BangPypers] collections

2011-11-09 Thread Saager Mhatre
On Wed, Nov 9, 2011 at 5:05 PM, Kenneth Gonsalves law...@gmail.com wrote: hi, python collections are cool and I am dying to use them in production. But so far I am yet to find a use case for using them - any experiences? I'm assuming you mean the Python collections package that provides

Re: [BangPypers] collections

2011-11-09 Thread Saager Mhatre
On Wed, Nov 9, 2011 at 5:30 PM, Kenneth Gonsalves law...@gmail.com wrote: On Wed, 2011-11-09 at 17:23 +0530, Saager Mhatre wrote: [snip] other than Callable that I used in a bunch of test utilities, but that usage wasn't really valuable. but it must be useful for *something

[BangPypers] Mailing list etiquette

2011-11-15 Thread Saager Mhatre
http://catb.org/~esr/faqs/smart-questions.html Considering there's been a spate of similar incidents, I figured it might just be valuable to collect all these references into a thread of their own. - d PS- If I had a nickel for every time I've wanted to point people to this article, I'd be a

Re: [BangPypers] ElementTree object instance evaluates to False?

2011-12-06 Thread Saager Mhatre
Refer https://gist.github.com/1327614#file_truth.py to see if it helps any. - d On Tue, Dec 6, 2011 at 11:15 AM, Noufal Ibrahim nou...@gmail.com wrote: Vikas BN vikas...@gmail.com writes: [...] Anyone else encountered this or even have any insights regarding this behaviour? I'm

Re: [BangPypers] Auto Login to Website and Capturing more details

2011-12-22 Thread Saager Mhatre
On Thu, Dec 22, 2011 at 10:27 PM, Noufal Ibrahim nou...@gmail.com wrote: [snip] The Python stdlib can handle this using urllib2 and cookielib. I've managed something like this here https://gist.github.com/3811b566df4005a012c7which you can use as a starting point. After this, you have a

Re: [BangPypers] Background ping - check for server availability

2011-12-30 Thread Saager Mhatre
On Fri, Dec 30, 2011 at 1:02 AM, Nikunj Badjatya nikunjbadja...@gmail.comwrote: Hi, I think the commands.getstatusoutput() is only for unix systems. When I run on windows I get this error: {{{ ret = commands.getstatusoutput('ping 192.168.1.1') ret (1, '{' is not recognized as an

Re: [BangPypers] python framework for android

2012-01-10 Thread Saager Mhatre
On Tue, Jan 10, 2012 at 7:43 AM, Anand Chitipothu anandol...@gmail.comwrote: 2012/1/4 Navin Kabra navin.ka...@gmail.com On Wed, Jan 4, 2012 at 11:37 AM, Kenneth Gonsalves law...@gmail.com wrote: can anyone recommend a python framework for android? Negative vote for SL4A (previously

Re: [BangPypers] Truth Tests (bool)

2012-01-11 Thread Saager Mhatre
https://gist.github.com/1327614#file_truth.py I hacked together this little script to cover (hopefully) all the cases for my reference. - d ___ BangPypers mailing list BangPypers@python.org http://mail.python.org/mailman/listinfo/bangpypers

Re: [BangPypers] JOB - Senior Web Developer - Talented Team!

2012-03-16 Thread Saager Mhatre
On Fri, Mar 16, 2012 at 11:44 AM, Noufal Ibrahim nou...@nibrahim.net.inwrote: Anand Balachandran Pillai abpil...@gmail.com writes: On Fri, Mar 16, 2012 at 11:30 AM, Kenneth Gonsalves law...@gmail.com wrote: On Fri, 2012-03-16 at 10:39 +0530, Anand Balachandran Pillai wrote: Ah well,

Re: [BangPypers] JOB - Senior Web Developer - Talented Team!

2012-03-16 Thread Saager Mhatre
On Fri, Mar 16, 2012 at 10:39 AM, Anand Balachandran Pillai abpil...@gmail.com wrote: Ah well, that was supposed to go to the sender. My bad. Ignore it. Was about to call a troll alert on that just then :) - d ___ BangPypers mailing list

Re: [BangPypers] Handling bit sized fields in network headers

2012-05-04 Thread Saager Mhatre
On Fri, May 4, 2012 at 3:40 PM, Balachandran Sivakumar benignb...@gmail.com wrote: Hi, What is the best way to handle bit sized fileds in network headers, if the data is binary ? The struct module doesn't support sizes in bits, and I have scenarios where there are fields of 2 bits,

Re: [BangPypers] Handling bit sized fields in network headers

2012-05-04 Thread Saager Mhatre
On Fri, May 4, 2012 at 5:09 PM, Saager Mhatre saager.mha...@gmail.comwrote: On Fri, May 4, 2012 at 3:40 PM, Balachandran Sivakumar benignb...@gmail.com wrote: Hi, What is the best way to handle bit sized fileds in network headers, if the data is binary ? The struct module doesn't

Re: [BangPypers] Python/Perl Scripting resource

2012-05-25 Thread Saager Mhatre
On Thu, May 24, 2012 at 6:42 PM, Noufal Ibrahim nou...@nibrahim.net.inwrote: Senthil Kumaran sent...@uthcode.com writes: [...] [...] Could someone just point the OP to the Posting guidelines for this list, especially the ones around job postings? Harpal, at the least, job postings are

Re: [BangPypers] [OT] Microsoft Office 365 for Education made mandatory for approved institutions by AICTE

2013-04-19 Thread Saager Mhatre
On Mon, Apr 15, 2013 at 8:54 PM, Kaushik Kalyanaraman dialkforkaus...@gmail.com wrote: 10 replies to Godwin Damn, nice catch! ;) - d ___ BangPypers mailing list BangPypers@python.org http://mail.python.org/mailman/listinfo/bangpypers

Re: [BangPypers] [Ticket #27] A Comparison of Mocking Frameworks

2013-05-11 Thread Saager Mhatre
That list is pretty dated. If I were starting a new project I'd just reach for doublex http://pypi.python.org/pypi/doublex. It's got, by far, the nicest API of test doubles I've encountered. - d On Thu, May 9, 2013 at 1:52 PM, Prashant R. Naik prash...@triconinfotech.com wrote: On May 09,

Re: [BangPypers] A Comparison of Mocking Frameworks

2013-05-11 Thread Saager Mhatre
On Thu, May 9, 2013 at 8:36 AM, Sriram Narayanan sriram...@gmail.comwrote: Hi everyone: A colleague pointed me to this comparison of mocking frameworks: http://garybernhardt.github.io/python-mock-comparison/ That list is pretty dated. If I were starting a new project I'd just reach for

[BangPypers] XPOST: Pyladies Bangalore

2013-08-23 Thread Saager Mhatre
XPOSTING to PythonPune. -- Forwarded message -- From: Annapoornima Koppad a.kop...@gmail.com Date: Thu, Aug 22, 2013 at 4:04 PM Subject: [BangPypers] Pyladies Bangalore To: bangpypers@python.org Dear All, I recently started the Pyladies Bangalore chapter. I wanted to know how

Re: [BangPypers] How to run a block of code just before the interpreter is being exited like END{} in perl ??

2013-09-08 Thread Saager Mhatre
On Tue, Sep 3, 2013 at 1:27 AM, Anand B Pillai anandpil...@letterboxes.orgwrote: -BEGIN PGP SIGNED MESSAGE- Hash: SHA1 On Monday 02 September 2013 08:09 PM, venkatakrishnan g wrote: import atexit def callback(): print about to exit! atexit.register( callback ) Better use

Re: [BangPypers] How to run a block of code just before the interpreter is being exited like END{} in perl ??

2013-09-08 Thread Saager Mhatre
On Tue, Sep 3, 2013 at 8:47 AM, Anand B Pillai anandpil...@letterboxes.orgwrote: -BEGIN PGP SIGNED MESSAGE- Hash: SHA1 On Tuesday 03 September 2013 06:27 AM, Anand Chitipothu wrote: This is another version of this by mucking around directly with sys.exitfunc using a with context.

Re: [BangPypers] folder initialization issues

2013-09-08 Thread Saager Mhatre
On Thu, Aug 29, 2013 at 9:43 AM, Noufal Ibrahim nou...@nibrahim.net.inwrote: Anand Chitipothu anandol...@gmail.com writes: [...] Lets say you a python file x.py. You can import it just using import x. If you have y/x.py, you would import it using import y.x or from y import x. Here

Re: [BangPypers] Python Wats

2013-09-12 Thread Saager Mhatre
On Tue, Sep 10, 2013 at 10:14 AM, Shabda Raaj sha...@agiliq.com wrote: This is a popular talk on quircks of ruby/js https://www.destroyallsoftware.com/talks/wat What are the quircks/unexpected behavior you find in Python? (Aka Python wats). Wait a second... wasn't there a talk about just

Re: [BangPypers] Favorite tips/techniques

2013-09-12 Thread Saager Mhatre
On Tue, Sep 10, 2013 at 10:39 AM, Shabda Raaj sha...@agiliq.com wrote: https://github.com/webpy/webpy/blob/master/web/utils.py#L52 Wow, thats better than the bare bunch impl. Gonna use it now. plug type=shamelessIt's just s much nicer when the map/dict in your platform

Re: [BangPypers] Do you pin your requirements.txt ?

2013-09-12 Thread Saager Mhatre
On Thu, Sep 12, 2013 at 6:30 PM, Abdul Muneer abdulmun...@gmail.com wrote: I also pin requirements. But when I do 'pip freeze', I remove the packages that are installed as a dependency to main libraries which were explicitly installed. I tend to avoid using 'pip freeze' as part of my dev

Re: [BangPypers] Favorite tips/techniques

2013-09-12 Thread Saager Mhatre
On Tue, Sep 10, 2013 at 4:54 PM, Noufal Ibrahim nou...@nibrahim.net.inwrote: Saju M sajup...@gmail.com writes: [...] * Why dir(json) not showing tool ?? Because of the __all__ variable in the module. http://docs.python.org/2/tutorial/modules.html Noufal, Well, not quite, right? I posit

Re: [BangPypers] Help Required with understanding Python Import

2013-09-12 Thread Saager Mhatre
On Tue, Sep 10, 2013 at 3:39 PM, konark modi modi.kon...@gmail.com wrote: Hi Jagan, This should be of your interest : http://pyvideo.org/video/1707/how-import-works Jagan, This makes for an interesting read too = http://lucumr.pocoo.org/2009/7/24/singletons-and-their-problems-in-python/ -

Re: [BangPypers] Do you pin your requirements.txt ?

2013-09-13 Thread Saager Mhatre
On Sep 13, 2013 9:19 AM, Dhananjay Nene dhananjay.n...@gmail.com wrote: [...] Given adequate test coverage to verify negative side effects of any transitive dependency version upgrades, pinning could be skipped imo. Dhananjay +1 for automated tests to cover relevant API contracts of

Re: [BangPypers] Favorite tips/techniques

2013-09-13 Thread Saager Mhatre
On Sep 9, 2013 8:51 PM, CsquaredinOmaha c2inom...@yahoo.com wrote: For a while I had thought it would be interesting to hear tips/techniques you find yourself often using - or perhaps found useful at one point (and thus would be valuable to newbies). It could be simple snippet, or some

[BangPypers] Python packages and modules (was: Favorite tips/techniques)

2013-09-13 Thread Saager Mhatre
On Fri, Sep 13, 2013 at 1:10 PM, Saju M sajup...@gmail.com wrote: Saager, As per python module-import semantics, sub-modules don't end up as names in the package-module[*] unless explicitly added. I didn't get it, what you mean by package-module[*] ?. Ah, there it is... the sound of your

Re: [BangPypers] Debugging functions/tools/ways

2013-09-13 Thread Saager Mhatre
On Fri, Sep 13, 2013 at 2:46 PM, Anand Chitipothu anandol...@gmail.comwrote: On Fri, Sep 13, 2013 at 2:36 PM, Dhruv Baldawa dhruvbald...@gmail.com wrote: This is what I use for debugging: from IPython.core.debugger import Tracer; Tracer()() works mostly like pdb, with some nice

[BangPypers] Mail formatting for this list

2013-09-13 Thread Saager Mhatre
Mods/Admins, Is there a specific reason we've set this list to wrap all mail messages at 80 characters? Just that it seems a little unnecessary to me, give all the hi-resolution wide-screen displays in general use. Just saying. - d ___ BangPypers

Re: [BangPypers] Favorite tips/techniques

2013-09-13 Thread Saager Mhatre
On Sep 9, 2013 8:51 PM, CsquaredinOmaha c2inom...@yahoo.com wrote: For a while I had thought it would be interesting to hear tips/techniques you find yourself often using - or perhaps found useful at one point (and thus would be valuable to newbies). It could be simple snippet, or some

Re: [BangPypers] need help w.r.t itertools

2013-09-13 Thread Saager Mhatre
On Fri, Sep 13, 2013 at 5:01 PM, Dhruv Baldawa dhruvbald...@gmail.comwrote: d = [''.join(x) for x in itertools.product(a, b, c)] Actually, using itertools.imap would ensure that the elements aren't computed till necessary. So... d = itertools.imap(''.join, itertools.product(a, b, c)) - d

Re: [BangPypers] Python packages and modules (was: Favorite tips/techniques)

2013-09-13 Thread Saager Mhatre
On Fri, Sep 13, 2013 at 6:50 PM, Dhananjay Nene dhananjay.n...@gmail.comwrote: Nice. I reached out for the Favourite button but realised emails/mailing lists don't have it. (takes a bow) I do think it can be a little easier to understand by doing s/package-module/namespace/g. Having done

Re: [BangPypers] Python packages and modules (was: Favorite tips/techniques)

2013-09-13 Thread Saager Mhatre
On Sep 13, 2013 9:10 PM, venkatakrishnan g superpuls...@gmail.com wrote: Oh, dexterous just blew my head! Music to my ears. :D - d ___ BangPypers mailing list BangPypers@python.org https://mail.python.org/mailman/listinfo/bangpypers

Re: [BangPypers] Debugging functions/tools/ways

2013-09-15 Thread Saager Mhatre
On Sep 14, 2013 11:00 AM, Balachandran Sivakumar benignb...@gmail.com wrote: When you find some time, please do post a few Python dtrace one-liners here. It would be useful to the rest of us. Thanks Oh... man... I want to +1 this... so... many... times!!! Ram, you should totally share your

Re: [BangPypers] Regd feedback (was: Online Python workshop)

2013-09-15 Thread Saager Mhatre
On Sun, Sep 15, 2013 at 9:25 PM, Saager Mhatre saager.mha...@gmail.comwrote: On Sep 15, 2013 6:12 PM, Noufal Ibrahim nou...@nibrahim.net.in wrote: Annapoornima Koppad a.kop...@gmail.com writes: HI Noufal, Thanks for the tutorial. I read through the tutorial. The topic

[BangPypers] Regd feedback (was: Online Python workshop)

2013-09-15 Thread Saager Mhatre
On Sep 15, 2013 6:12 PM, Noufal Ibrahim nou...@nibrahim.net.in wrote: Annapoornima Koppad a.kop...@gmail.com writes: HI Noufal, Thanks for the tutorial. I read through the tutorial. The topic was definitely different than most of the tutorials that are online. So I have to write the

Re: [BangPypers] Mail formatting for this list

2013-09-15 Thread Saager Mhatre
On Sun, Sep 15, 2013 at 9:14 AM, Mandar Vaze / मंदार वझे mandarv...@gmail.com wrote: I dont understand. What's your viewport width? Can that only support 80ish chars? Are you on mobile/tablet? It is not uncommon for people to read/respond to emails on mobile/tablet. So for emails,

Re: [BangPypers] Do you pin your requirements.txt ?

2013-09-15 Thread Saager Mhatre
On Sep 16, 2013 12:38 AM, Kiran Jonnalagadda j...@pobox.com wrote: We deploy multiple times a day and I don't find that the gap between a Travis test and production deployment is so long that an upstream release within those few seconds broke compatibility. Kiran Dude, can I quote you on

Re: [BangPypers] need help w.r.t itertools

2013-09-16 Thread Saager Mhatre
On Sep 16, 2013 12:50 PM, Dhananjay Nene dhananjay.n...@gmail.com wrote: On Mon, Sep 16, 2013 at 12:27 PM, Suyash Bhatt bhatt.suy...@gmail.com wrote: thanks for the response.. what if i have another list *e = [*'*my1name1is1','**my2name2is1','xyz','abc']* *and in the list d, I want

Re: [BangPypers] Do you pin your requirements.txt ?

2013-09-16 Thread Saager Mhatre
On Sep 16, 2013 8:46 AM, Dhananjay Nene dhananjay.n...@gmail.com wrote: let me state that while I pin requirements.txt To be just a little pedantic here- you pin version of dependencies, not the entire requirements.txt. Just saying... 'cause, even though I may have myself used the phrase in

Re: [BangPypers] the pyCharm from Jetbrains has been opensourced i.e. its free now!

2013-10-04 Thread Saager Mhatre
On Oct 3, 2013 9:40 AM, Dhananjay Nene dhananjay.n...@gmail.com wrote: On Thu, Oct 3, 2013 at 8:19 AM, Mandar Vaze / मंदार वझे mandarv...@gmail.com wrote: Downloaded it, bit not used it, yet. (still using vim) But I have heard so much praise about pycharm from everyone in every (python

Re: [BangPypers] the pyCharm from Jetbrains has been opensourced i.e. its free now!

2013-10-05 Thread Saager Mhatre
On Thu, Oct 3, 2013 at 11:01 AM, Mandar Vaze / मंदार वझे mandarv...@gmail.com wrote: http://bit.ly/1dXgwqD Dude, that was mean! :S A lmgtfy link behind a bitly link!?! :) - d ___ BangPypers mailing list BangPypers@python.org

Re: [BangPypers] Noob trying to get into python

2013-10-07 Thread Saager Mhatre
On Mon, Oct 7, 2013 at 3:18 PM, Avneesh Chadha avneesh.cha...@gmail.comwrote: Hi, I have been working in java for the last 6 months, but really want to get into python .Could anyone point me to any open source project which could help me get relevant experience for a python based development.

Re: [BangPypers] Object Oriented Programming in python

2013-10-20 Thread Saager Mhatre
On Oct 15, 2013 4:10 AM, Dhananjay Nene dhananjay.n...@gmail.com wrote: On Tue, Oct 15, 2013 at 1:46 AM, Pranav Raj pranav09...@hotmail.com wrote: Hi fellow python lovers, I wanted to do OOPS programming in python, but i just found out that there are no private variables in python. Does

Re: [BangPypers] Object Oriented Programming in python

2013-10-20 Thread Saager Mhatre
On Oct 18, 2013 10:54 AM, s|s supr.e.etse...@gmail.com wrote: Hi Pranav, I would pose a counter question regarding object oriented programming. How did you learn OOP concepts? I am assuming like most of us, probably through a C++ or Java course. These courses ingrain a certain expectation of

Re: [BangPypers] Object Oriented Programming in python

2013-10-20 Thread Saager Mhatre
On Oct 21, 2013 1:18 AM, s|s supr.e.etse...@gmail.com wrote: Lets look at integer as an example in Python (int) class int(object) int(x[, base]) - integer which is unlike java where int is a basic non-class type. An explicit upgrade to **Integer** class is required to use OOP features.

Re: [BangPypers] Object Oriented Programming in python

2013-10-20 Thread Saager Mhatre
On Oct 21, 2013 11:14 AM, Noufal Ibrahim nou...@nibrahim.net.in wrote: Saager Mhatre saager.mha...@gmail.com writes: [...] since even slots are accessible from outside an object __slots__ are not meant for data hiding. They're meant as a final trick to save memory when you have a large

Re: [BangPypers] Object Oriented Programming in python

2013-10-21 Thread Saager Mhatre
On Oct 21, 2013 11:34 AM, Noufal Ibrahim nou...@nibrahim.net.in wrote: [...] It's the final frontier beyond which space lies (sorry). Dude, Space __is__ the final frontier! (Heh, see what I did there? :) Anyway, thanks for the other refs. - d ___

Re: [BangPypers] Object Oriented Programming in python

2013-10-21 Thread Saager Mhatre
On Oct 21, 2013 11:39 AM, Dhananjay Nene dhananjay.n...@gmail.com wrote: On Mon, Oct 21, 2013 at 10:55 AM, Saager Mhatre saager.mha...@gmail.com wrote: Which generally lead to poor (or at least poorer) abstractions; but I digress. Leaky ?? :) For the most part, yes. I think OOPs

Re: [BangPypers] Object Oriented Programming in python

2013-10-21 Thread Saager Mhatre
On Oct 21, 2013 12:09 PM, Dhananjay Nene dhananjay.n...@gmail.com wrote: On Mon, Oct 21, 2013 at 11:53 AM, Saager Mhatre saager.mha...@gmail.com wrote: On Oct 21, 2013 11:39 AM, Dhananjay Nene dhananjay.n...@gmail.com wrote: On Mon, Oct 21, 2013 at 10:55 AM, Saager Mhatre saager.mha

Re: [BangPypers] Object Oriented Programming in python

2013-10-21 Thread Saager Mhatre
On Oct 21, 2013 3:21 PM, Dhananjay Nene dhananjay.n...@gmail.com wrote: On Mon, Oct 21, 2013 at 3:02 PM, Saager Mhatre saager.mha...@gmail.com wrote: On Oct 21, 2013 12:09 PM, Dhananjay Nene dhananjay.n...@gmail.com wrote: On Mon, Oct 21, 2013 at 11:53 AM, Saager Mhatre saager.mha

Re: [BangPypers] Object Oriented Programming in python

2013-10-21 Thread Saager Mhatre
On Mon, Oct 21, 2013 at 7:11 PM, Dhananjay Nene dhananjay.n...@gmail.comwrote: Since you suggested that Superior constructs implemented inferiorly. and did not respond to the line which wondered if that was based on syntactic or stylistic differences, I believe I responded to that statement

Re: [BangPypers] Object Oriented Programming in python

2013-10-21 Thread Saager Mhatre
On Fri, Oct 18, 2013 at 11:33 AM, Dhananjay Nene dhananjay.n...@gmail.comwrote: On Tue, Oct 15, 2013 at 2:33 PM, Dhruv Baldawa dhruvbald...@gmail.com wrote: Also take a look at videos by Raymond Hettinger http://pyvideo.org/speaker/138/raymond-hettinger I have some serious reservations on

Re: [BangPypers] Object Oriented Programming in python

2013-10-21 Thread Saager Mhatre
On Tue, Oct 15, 2013 at 1:46 AM, Pranav Raj pranav09...@hotmail.com wrote: Hi fellow python lovers, I wanted to do OOPS programming in python, but i just found out that there are no private variables in python. Does anyone know why python classes have no private variables and why python's

Re: [BangPypers] Object Oriented Programming in python

2013-10-22 Thread Saager Mhatre
On Oct 22, 2013 10:54 AM, Sirtaj Singh Kang sir...@sirtaj.net wrote: I agree with you partially - MOP in python can get ugly, but there's plenty of power there. I'll try to explain, though this stuff is notoriously hard to articulate (may be just for me). Oh, trust me, it's not just you! We

Re: [BangPypers] Packaging in Python

2014-01-11 Thread Saager Mhatre
On Jan 10, 2014 4:26 AM, Venu Murthy ve...@thoughtworks.com wrote: Hello friend! This was the first time, we are actually writing some serious code and it found it quite not like Python when packing for the code to be deployed on a windows machine. We were using the setuptools build and

Re: [BangPypers] Mailing list etiquette

2014-08-04 Thread Saager Mhatre
On Mon, Aug 4, 2014 at 9:06 PM, Anand Chitipothu anandol...@gmail.com wrote: Not only that, it is a pain to download something and open it in some application just to know what is inside. It is a lot better to send a link instead of sending attachments. ​Anand, how do you consume

Re: [BangPypers] how to override sys.stdin

2014-08-04 Thread Saager Mhatre
On Mon, Aug 4, 2014 at 2:38 PM, Nitin Kumar nitin.n...@gmail.com wrote: Hi All, is there a way i can override raw_input or input function. This sooo smells of the XY Problem http://bitly.com/XyProblem. What are you really trying to do here? - d

Re: [BangPypers] Mailing list etiquette

2014-08-08 Thread Saager Mhatre
On Fri, Aug 8, 2014 at 12:03 AM, Noufal Ibrahim KV nou...@nibrahim.net.in wrote: On Mon, Aug 04 2014, Jeffrey Jose wrote: [...] ​.. and since I use browser, I appreciate an email that's nicely formatted. Yes, that includes contextual information with embedded images.​ Fair enough.

Re: [BangPypers] The Python I would like to see - Armin Ronacher

2014-08-19 Thread Saager Mhatre
On Tue, Aug 19, 2014 at 11:23 AM, Noufal Ibrahim nou...@nibrahim.net.in wrote: On 2014-08-19 11:11, Sriram Narayanan wrote: Hi Noufal, could you elaborate on this? I have enjoyed the freedom of non-static typing that Python and Ruby offer, but also sometimes miss the static type checking

Re: [BangPypers] The Python I would like to see - Armin Ronacher

2014-08-19 Thread Saager Mhatre
On Tue, Aug 19, 2014 at 12:45 PM, Noufal Ibrahim nou...@nibrahim.net.in wrote: On 2014-08-19 12:31, Saager Mhatre wrote: That's just a question of testing strategy. If you're writing 'elaborate' tests at every layer, you're probably validating too much or exercising too much of the system

Re: [BangPypers] python in news

2014-09-03 Thread Saager Mhatre
On Wed, Sep 3, 2014 at 2:37 AM, Nitin Kumar nitin.n...@gmail.com wrote: http://economictimes.indiatimes.com/tech/software/programming-language-python-yet-to-find-place-in-teaching-curriculum-in-india-despite-its-popularity/articleshow/41464925.cms Anyone have a link to that IEEE report

Re: [BangPypers] Python is still greek to india's top IT firms

2014-09-24 Thread Saager Mhatre
On Wed, Sep 17, 2014 at 6:54 AM, Senthil Kumaran sent...@uthcode.com wrote: [...] Given that world is moving to multiple language shops and almost all companies will use more than one language in their offerings Some would beg to differ http://tek.io/1yjHw0U - d

Re: [BangPypers] Python is still greek to india's top IT firms

2014-09-24 Thread Saager Mhatre
On Wed, Sep 17, 2014 at 6:54 AM, Senthil Kumaran sent...@uthcode.com wrote: [...] From my experience at Akamai Bangalore, when we had to hire Java developers for my team, we had 100s of resumes competing for single spot, but we looked for quality python developers, there were very less 10

Re: [BangPypers] Return values

2014-09-24 Thread Saager Mhatre
On Sat, Sep 20, 2014 at 6:53 AM, Noufal Ibrahim KV nou...@nibrahim.net.in wrote: On Sat, Sep 20 2014, Anand Chitipothu wrote: [...] Oh, that feels like PHP. That style seems to be popular in that side of the world. It might be a good idea to add consolidate method on the return

Re: [BangPypers] Python Gotcha Fibonacci

2014-10-06 Thread Saager Mhatre
Spend some time to logically think about what is semantically different in the two implementations, focus on the types of the values and operations invoked thereon. - d ___ BangPypers mailing list BangPypers@python.org

Re: [BangPypers] How to dynamically load modules in Django/Python

2014-12-17 Thread Saager Mhatre
On Mon, Dec 15, 2014 at 1:52 AM, mithun chackravarthy vbnetmit...@gmail.com wrote: How can I achieve this.Thanks for your time. I suppose the __import__ function https://docs.python.org/3/library/functions.html#__import__ should be a good start. - d

Re: [BangPypers] How to dynamically load modules in Django/Python

2014-12-23 Thread Saager Mhatre
On Wed, Dec 17, 2014 at 11:19 PM, Navin Kabra na...@smriti.com wrote: Saager Mhatre saager.mha...@gmail.com writes: I suppose the __import__ function https://docs.python.org/3/library/functions.html#__import__ should be a good start. Also check out the imp module. from imp import

Re: [BangPypers] How to dynamically load modules in Django/Python

2014-12-23 Thread Saager Mhatre
On Thu, Dec 18, 2014 at 12:18 AM, mithun chackravarthy vbnetmit...@gmail.com wrote: Thanks Saager, got it. http://imdb.to/glad-to = One is glad to be of service. - d ___ BangPypers mailing list BangPypers@python.org

Re: [BangPypers] Python certifications in India

2014-12-23 Thread Saager Mhatre
On Mon, Dec 22, 2014 at 2:36 AM, Bibhas Ch Debnath m...@bibhas.in wrote: Is there anyone or any company here that actually values a certificate for Python? In my experience, certification courses mean nothing, at least for Python developers. None of the people I know or have worked with, cares

Re: [BangPypers] Python certifications in India

2014-12-23 Thread Saager Mhatre
language/framework certifications http://www.quora.com/What-IT-training-institution-in-Mumbai-Maharashtra-India-will-best-help-me-in-attaining-a-certification-in-the-Java-programming-language/answer/Saager-Mhatre, but IMHO, Sun did the best job of the lot. Their tests really tested your understanding

Re: [BangPypers] combine multiple modules in one

2014-12-23 Thread Saager Mhatre
On Wed, Dec 17, 2014 at 1:05 PM, Nitin Kumar nitin.n...@gmail.com wrote: Hi, say I am installing a module abc and it got multiple dependent modules say xyz pqr. pip easy install will take care of downloading and installing these. but i need to install abc on a device which doesnt have net

Re: [BangPypers] Python certifications in India

2014-12-29 Thread Saager Mhatre
On Wed, Dec 24, 2014 at 12:02 AM, Noufal Ibrahim KV nou...@nibrahim.net.in wrote: On Wed, Dec 24 2014, Saager Mhatre wrote: [...] We... I wouldn't put quite as much stock in the CCNA given the people we interviewed at TW for a sysad position. CCNA's are the lowest rung as far

Re: [BangPypers] Python training material

2015-01-23 Thread Saager Mhatre
On Mon, Jan 19, 2015 at 11:39 PM, Suyash Bhatt bhatt.suy...@gmail.com wrote: Hi Friends, I am looking for any Basic training material for Python which can be shared across (with due credit). Please let me know if anyone can help me with that. There's a list the Pune Python community