On Mon, Aug 1, 2011 at 12:43 AM, Noufal Ibrahim wrote:
> Dhananjay Nene writes:
>
>
> [...]
>
> > re.search("\s*(\d+)\s*",data).group(1)
> >
> > would appear to be the most succinct and quite fast. Adjust for
> whitespace
> > as and if necessa
After Armin Ronacher's post
http://lucumr.pocoo.org/2011/7/27/the-pluggable-pipedream/ P. J. Eby
responded with
http://dirtsimple.org/2011/07/wsgi-is-dead-long-live-wsgi-lite.html
with an implementation at https://bitbucket.org/pje/wsgi_lite/
While I could potentially read up the details and find
On Sat, Jul 30, 2011 at 2:15 PM, Asif Jamadar wrote:
> What if I have two lists for both minimum and maximum values
>
> Minimum Maximum
> 0 10
> 11 20
> 21 30
> 31 40
>
>
> Now how should I check if actual result is not laying between above ran
On Mon, Aug 1, 2011 at 12:46 AM, Noufal Ibrahim wrote:
> Venkatraman S writes:
>
>
>> Hang around in #django or #python. The most elegant code that you
>> *should* write would invariably be pretty fast (am not ref to asm).
>
> I agree with you here. Pythonicity is best defined as what the
> exper
On Mon, Aug 1, 2011 at 4:17 PM, Anand Chitipothu wrote:
> 2011/8/1 Dhananjay Nene :
>> On Sat, Jul 30, 2011 at 2:15 PM, Asif Jamadar
>> wrote:
>>> What if I have two lists for both minimum and maximum values
>>>
>>> Minimum Maximum
>>&g
On Mon, Aug 1, 2011 at 5:07 PM, Anand Chitipothu wrote:
> 2011/8/1 Dhananjay Nene :
>> On Mon, Aug 1, 2011 at 4:17 PM, Anand Chitipothu
>> wrote:
>>> 2011/8/1 Dhananjay Nene :
>>>> On Sat, Jul 30, 2011 at 2:15 PM, Asif Jamadar
>>>> wrote:
>
On Mon, Aug 1, 2011 at 4:41 PM, Baishampayan Ghose wrote:
> On Mon, Aug 1, 2011 at 4:38 PM, Dhananjay Nene
> wrote:
>> I also find map much more atomic and portable construct to think in -
>> after all every list comprehension is syntactic sugar around map +
>> filter, a
On Mon, Aug 1, 2011 at 5:41 PM, Anand Chitipothu wrote:
> 2011/8/1 Dhananjay Nene :
>> [..]
>>
>> How could the above proposal (if it does) help in
>>
>> a) Creating simpler, lighter frameworks (eg. flask)
>> b) Help support greater asynchronicity (a la to
On Mon, Aug 1, 2011 at 5:44 PM, Dhananjay Nene wrote:
> On Mon, Aug 1, 2011 at 5:07 PM, Anand Chitipothu wrote:
>> 2011/8/1 Dhananjay Nene :
>>> On Mon, Aug 1, 2011 at 4:17 PM, Anand Chitipothu
>>> wrote:
>>>> 2011/8/1 Dhananjay Nene :
>>>
On Mon, Aug 1, 2011 at 7:26 PM, Anand Balachandran Pillai
wrote:
> IMHO, map/filter/reduce and the inevitable companion lambda were
> added on to Python when it was still trying to find its identity on where
> it stood in the pantheon of dynamic typed languages - since it wanted
> to be everyt
On Mon, Aug 1, 2011 at 7:51 PM, Noufal Ibrahim wrote:
> Anand Balachandran Pillai writes:
>
>> On Mon, Aug 1, 2011 at 6:08 AM, Anand Chitipothu wrote:
>
> [...]
>
>> It is more subtler than that.
>>
>> List comprehensions are faster than map functions when
>> the latter needs to invoke a user-def
On Mon, Aug 1, 2011 at 8:30 PM, Anand Chitipothu wrote:
>> I knew there was a way to better implement flatmap - its a combination
>> of itertools.chain.from_iterable and map. Here's a much cleaner code
>>
>> from itertools import chain
>>
>> print filter(lambda (x,y,z) : x*x + y*y == z*z,
>> ch
On Mon, Aug 1, 2011 at 8:30 PM, Anand Chitipothu wrote:
> I was trying to translate Python list-comprehensions into Javascript
> and here is what I've come up with.
>
> $pyjs.listcomp(
> function(x, y, z) { return [x, y, z]},
> [
> range(1, 100),
> function(x) { return range(x
On Tue, Aug 2, 2011 at 11:12 AM, Anand Balachandran Pillai
wrote:
> On Mon, Aug 1, 2011 at 7:51 PM, Dhananjay Nene
> wrote:
>
>> On Mon, Aug 1, 2011 at 7:26 PM, Anand Balachandran Pillai
>> wrote:
>> > IMHO, map/filter/reduce and the inevitable companion lambda
On Wed, Aug 3, 2011 at 1:22 PM, Noufal Ibrahim wrote:
> Anand Balachandran Pillai writes:
>
>> On Wed, Aug 3, 2011 at 12:50 PM, Noufal Ibrahim wrote:
>>
>>>
>>> PyPy outperforms C in a little benchmark capitalising on gcc's inability
>>> to optimise across files.
>>>
>>>
>>> http://morepypy.blog
On Wed, Aug 3, 2011 at 9:58 PM, Gopalakrishnan Subramani
wrote:
> I could not understand the PyPy intention in having another run-time.
>
> Can we see having PyPy running Python programs,
>
> 1. As a challenge? (A language can have its own runtime with little
> improved performance) or
> 2. Pote
I had done some benchmarking of code in various languages 3 years ago. I had
not chosen to implement either the most efficient code, instead preferring
to stick to a specific style of implementation. (The experiment is
documented at
http://blog.dhananjaynene.com/2008/07/performance-comparison-c-jav
On Fri, Aug 19, 2011 at 10:05 PM, Noufal Ibrahim wrote:
> Anand Chitipothu writes:
>
>>> Since Noufal is out this week-end, how about next Sat or Sun ?
>>> We can all do a bit of reading up of PyPy this week-end,
>>> discuss in the mailing list over next week, arrive (hopefully)
>>> at a common p
What would be good options to embed a python mail server ?
The scope is strictly restricted to automated testing. So the embedded
mail server (embedded in the test cases) acts as the server which
receives email and is in turn further queried to ensure receipt of
email correctly.
One option is htt
On Wed, Aug 24, 2011 at 11:06 AM, Anand Chitipothu wrote:
> 2011/8/24 Dhananjay Nene :
>> What would be good options to embed a python mail server ?
>>
>> The scope is strictly restricted to automated testing. So the embedded
>> mail server (embedded in the test case
at the
system boundaries. So it has to test the released version of the
artifact - without *any* changes. I presume that would constrain me
from introducing a different smtpd.py
> Gopal
>
>
>
>
> On Tue, Aug 23, 2011 at 11:39 PM, Dhananjay Nene
> wrote:
>
>> On We
.
Dhananjay
>
> On Wed, Aug 24, 2011 at 12:42 AM, Dhananjay Nene
> wrote:
>
>> On Wed, Aug 24, 2011 at 12:03 PM, Gopalakrishnan Subramani
>> wrote:
>> > Use the http://hg.python.org/cpython/file/2.7/Lib/smtpd.py server. smtpd
>> is
>> > a proxy so onl
On Wed, Aug 24, 2011 at 12:34 PM, Dhananjay Nene
wrote:
> On Wed, Aug 24, 2011 at 12:25 PM, Gopalakrishnan Subramani
> wrote:
>> So you basically look for SMTP and also a POP3 access to the server? With
>> that you could send a mail using SMTP and retrieve using POP3 to mak
Just discovered http://www.lastcraft.com/fakemail.php
On Wed, Aug 24, 2011 at 12:37 PM, Dhananjay Nene
wrote:
> On Wed, Aug 24, 2011 at 12:34 PM, Dhananjay Nene
> wrote:
>> On Wed, Aug 24, 2011 at 12:25 PM, Gopalakrishnan Subramani
>> wrote:
>>> So you basically lo
looks like a very appropriate tool.
Dhananjay
> On Wed, Aug 24, 2011 at 1:10 AM, Dhananjay Nene
> wrote:
>
>> Just discovered http://www.lastcraft.com/fakemail.php
>>
>> On Wed, Aug 24, 2011 at 12:37 PM, Dhananjay Nene
>> wrote:
>> > On Wed, Aug 24, 2011 a
On Tue, Aug 23, 2011 at 11:15 AM, Gopalakrishnan Subramani
wrote:
> I could make a grammar compiled myself. I will look into SPARK.. Anybody has
> experience in pyparsing http://pyparsing.wikispaces.com/ ?
> Under Examples http://pyparsing.wikispaces.com/Examples Python language
> example is promi
Vayana Services helps Small and Medium Enterprises (SMEs), get working
capital loans from banks and helps bank expand their lending reach. We
keep the technology simple to the point of being invisible to end
customers. We work on Python, Scala and Erlang with our SAAS offerings
deployed on AWS and
On Fri, Jul 29, 2011 at 10:47 AM, Anand Chitipothu wrote:
> 2011/7/28 Venkatraman S :
> > parsing using minidom is one of the slowest. if you just want to extract
> the
> > distance and assuming that it(the tag) will always be consistent, then i
> > would always suggest regexp. xml parsing is a pa
On Fri, Oct 21, 2011 at 12:10 AM, Asif Jamadar wrote:
> So I'm trying to generate dynamic choices for django form. Here i'm usig
> formset concept (CODE is mentioned below)
>
>
>
> Suppose i have list called criteria_list = ['education', 'know how',
> 'managerial', 'interpersonal', ]
>
>
>
> now
On Mon, Nov 7, 2011 at 5:11 AM, Dhananjay Nene wrote:
>
>
> On Fri, Oct 21, 2011 at 12:10 AM, Asif Jamadar
> wrote:
>
>> So I'm trying to generate dynamic choices for django form. Here i'm usig
>> formset concept (CODE is mentioned below)
>>
>&g
On Thu, Nov 10, 2011 at 5:05 PM, Shashidhar Paragonda <
shashidha...@gmail.com> wrote:
> Dear Python hackers,
>
> >>> I am facing *ValueError : **timestamp out of range for
> platform time_t
> *
> * >>> *I am working on Zope v. 2.8.11 with Python v2.4.4 on
> Debian v6.0
On Sat, Nov 12, 2011 at 7:35 PM, vishnu prasad wrote:
> Hi to all
>
> How google internally running the code my doubt is python ?
> i mean api means we need to learn the code for separately apart from
> andriod,python,php, ruby ?
> knowing the api code and how can i start that ? is it python api
On Wed, Jan 4, 2012 at 12:25 PM, Kenneth Gonsalves wrote:
> On Wed, 2012-01-04 at 14:24 +0800, Senthil Kumaran wrote:
> > On Wed, Jan 4, 2012 at 2:18 PM, Kenneth Gonsalves
> > wrote:
> > >
> > > am looking at kivy right now
> >
> > Looks neat. I would like to try that one too.
>
> there was a wo
On Fri, Aug 3, 2012 at 3:25 PM, JAGANADH G wrote:
> Hi All,
>
> Just now I got a message that our dear KG (Kenneth Gonsalvas) passed away.
> He was admitted in hospital due to Asthma attack and passed away today
> morning.
> Cremation will be held at ooty on 4th Aug 2012.
>
> Shocking and extreme
Top posting since am making some rather broad comments rather than to
specific lines in particular.
This is a thread which has been bothering me since morning. For a
number of reasons.
None of them have to do with the very essence of the thread, since I
never got to see the repository and the co
Ignoring classes for the moment, how likely do you think you would
have a dict like that :)
On a separate note if you are using primitive types, I cannot think of
any scenarios, where not coercing keys to be of the same type would be
considered inappropriate (except in case of reverse dicts)
On T
On Thu, Sep 12, 2013 at 11:22 PM, Shabda Raaj wrote:
>> whole qx business than Python programmers are with os and subprocess.
>
> That because subprocess and os module have a very bad api. I prefer using
> envoy whenevr I can.
>
> https://github.com/kennethreitz/envoy
Interesting. Haven't worked
On Fri, Sep 13, 2013 at 12:38 AM, Saager Mhatre wrote:
> On Thu, Sep 12, 2013 at 6:30 PM, Abdul Muneer 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 t
On Fri, Sep 13, 2013 at 12:49 PM, Saju M wrote:
> Import sub-modules with alias.
> Is it a bug ?
>
import json
from json import tool
>
>
>
import json as sjson
from sjson import tool
> Traceback (most recent call last):
> File "", line 1, in
> ImportE
On Fri, Sep 13, 2013 at 3:58 PM, Saager Mhatre wrote:
> On Fri, Sep 13, 2013 at 1:10 PM, Saju M 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 packag
On Fri, Sep 13, 2013 at 6:50 PM, Dhananjay Nene
wrote:
> On Fri, Sep 13, 2013 at 3:58 PM, Saager Mhatre
> wrote:
>> On Fri, Sep 13, 2013 at 1:10 PM, Saju M wrote:
>>
>>> Saager,
>>>
>>> As per python module-import semantics, sub-modules don
On 13 Sep 2013 19:21, "Saager Mhatre" wrote:
>
>
> Your result is not bad, but I still prefer my original approach. No
> offence. :)
None perceived :)
> Oh, and I'm still waiting on an answer for [3]. ;)
I have my theories :) Don't know the facts.
>
> - d
>
__
On Sat, Sep 14, 2013 at 2:56 PM, Noufal Ibrahim wrote:
> Baishampayan Ghose writes:
>
> > Oh! Is that a big deal? Of course we pin our requirements (in all
> > languages) and that's how it should be done. Otherwise you can't get
> > repeatable builds. ~BG
>
> I sometimes go futher and bundle the
> (Sent from my phone)
> On Sep 14, 2013 10:50 PM, "Noufal Ibrahim" wrote:
>
> > Dhananjay Nene writes:
> >
> >
> > [...]
> >
> > > The difficulty with that approach (I've never actually done it) is
> > > that it requires ve
rectly used specified the transient dependency as >= x.0
say.
Or then perhaps I couldn't understand something.
>
> --
> Kiran Jonnalagadda
> http://jace.zaiki.in/
> http://hasgeek.com/
>
> (Sent from my phone)
> On Sep 14, 2013 11:58 PM, "Dhananjay Nene"
On Mon, Sep 16, 2013 at 12:37 AM, Kiran Jonnalagadda wrote:
>
>
> Pinned requirements == complacency == future breakage, when maintenance is
> much more expensive than it is today.
imo there are is two underlying independent issues here. Having said
that let me state that while I pin requirements
On Mon, Sep 16, 2013 at 12:27 PM, Suyash Bhatt wrote:
> thanks for the response..
>
> what if i have another list
>
> *e = [*'*my1name1is1','**my2name2is1','xyz','abc']*
> *and in the list d, I want only the elements which are present in e..*
> *
Python 2.7.3 (default, Apr 10 2013, 05:13:16)
[GCC
On Mon, Sep 16, 2013 at 4:18 PM, Saager Mhatre wrote:
> On Sep 16, 2013 8:46 AM, "Dhananjay Nene" 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.
On Fri, Sep 20, 2013 at 6:06 PM, babmis wrote:
> I want to print entry and exit message for functions , i have bunch of such
> function . How can i do it in decorator.
>>> from functools import wraps
>>>
>>> def trace(f):
... @wraps(f)
... def wrap(*args, **kwargs):
... print("Ent
On Mon, Sep 23, 2013 at 11:24 AM, Annapoornima Koppad
wrote:
> Dear All,
>
> Pyladies Bangalore was recently featured in Times of India dated, 22nd sept
> and later on 23 sept as well. [1]. I am not able to find the link for the
> 23rd edition.
>
> I thank Anand Chitipothu for making Pycon India 2
On Tue, Sep 24, 2013 at 10:38 AM, bab mis wrote:
> Hi ,Any XML parser which gives the same kind of data structure as yaml parser
> gives in python. Tried with xmlmindom but ir's not of a proper datastrucure
> ,every time i need to read by element and create the dict.
Just think about it for a
On Tue, Sep 24, 2013 at 5:48 PM, Vineet Naik wrote:
> Hi,
>
> On Tue, Sep 24, 2013 at 10:38 AM, bab mis wrote:
>
>> Hi ,Any XML parser which gives the same kind of data structure as yaml
>> parser gives in python. Tried with xmlmindom but ir's not of a proper
>> datastrucure ,every time i need t
On Tue, Sep 24, 2013 at 6:04 PM, Dhananjay Nene
wrote:
> On Tue, Sep 24, 2013 at 5:48 PM, Vineet Naik wrote:
>> Hi,
>>
>> On Tue, Sep 24, 2013 at 10:38 AM, bab mis wrote:
>>
>>> Hi ,Any XML parser which gives the same kind of data structure as yaml
>
On Tue, Sep 24, 2013 at 6:11 PM, Dhananjay Nene
wrote:
> On Tue, Sep 24, 2013 at 6:04 PM, Dhananjay Nene
> wrote:
>> On Tue, Sep 24, 2013 at 5:48 PM, Vineet Naik wrote:
>>> Hi,
>>>
>>> On Tue, Sep 24, 2013 at 10:38 AM, bab mis wrote:
>>>
>
On Wed, Sep 25, 2013 at 7:09 PM, Vineet Naik wrote:
> On Tue, Sep 24, 2013 at 6:19 PM, Dhananjay Nene
> wrote:
>
>> On Tue, Sep 24, 2013 at 6:11 PM, Dhananjay Nene
>> wrote:
[..]
>>
>> which just trashed the ordering of an and followed by a plus followed by
On Fri, Sep 27, 2013 at 2:49 AM, Amber Jain wrote:
> On Fri, Sep 27, 2013 at 2:25 AM, Bibhas wrote:
>
>> I used Kivy a year back. Not sure of it's state now. You could look into
>> it once.
>>
>>
> +1 for Kivy (under active development). The same code runs unmodified on
> Linux, OSX, Windows, And
On Fri, Sep 27, 2013 at 6:52 PM, Sriram Karra wrote:
> On Fri, Sep 27, 2013 at 2:19 AM, Shabda Raaj wrote:
>
>> I am building my first desktop app with Python and I would like to get
>> recommendation on what toolkit to use.
>>
>> I am planning to use either PyGTK or PyQT.
>> (Are there anything
On Fri, Sep 27, 2013 at 7:21 PM, Sriram Karra wrote:
> On Fri, Sep 27, 2013 at 7:06 PM, Dhananjay Nene
> wrote:
>
>>
Overall background: I write desktop apps but not in python, I do write
the backends in python. So my desktop awareness is more generic. I did
try wxPython years ago
On Fri, Sep 27, 2013 at 7:35 PM, Noufal Ibrahim wrote:
> Sriram Karra writes:
>
>
> [...]
>
>> Isn't that the case with any cross-platform toolkit - if the intent is
>> to be cross platform?
>
> Yes but going inside the browser is more of a sacrifice than other
> approaches. I mean, just launchin
On Fri, Sep 27, 2013 at 10:04 PM, Sriram Karra wrote:
> On Fri, Sep 27, 2013 at 8:55 PM, Dhananjay Nene
> wrote:
>
>
>>
>> In most cases I find users want a installer. Basically just point and
>> click. So if there is no installer where a user selects a install
>
On Mon, Sep 30, 2013 at 4:37 PM, uday sankar wrote:
> Hi,
>
> I have a engine built in python. I implemented a webserver in python it
> will listen to the request sent and will responsed back with the necessary
> result. Now the problem is that I am able to run this engine in one node,
> if this n
On Thu, Oct 3, 2013 at 8:19 AM, Mandar Vaze / मंदार वझे
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 related) forum that I can't wait to use it
Any links to the discussions?
>
> -Mandar
>
>
> On Tu
On Thu, Oct 3, 2013 at 1:01 PM, Aditya Laghate wrote:
> On Thu, Oct 03, 2013 at 12:24:27PM +0530, Venu Murthy wrote:
>> As far as I know, this is permanent move Rahul, Pycharm is going to have
>> two versions, the basic one is opensourced for ever and then there one with
>> more bells and whistles
On Fri, Oct 4, 2013 at 4:30 PM, Saager Mhatre wrote:
> On Oct 3, 2013 9:40 AM, "Dhananjay Nene" wrote:
>>
>> On Thu, Oct 3, 2013 at 8:19 AM, Mandar Vaze / मंदार वझे
>> wrote:
>> > Downloaded it, bit not used it, yet. (still using vim)
>> > B
On Tue, Oct 15, 2013 at 1:46 AM, Pranav Raj 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 OOPS concept are a l
On Tue, Oct 15, 2013 at 11:25 AM, Navin Kabra wrote:
> If I were interviewing you, I would not really be checking your python
> knowledge (unless you claimed to be good in Python in your resume). I
> would really check how good you are in Java (your primary language), and
> your general programmin
On Tue, Oct 15, 2013 at 2:33 PM, Dhruv Baldawa wrote:
> Also take a look at videos by Raymond Hettinger
> http://pyvideo.org/speaker/138/raymond-hettinger
I have some serious reservations on how OO is packaged here. Wanted to
post a detailed and articulate opinion, but it is going to take a
while
On Tue, Oct 15, 2013 at 4:44 PM, s|s 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 what
> OOP sh
On Fri, Oct 18, 2013 at 5:58 PM, s|s wrote:
> On Fri, Oct 18, 2013 at 11:31 AM, Dhananjay Nene
> wrote:
>
>> On Tue, Oct 15, 2013 at 4:44 PM, s|s wrote:
>> > Hi Pranav,
>> >
>> > I would pose a counter question regarding object oriented programming.
&g
On Mon, Oct 21, 2013 at 10:55 AM, Saager Mhatre wrote:
> On Oct 15, 2013 4:10 AM, "Dhananjay Nene" wrote:
>>
>> On Tue, Oct 15, 2013 at 1:46 AM, Pranav Raj
> wrote:
>> > Hi fellow python lovers,
>> >
>> > I wanted to do OOPS programm
On Mon, Oct 21, 2013 at 11:53 AM, Saager Mhatre wrote:
> On Oct 21, 2013 11:39 AM, "Dhananjay Nene" wrote:
>>
>> On Mon, Oct 21, 2013 at 10:55 AM, Saager Mhatre
> wrote:
>>
>> > Which generally lead to poor (or at least poorer) abstractions; but I
>
On Mon, Oct 21, 2013 at 3:02 PM, Saager Mhatre wrote:
> On Oct 21, 2013 12:09 PM, "Dhananjay Nene" wrote:
>>
>> On Mon, Oct 21, 2013 at 11:53 AM, Saager Mhatre
> wrote:
>> > On Oct 21, 2013 11:39 AM, "Dhananjay Nene"
> wrote:
>>
On Mon, Oct 21, 2013 at 6:42 PM, Saager Mhatre wrote:
> On Oct 21, 2013 3:21 PM, "Dhananjay Nene" wrote:
>>
>> On Mon, Oct 21, 2013 at 3:02 PM, Saager Mhatre
> wrote:
>> > On Oct 21, 2013 12:09 PM, "Dhananjay Nene"
> wrote:
>>
On Mon, Oct 21, 2013 at 11:46 PM, Saager Mhatre wrote:
> On Fri, Oct 18, 2013 at 11:33 AM, Dhananjay Nene
> wrote:
>
>> On Tue, Oct 15, 2013 at 2:33 PM, Dhruv Baldawa
>> wrote:
>> > Also take a look at videos by Raymond Hettinger
>> > http://pyvideo.org/spe
On Mon, Oct 21, 2013 at 11:40 PM, Saager Mhatre wrote:
> On Mon, Oct 21, 2013 at 7:11 PM, Dhananjay Nene
> wrote:
>
>> Since you suggested that "Superior constructs
>> implemented inferiorly." and did not respond to the line which
>> wondered if tha
Am going to sign out of this discussion. It would not be correct to
say it is reaching the point of diminishing returns. In fact for
myself it has turned more interesting. But its turned a bit esoteric.
Have been doing up some more reading and I drew a few conclusions for
myself
* Terms don't mean
On Thu, Oct 3, 2013 at 2:02 PM, Aditya Laghate wrote:
> On Thu, Oct 03, 2013 at 01:18:24PM +0530, Dhananjay Nene wrote:
>> >
>> Its in the downloaded tar.gz. You'll find the jar in lib/src
>> Besides the community edition clearly mentions "Free, open-sour
Thats surprising. The code runs just fine
http://ideone.com/06qjoM
(Ans: 986)
As an aside I renamed _sum to sum_
When avoiding naming conflicts, its recommended to postfix a underscore
Prefixing an underscore is to provide a hint that the value that gets
assigned to the variable is going to be
from itertools import groupby
x = [['cat','NM123',12],['cat','NM234',12], ['dog', 'NM56',65]]
y = [['cat','NM123, NM234', 12], ['dog', 'NM56', 65]]
def grouper(t) : return (t[0],t[2])
assert y == list(list((keys[0],", ".join(val[1] for val in vals),keys[1]))
for keys, vals in g
On Tue, Apr 1, 2014 at 11:19 PM, Anand Chitipothu wrote:
> On Tue, Apr 1, 2014 at 11:16 PM, Noufal Ibrahim KV
> wrote:
>
> > On Tue, Apr 01 2014, Pradip Caulagi wrote:
> >
> > > It is rather late in the day to bring this up but ...
> > >
> > > I heard they are removing iterators from Python to kee
One reason I am not fond of singletons is that they make unit testing a lot
harder
Dhananjay
On Wed, Mar 25, 2015 at 7:02 PM, Abhaya Agarwal
wrote:
> Hi,
>
> I need to model four entities that share some attributes and behaviors and
> also have some unique attributes and behaviors. I need to be
101 - 181 of 181 matches
Mail list logo