Re: [BangPypers] Welcome to the BangPypers mailing list

2014-02-24 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

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

2013-09-14 Thread Baishampayan Ghose
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 sha...@agiliq.com wrote: Curious how many people are doing/not doing

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

2013-09-12 Thread Baishampayan Ghose
://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
.. 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 ___ BangPypers

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 Ghose b.ghose at gmail.com

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

2012-08-03 Thread Baishampayan Ghose
-- 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
, 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. Regards, BG -- Baishampayan Ghose b.ghose at gmail.com

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

2012-07-12 Thread Baishampayan Ghose
on 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 -- Baishampayan Ghose b.ghose at gmail.com

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

2012-06-27 Thread Baishampayan Ghose
. 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-16 Thread Baishampayan Ghose
sending the email should verify that the mail is indeed going to the intended recipient. Let's not change the default setting to address a corner case. Regards, BG -- Baishampayan Ghose b.ghose at gmail.com ___ BangPypers mailing list BangPypers

Re: [BangPypers] getpython3

2012-01-18 Thread Baishampayan Ghose
. 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
. 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] re module help

2012-01-09 Thread Baishampayan Ghose
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
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 list BangPypers@python.org http://mail.python.org

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

2011-12-23 Thread Baishampayan Ghose
/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
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] 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.ghose at gmail.com

Re: [BangPypers] [JOB] - Yahoo!

2011-09-14 Thread Baishampayan Ghose
. +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

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

2011-08-01 Thread Baishampayan Ghose
comprehensions. The 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

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

2011-08-01 Thread Baishampayan Ghose
. 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 ___ BangPypers mailing

Re: [BangPypers] parsing xml

2011-07-29 Thread Baishampayan Ghose
-- 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
Feld/end /extensions /gpx def parse_xml(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

Re: [BangPypers] parsing xml

2011-07-28 Thread Baishampayan Ghose
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] [OT] language fanaticism

2011-07-13 Thread Baishampayan Ghose
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-07-01 Thread Baishampayan Ghose
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 list BangPypers

Re: [BangPypers] Uninstalling Python 2.6

2011-06-24 Thread Baishampayan Ghose
` 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 -- Baishampayan Ghose b.ghose at gmail.com ___ BangPypers

Re: [BangPypers] Uninstalling Python 2.6

2011-06-24 Thread Baishampayan Ghose
# 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.ghose at gmail.com

Re: [BangPypers] remote ip change

2011-06-22 Thread Baishampayan Ghose
] 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 santra...@gmail.com 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 Ghose

Re: [BangPypers] editor for restructured text

2011-04-28 Thread Baishampayan Ghose
, 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 BangPypers

Re: [BangPypers] Nice feature

2011-04-01 Thread Baishampayan Ghose
]) 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 b.ghose at gmail.com ___ BangPypers mailing list BangPypers@python.org http

Re: [BangPypers] Dictionary in Python - A doubt

2011-03-24 Thread Baishampayan Ghose
-- 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
.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 -- Baishampayan Ghose b.ghose at gmail.com ___ BangPypers

Re: [BangPypers] indentation problems

2011-02-23 Thread Baishampayan Ghose
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 file # for a single file $ python -m tabnanny . # for all files in the current directory Regards, BG -- Baishampayan Ghose b.ghose at gmail.com

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

2011-02-08 Thread Baishampayan Ghose
, 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
. 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 ___ BangPypers mailing list BangPypers@python.org http://mail.python.org

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

2011-01-12 Thread Baishampayan Ghose
. That is indeed, one way of saying the salary is negotiable. Having said that, I have never seen companies like Google, Facebook, etc. mention a pay range in job postings, but I guess people still get some idea about the salary range through various channels like glassdoor.com Regards, BG -- Baishampayan

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

2011-01-12 Thread Baishampayan Ghose
(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 ___ BangPypers mailing list BangPypers@python.org http://mail.python.org/mailman

Re: [BangPypers] refactoring

2010-12-05 Thread Baishampayan Ghose
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 -- Baishampayan Ghose b.ghose

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 BangPypers

Re: [BangPypers] Clojure style multimethod functions in python

2010-08-24 Thread Baishampayan Ghose
. Good work, Dhananjay. Regards, BG -- Baishampayan Ghose b.ghose at gmail.com ___ BangPypers mailing list BangPypers@python.org http://mail.python.org/mailman/listinfo/bangpypers

Re: [BangPypers] Clojure style multimethod functions in python

2010-08-23 Thread Baishampayan Ghose
-multi-methods-in-python/ Please don't claim that the above is `Clojure style multimethods'. Clojure multimethods can dispatch on an arbitrary function of `the arguments' given to the multimethod and not just on any arbitrary function of `the properties of the object'. Regards, BG -- Baishampayan

Re: [BangPypers] Clojure style multimethod functions in python

2010-08-23 Thread Baishampayan Ghose
. For example, try implementing the following using your code - http://clojure.org/runtime_polymorphism 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
/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] 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 Ghose b.ghose at gmail.com

Re: [BangPypers] python speed comparison

2010-07-23 Thread Baishampayan Ghose
=problemsid=14) # Author: Baishampayan Ghose b.gh...@gnu.org length = 0 max = 0 start = 1 def cycle(x): ''' Calculate the max cycle length, ensuring that everything is 1 million ''' i = 1 while (x != 1): if (x % 2 == 0): x = x / 2 else: x = 3*x

Re: [BangPypers] list problem

2010-07-22 Thread Baishampayan Ghose
= {} ends = {} for k, v in items: item_values[k].append(v) for k in item_values: starts[k] = min(item_values[k]) ends[k] = max(item_values[k]) print starts, ends ### Feedback appreciated. Regards, BG -- Baishampayan Ghose b.ghose at gmail.com

Re: [BangPypers] Query generation engine/library

2010-03-09 Thread Baishampayan Ghose
, 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
, 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://mail.python.org

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 mailing list

Re: [BangPypers] Why do indians copy?

2009-10-15 Thread Baishampayan Ghose
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
-- 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
://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
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] Any python metaclasses for UID

2009-07-29 Thread Baishampayan Ghose
/listinfo/bangpypers -- Sent from my mobile device 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
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] CPython's 'bignum' Implementation

2009-05-15 Thread Baishampayan Ghose
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
://docs.djangoproject.com/en/dev/topics/db/queries/#lookups-that-span-relationships 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