Re: [BangPypers] class instance getting passed to other class obj creation

2014-03-09 Thread shreyas
You could make login instance a module level variable and then use that as a singleton. shreyas On Mar 9, 2014 4:38 PM, "Nitin Kumar" wrote: > Hi All, > > I am looking for some better way to implement below scenario. > > Say there is a class login > > class login

Re: [BangPypers] Need help Extracting data properly in python

2014-02-19 Thread Kulkarni, Shreyas
if this is a valid tab-seperated file, you could try parsing it using csv module with dialect set to '\t' or 'excel-tab' maybe? shreyas On Feb 19, 2014, at 5:43 PM, "kamalakar06 ." wrote: > I have a file like this(Tabular data) : > > 0 1 CEN

Re: [BangPypers] Tornado or twisted?

2014-05-06 Thread Kulkarni, Shreyas
probably a bit off topic, but little curious to know what node can't handle. did you mean that in comparison with twisted/tornado? shreyas On May 6, 2014, at 1:32 PM, Mukesh Yadav wrote: > @venkatraman I feel meteor is only for prototyping, and if you need to have > some serious

[BangPypers] Moving from python 2.6 to 2.7

2014-10-07 Thread Kulkarni, Shreyas
tried searching about it, but didn't hit anything useful. Anyone here has any suggestions, or has experienced any difficulties after bumping the version to 2.7? Thanks in advance. shreyas ___ BangPypers mailing list BangPypers@python

Re: [BangPypers] Moving from python 2.6 to 2.7

2014-10-08 Thread Kulkarni, Shreyas
Thanks Abdul. Fortunately we don't have any native bindings in the project. shreyas On Oct 8, 2014, at 11:12 AM, Abdul Muneer wrote: > Hi, > As far as I know, nothing written in python should break. If you are > upgrading OS too, then you should be watchful as some of the c l

Re: [BangPypers] Moving from python 2.6 to 2.7

2014-10-08 Thread Kulkarni, Shreyas
Thanks Gora. The test-cases are scant, at least I don't think they cover it all, and me being new to the functionality, I started looking out for inputs to avoid some deprecations across versions breaking a corner case somewhere. shreyas On Oct 8, 2014, at 12:05 PM, Gora Mohanty

[BangPypers] [JOBS] Looking for python/bash profiles

2014-10-10 Thread Kulkarni, Shreyas
time requirement, based out of Bangalore. Consultants please excuse. If anyone is interested, write to me with your profile. Please *DO NOT* reply-to-all. Thanks, Shreyas Kulkarni ___ BangPypers mailing list BangPypers@python.org https://mail.python.org/ma

Re: [BangPypers] List of n but same objects

2014-12-11 Thread Kulkarni, Shreyas
ng what you are seeing. If you want deep copy instead of shallow one with references, take a look at 'copy' module and copy.deepcopy method in particular. shreyas On Dec 11, 2014, at 3:58 PM, Rajiv Subramanian M wrote: > Hello Group, > > I am Rajiv, Python/Django developer in

Re: [BangPypers] List of n but same objects

2014-12-11 Thread Kulkarni, Shreyas
short, to get result as case-1, do as case-1 does, instead of case-2 :) 3. I think you are missing the point. This behavior is not tied to list or listiterators or broadly to any datatype in python, but to the way operators, assignments and function calls work in python. shreyas On Dec 11

Re: [BangPypers] combine multiple modules in one

2014-12-17 Thread Kulkarni, Shreyas
PIP_DOWNLOAD_CACHE on that device, and do regular pip installs there. Unless pip keep some registry (of downloaded components) somewhere which I am not aware of. shreyas On Dec 17, 2014, at 11:35 PM, Nitin Kumar wrote: > Hi, > > say I am installing a module "abc"