Re: [BangPypers] Welcome to the "BangPypers" mailing list

2014-02-24 Thread Baishampayan Ghose
and > you will get back a message with instructions. > > You must know your password to change your options (including changing the > password, itself) or to unsubscribe without confirmation. It is: > > sonusimmi > > Normally, Mailman will remind you of your python.

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

2013-09-14 Thread Baishampayan Ghose
I think that makes more sense if you're depending on 3rd party > packages. > > -- > Bibhas > > On Thursday 12 September 2013 05:41 PM, Baishampayan Ghose wrote: >> What do you mean by "pin"? ~BG >> >> On Thu, Sep 12, 2013 at 5:37 PM, Shabda Raaj >

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

2013-09-12 Thread Baishampayan Ghose
_ > BangPypers mailing list > BangPypers@python.org > https://mail.python.org/mailman/listinfo/bangpypers -- Baishampayan Ghose b.ghose at gmail.com ___ BangPypers mailing list BangPypers@python.org https://mail.python.org/mailman/listinfo/bangpypers

Re: [BangPypers] Listing files in a folder using python

2013-02-25 Thread Baishampayan Ghose
n Python.. if you > could guide me it would be great.. > > > ___ > BangPypers mailing list > BangPypers@python.org > http://mail.python.org/mailman/listinfo/bangpypers -- Baishampayan Ghose b.ghose at gmail.com ___

Re: [BangPypers] Try Ninja IDE

2012-08-21 Thread Baishampayan Ghose
> Heh, replies are not mandatory, I, for one, wasn't really holding my breath > to see a reply from you to Yoganand's email :) It's not about me here, it's about very basic mailing list etiquette. Regards, BG -- Baishampayan

Re: [BangPypers] Try Ninja IDE

2012-08-21 Thread Baishampayan Ghose
s, > Yoganand > ___ > BangPypers mailing list > BangPypers@python.org > http://mail.python.org/mailman/listinfo/bangpypers -- Baishampayan Ghose b.ghose at gmail.com ___ BangPypers mailing list BangPypers@pyth

Re: [BangPypers] [Inpycon] Sad demise of our dear KG (Keneth Gonsalvas)

2012-08-03 Thread Baishampayan Ghose
ython.org > http://mail.python.org/mailman/listinfo/inpycon > -- Baishampayan Ghose b.ghose at gmail.com ___ BangPypers mailing list BangPypers@python.org http://mail.python.org/mailman/listinfo/bangpypers

Re: [BangPypers] [JOB] Python/Django Internship position

2012-07-30 Thread Baishampayan Ghose
course not true for everyone, but there are enough of these > jokers going around that if you are serious about your startup, please do > not advertise your IIT/IIM background -- you will be ignored by the people > you really need to talk to. Couldn't agree more.

Re: [BangPypers] [JOB] Python/Django Internship position

2012-07-29 Thread Baishampayan Ghose
reasons why you should talk about > your idea in public, but someone beat me to blogging about it: > http://www.humbledmba.com/startups-in-stealth-mode-need-one-piece-of-ad -- Baishampayan Ghose b.ghose at gmail.com ___ BangPypers mailing list BangPypers@python.org http://mail.python.org/mailman/listinfo/bangpypers

Re: [BangPypers] [JOB] Python/Django Internship position

2012-07-12 Thread Baishampayan Ghose
board just by saying those keywords? If no, > how do you expect programmers to join you? How does your keywords > matter more than your idea and business model? It's not a business model, it's a way of life... :) Regards, BG -- Ba

Re: [BangPypers] Python script to limit access to Internet...

2012-06-27 Thread Baishampayan Ghose
ue, but I am not sure how this is related to running the DHCP server on the router. Regards, BG -- Baishampayan Ghose b.ghose at gmail.com ___ BangPypers mailing list BangPypers@python.org http://mail.python.org/mailman/listinfo/bangpypers

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

2012-03-15 Thread Baishampayan Ghose
ail's > web interface now automatically recognizes this feature. Earlier it > was not the case. People wanting to reply to the OP (or anyone else) in private is < 10% of the use-case. Such emails should either be composed separately or at least the perso

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

2012-03-15 Thread Baishampayan Ghose
On Thu, Mar 15, 2012 at 11:08 PM, Anand Balachandran Pillai wrote: > Bad karma. I should set the return address for the group to the sender > perhaps :) No Anand, that's not what you should do IMHO. Regards, BG -- Baishampayan Ghose b.ghose a

Re: [BangPypers] getpython3

2012-01-18 Thread Baishampayan Ghose
direct getpython3.net to getpython3.com with a 301. > > Done. Awesome! Regards, BG -- Baishampayan Ghose b.ghose at gmail.com ___ BangPypers mailing list BangPypers@python.org http://mail.python.org/mailman/listinfo/bangpypers

Re: [BangPypers] getpython3

2012-01-18 Thread Baishampayan Ghose
ith a 301. Regards, BG -- Baishampayan Ghose b.ghose at gmail.com ___ BangPypers mailing list BangPypers@python.org http://mail.python.org/mailman/listinfo/bangpypers

Re: [BangPypers] re module help

2012-01-09 Thread Baishampayan Ghose
mand in your string? >> > > I got output from terminal command working fine Is your tool, writing to stdout or stderr? Regards, BG -- Baishampayan Ghose b.ghose at gmail.com ___ BangPypers mailing list BangPypers@python.org http://mail.python.org/mailman/listinfo/bangpypers

Re: [BangPypers] golf problem

2011-12-25 Thread Baishampayan Ghose
n the actual probabilities of each par in the course and minimise the number of passes through the list. It shouldn't matter much for a small list though. Regards, BG -- Baishampayan Ghose b.ghose at gmail.com ___ BangPypers mailing

Re: [BangPypers] Text/Mail filtering/classification using python

2011-12-23 Thread Baishampayan Ghose
gPypers@python.org > http://mail.python.org/mailman/listinfo/bangpypers -- Baishampayan Ghose b.ghose at gmail.com ___ BangPypers mailing list BangPypers@python.org http://mail.python.org/mailman/listinfo/bangpypers

Re: [BangPypers] webmail server

2011-10-12 Thread Baishampayan Ghose
> On Wed, 2011-10-12 at 18:01 +0530, Baishampayan Ghose wrote: >> Lamson - http://lamsonproject.org/ > > sorry - wrong question - I meant webmail client - like openwebmail. PyWebmail? - http://code.google.com/p/webpymail/ Regards, BG -- Baishampayan Ghose b.gho

Re: [BangPypers] webmail server

2011-10-12 Thread Baishampayan Ghose
Lamson - http://lamsonproject.org/ Regards, BG -- Baishampayan Ghose b.ghose at gmail.com ___ BangPypers mailing list BangPypers@python.org http://mail.python.org/mailman/listinfo/bangpypers

Re: [BangPypers] [JOB] - Yahoo!

2011-09-14 Thread Baishampayan Ghose
s the company look all the worse. +1 to Kiran and Noufal here. +1 Trillion to Roshan (of which a few Billions are just for the style). Regards, BG -- Baishampayan Ghose b.ghose at gmail.com ___ BangPypers mailing list BangPypers@python.org http://mail.python.org/mailman/listinfo/bangpypers

Re: [BangPypers] [JOB] - Yahoo!

2011-09-13 Thread Baishampayan Ghose
received an apology from the CEO. I am not sure if anyone from Y! will respond though... Regards, BG -- Baishampayan Ghose b.ghose at gmail.com ___ BangPypers mailing list BangPypers@python.org http://mail.python.org/mailman/listinfo/bangpypers

Re: [BangPypers] if not with comparision statement in python

2011-08-01 Thread Baishampayan Ghose
han list >>> comprehensions. >> >> The above will especially make sense to someone who programs in >> multiple programming languages in his day job. > > I envy them. :) Why envy them when you can join them ;-) Regards, BG -- Baishampayan Ghose b.ghose at gmail.com __

Re: [BangPypers] if not with comparision statement in python

2011-08-01 Thread Baishampayan Ghose
e above will especially make sense to someone who programs in multiple programming languages in his day job. Regards, BG -- Baishampayan Ghose b.ghose at gmail.com ___ BangPypers mailing list BangPypers@python.org http://mail.python.org/mailman/listinfo/bangpypers

Re: [BangPypers] parsing xml

2011-07-29 Thread Baishampayan Ghose
On Fri, Jul 29, 2011 at 1:09 PM, Venkatraman S wrote: > IMHO, regexps are much more powerful and fault tolerant than XML parsing. > XMLs are brittle. Did you mean parsing XML using Regular Expressions is "more powerful and fault tolerant" than using a XML parser? Regards, BG

Re: [BangPypers] parsing xml

2011-07-28 Thread Baishampayan Ghose
t of the standard library as well and is known to be much better than minidom in various ways. Regards, BG -- Baishampayan Ghose b.ghose at gmail.com ___ BangPypers mailing list BangPypers@python.org http://mail.python.org/mailman/listinfo/bangpypers

Re: [BangPypers] parsing xml

2011-07-28 Thread Baishampayan Ghose
s): element = fromstring(s) return element.find("extensions/distance").text if __name__ == "__main__": print parse_xml(data) Hope that helps. Regards, BG -- Baishampayan Ghose b.ghose at gmail.com ___ BangPypers mailing list BangPypers@python.org http://mail.python.org/mailman/listinfo/bangpypers

Re: [BangPypers] [OT] language fanaticism

2011-07-13 Thread Baishampayan Ghose
've built is free from any security hole? IMHO if an application is insecure, it's the programmer who is to blame and not the language/framework. Regards, BG -- Baishampayan Ghose b.ghose at gmail.com ___ BangPypers mailing list BangPypers@python.org http://mail.python.org/mailman/listinfo/bangpypers

Re: [BangPypers] [pythonpune] Cool developments on the PyPy front

2011-06-30 Thread Baishampayan Ghose
e feel real good. > Apparently PyPy is going to lose the GIL and implement locking via STM > > http://morepypy.blogspot.com/2011/06/global-interpreter-lock-or-how-to-kill.html > -- Baishampayan Ghose b.ghose at gmail.com ___ BangPypers mailing lis

Re: [BangPypers] Uninstalling Python 2.6

2011-06-23 Thread Baishampayan Ghose
sr/bin/python2.6 1 # update-alternatives --install /usr/bin/python python /usr/bin/python2.5 10 # update-alternatives --config python I would recommend that you read the update-alternatives manual page before trying any of the above. Regards, BG -- Baishampayan Ghose b.

Re: [BangPypers] Uninstalling Python 2.6

2011-06-23 Thread Baishampayan Ghose
by using the `update-alternatives` command (http://manpages.ubuntu.com/manpages/karmic/man8/update-alternatives.8.html). It would be something like (after installing python-2.5) - # update-alternatives --config python Regards, BG -- Baish

Re: [BangPypers] remote ip change

2011-06-22 Thread Baishampayan Ghose
ted.org/func/ Seems to be similar to Fabric [http://fabfile.org] but limited to administering Fedora machines. Regards, BG -- Baishampayan Ghose b.ghose at gmail.com ___ BangPypers mailing list BangPypers@python.org http://mail.python.org/mailman/listinfo/bangpypers

Re: [BangPypers] The myth of free software

2011-05-19 Thread Baishampayan Ghose
On Wed, May 18, 2011 at 6:27 PM, Santosh Rajan wrote: > (FUNCTION TROLL >    ((FUNCTION PRINT) >        "Hello World"))) You clearly don't know enough Lisp to even craft a joke properly. Stick to what you know, that will suite you better. Regards, BG -- Baishampayan Gh

Re: [BangPypers] editor for restructured text

2011-04-28 Thread Baishampayan Ghose
rtheless, the path to mastering Emacs does intersect with the path to mastering Lisp in some important places. Regards, BG -- Baishampayan Ghose b.ghose at gmail.com ___ BangPypers mailing list BangPypers@python.org http://mail.python.org/mailman/listinfo/bangpypers

Re: [BangPypers] Broken pipe error

2011-04-14 Thread Baishampayan Ghose
when you press the Esc key or move to another page before the original page has loaded completely. This is not a serious issue and you can ignore it safely. Regards, BG -- Baishampayan Ghose b.ghose at gmail.com ___ BangPypers mailing list BangPyp

Re: [BangPypers] Nice "feature"

2011-04-01 Thread Baishampayan Ghose
support item assignment >>>> foo > (1, [2, 3, 4, 6]) Even nicer this way - >>> foo = (1, [2, 3, 4]) >>> foo[1].append(5) >>> foo (1, [2, 3, 4, 5]) >>> foo[1].append(6) >>> foo (1, [2, 3, 4, 5, 6]) Regards, BG -- Baishampayan Ghose

Re: [BangPypers] Dictionary in Python - A doubt

2011-03-24 Thread Baishampayan Ghose
Hope this helps. Regards, BG [1] http://docs.python.org/library/collections.html#collections.defaultdict -- Baishampayan Ghose b.ghose at gmail.com ___ BangPypers mailing list BangPypers@python.org http://mail.python.org/mailman/listinfo/bangpypers

Re: [BangPypers] Proposed python module: simpleoauth

2011-03-09 Thread Baishampayan Ghose
he code? simpleoauth/__init__.py seems to have only one line - "/home/navin/d/hacks/python/oauth/simple_oauth.py" Another thing, please sanitize the examples and remove your own API keys, they look real to me :) Regards, BG -- Baishampa

Re: [BangPypers] indentation problems

2011-02-23 Thread Baishampayan Ghose
ems. Some editors can visually indicate if tabs and spaces are mixed in a file. You can use the tabnanny module to detect such files. $ python -m tabnanny # for a single file $ python -m tabnanny . # for all files in the current directory Regards, BG -- Baishampayan Ghose b.ghose at

Re: [BangPypers] Ideas for Python concurrency...

2011-02-08 Thread Baishampayan Ghose
se of the Python GIL. Regards, BG -- Baishampayan Ghose b.ghose at gmail.com ___ BangPypers mailing list BangPypers@python.org http://mail.python.org/mailman/listinfo/bangpypers

Re: [BangPypers] [JOB] Python developer required in Pune with web development experience

2011-01-12 Thread Baishampayan Ghose
e you going to > give me? While I completely agree with you on this, just FYI, Google (US, don't know about India) pays considerably less than the industry standards but makes it up with the perks. Regards, BG -- Baishampayan Ghose b.ghose at gmail.com __

Re: [BangPypers] [JOB] Python developer required in Pune with web development experience

2011-01-12 Thread Baishampayan Ghose
e in job postings, but I guess people still get some idea about the salary range through various channels like glassdoor.com Regards, BG -- Baishampayan Ghose b.ghose at gmail.com ___ BangPypers mailing list BangPypers@python.org http://mail.python.org/mailman/listinfo/bangpypers

Re: [BangPypers] [JOB] Python developer required in Pune with web development experience

2011-01-12 Thread Baishampayan Ghose
"standard compensation". The actual pay differs with the person, the role & the company. Nevertheless, it's a nice way of saying "we won't short-change you". Regards, BG -- Baishampayan Ghose b.ghose at gmail.com __

Re: [BangPypers] refactoring

2010-12-05 Thread Baishampayan Ghose
criticized him for writing unstructured programs, saying, ``What is > appropriate for the master is not appropriate for the novice. You must > understand the Tao before transcending structure. http://www.canonical.org/~kragen/tao-of-programming.html for more koans like the one above. Regards, BG

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 Bang

Re: [BangPypers] Clojure style multimethod functions in python

2010-08-24 Thread Baishampayan Ghose
uot;} > b2 = {"Species" : "Bunny", "Other" : "Stuff"} > l1 = {"Species" : "Lion", "Other" : "Stuff"} > l2 = {"Species" : "Lion", "Other" : "Stuff"} > > print encounter(

Re: [BangPypers] Clojure style multimethod functions in python

2010-08-23 Thread Baishampayan Ghose
ill always pick the first one that satisfies the condition, which is again dependent on the order in which the code is evaluated. For example, try implementing the following using your code - http://clojure.org/runtime_polymorphism Regards, BG -- Baishampayan Ghose b.ghose at gmail.com __

Re: [BangPypers] Clojure style multimethod functions in python

2010-08-23 Thread Baishampayan Ghose
n of `the properties of the object'. Regards, BG -- Baishampayan Ghose b.ghose at gmail.com ___ BangPypers mailing list BangPypers@python.org http://mail.python.org/mailman/listinfo/bangpypers

Re: [BangPypers] source

2010-08-16 Thread Baishampayan Ghose
lt-in and is equivalent to `.'. http://www.gnu.org/software/bash/manual/bashref.html#Bourne-Shell-Builtins Regards, BG -- Baishampayan Ghose b.ghose at gmail.com ___ BangPypers mailing list BangPypers@python.org http://mail.python.org/mailman/listinfo/bangpypers

Re: [BangPypers] python speed comparison

2010-07-23 Thread Baishampayan Ghose
thon is undoubtedly slower than C, more so when you use a naive algorithm. Here is how I had solved this problem in Python on Jan, 2007 (had to really dig out the code from my archives) - #!/usr/bin/env python # Solution for problem #14 at Project Euler # (http://projecteuler.net/index.php?sec

Re: [BangPypers] list problem

2010-07-23 Thread Baishampayan Ghose
> For worst case and dataset in problem your script beats all. > For simple but large data it's Anand's solution just slightly ahead. > > Wow. Thanks for the info, Shekhar. I am happy :) Regards, BG -- Baishampayan Ghos

Re: [BangPypers] list problem

2010-07-22 Thread Baishampayan Ghose
's and mine and Navin was almost the same of the last > spot. > > Which one is most readable? Well I leave that for now. How did mine perform? Regards, BG -- Baishampayan Ghose b.ghose at gmail.com ___ BangPypers mailing list BangPypers@pyth

Re: [BangPypers] list problem

2010-07-22 Thread Baishampayan Ghose
0], ['cat', 20], ['cat', 30], ['dog', 5], ['dog', 1], ['dog', 3]] item_values = defaultdict(list) # this makes the values of this dict lists by default starts = {} ends = {} for k, v in items: item_values[k].append

Re: [BangPypers] Query generation engine/library

2010-03-09 Thread Baishampayan Ghose
hack it until you are satisfied :) Regards, BG -- Baishampayan Ghose b.ghose at gmail.com ___ BangPypers mailing list BangPypers@python.org http://mail.python.org/mailman/listinfo/bangpypers

Re: [BangPypers] Internationals getting Python/Programming Jobs

2010-02-05 Thread Baishampayan Ghose
ch. community, peaceful life, work opportunities, infrastructure and nice weather. It's also cheaper than the so-called metro cities. Regards, BG -- Baishampayan Ghose b.ghose at gmail.com ___ BangPypers mailing list BangPypers@python.org http

Re: [BangPypers] How should I do it?

2010-01-15 Thread Baishampayan Ghose
> It is a clever hack, taking advantage of the nature of the data. But > it is far more faster than the other approaches posted here. I thought eval was evil :) Regards, BG -- Baishampayan Ghose b.ghose at gmail.com ___ BangPypers mailin

Re: [BangPypers] Why do indians copy?

2009-10-15 Thread Baishampayan Ghose
havent come across that - but I some how do not like forums - something dozey > about them Stackoverflow is not really a forum, it's more like a community Q&A website. And yes, StackOverflow has more people who work on Windows technologies. Regards, BG -- Baishampayan Ghose b.ghose

Re: [BangPypers] Why do indians copy?

2009-10-15 Thread Baishampayan Ghose
nd the Internet never forgets :) Regards, BG -- Baishampayan Ghose b.ghose at gmail.com ___ BangPypers mailing list BangPypers@python.org http://mail.python.org/mailman/listinfo/bangpypers

Re: [BangPypers] [OT] Guido's Tweet on Top Posting

2009-09-11 Thread Baishampayan Ghose
hat nicely. Regards, BG -- Baishampayan Ghose b.ghose at gmail.com ___ BangPypers mailing list BangPypers@python.org http://mail.python.org/mailman/listinfo/bangpypers

Re: [BangPypers] HTML Parsing in python

2009-09-10 Thread Baishampayan Ghose
x27;s very good. http://codespeak.net/lxml/ Regards, BG -- Baishampayan Ghose b.ghose at gmail.com ___ BangPypers mailing list BangPypers@python.org http://mail.python.org/mailman/listinfo/bangpypers

Re: [BangPypers] Any python metaclasses for UID

2009-07-29 Thread Baishampayan Ghose
ment by drawing an analogy with the usual way in which Jon Harrop traumatises different mailing lists. Regards, BG -- Baishampayan Ghose b.ghose at gmail.com ___ BangPypers mailing list BangPypers@python.org http://mail.python.org/mailman/listinfo/bangpypers

Re: [BangPypers] Any python metaclasses for UID

2009-07-29 Thread Baishampayan Ghose
Thu, Jul 30, 2009 at 1:43 AM, Baishampayan Ghose > wrote: >>> I think I just fell down the rabbit hole. >> >> I think BangPypers just got its own John Harrop. >> > Jon, I think you mean (although there is a John Harrop in the Clojure > community), in which cas

Re: [BangPypers] Any python metaclasses for UID

2009-07-29 Thread Baishampayan Ghose
> I think I just fell down the rabbit hole. I think BangPypers just got its own John Harrop. Regards, BG -- Baishampayan Ghose b.ghose at gmail.com ___ BangPypers mailing list BangPypers@python.org http://mail.python.org/mailman/listinfo/bangpypers

Re: [BangPypers] CPython's 'bignum' Implementation

2009-05-18 Thread Baishampayan Ghose
ne to vote-up *if and only if* he is satisfied is not wrong, IMHO. I have been a part of SO for enough time to understand how it works. If anyone still feels that I am wrong, please feel free to take back your vote. Regards, BG -- Baishampayan Ghose

Re: [BangPypers] CPython's 'bignum' Implementation

2009-05-17 Thread Baishampayan Ghose
t 1:13 AM, Baishampayan Ghose > wrote: >>> Now, how does CPython implement bignum? From what I gather, there is >>> more than way of doing it- using a different radix (base),  an array >>> of numbers. One hint is given by >>> http://www.python.org/dev/peps/pep-0237/.

Re: [BangPypers] CPython's 'bignum' Implementation

2009-05-15 Thread Baishampayan Ghose
votes if you deem my answer to be satisfying :-p Regards, BG -- Baishampayan Ghose b.ghose at gmail.com ___ BangPypers mailing list BangPypers@python.org http://mail.python.org/mailman/listinfo/bangpypers

Re: [BangPypers] Joins with Django

2009-05-06 Thread Baishampayan Ghose
(name="foocorp") prices = Price.objects.filter(scheme_id__comp_id=company) You can use __ (double underscores) to span relationships. The Docs have more: http://docs.djangoproject.com/en/dev/topics/db/queries/#lookups-that-span-relationships Regards, BG -- Baishampayan Ghose b.ghose at gmail

Re: [BangPypers] Python Day India

2009-04-29 Thread Baishampayan Ghose
>> IMO that is pure FUD... > > what exactly is FUD? Fear Uncertainty & Doubt. Regards, BG -- Baishampayan Ghose b.ghose at gmail.com ___ BangPypers mailing list BangPypers@python.org http://mail.python.org/mailman/listinfo/bangpypers

Re: [BangPypers] unladen-swallow

2009-04-02 Thread Baishampayan Ghose
json. Now _that_ is fast :) Regards, BG -- Baishampayan Ghose b.ghose at gmail.com ___ BangPypers mailing list BangPypers@python.org http://mail.python.org/mailman/listinfo/bangpypers

Re: [BangPypers] Cloud Camp at IIM Bangalore on March 29

2009-03-13 Thread Baishampayan Ghose
> Would anyone be interested in Giving a talk on Google App-Engine ? I can talk on GAE. Regards, BG -- Baishampayan Ghose b.ghose at gmail.com ___ BangPypers mailing list BangPypers@python.org http://mail.python.org/mailman/listinfo/bangpypers

Re: [BangPypers] Today's IRC meeting

2009-03-02 Thread Baishampayan Ghose
>   The meeting is planned for today at 9:00. Which channel & network? Regards, BG -- Baishampayan Ghose b.ghose at gmail.com ___ BangPypers mailing list BangPypers@python.org http://mail.python.org/mailman/listinfo/bangpypers