.
___
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
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
://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
.. 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
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
--
Baishampayan Ghose
b.ghose at gmail.com
___
BangPypers mailing list
BangPypers@python.org
http://mail.python.org/mailman/listinfo/bangpypers
, 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
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
.
Regards,
BG
--
Baishampayan Ghose
b.ghose at gmail.com
___
BangPypers mailing list
BangPypers@python.org
http://mail.python.org/mailman/listinfo/bangpypers
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
.
Regards,
BG
--
Baishampayan Ghose
b.ghose at gmail.com
___
BangPypers mailing list
BangPypers@python.org
http://mail.python.org/mailman/listinfo/bangpypers
.
Done.
Awesome!
Regards,
BG
--
Baishampayan Ghose
b.ghose at gmail.com
___
BangPypers mailing list
BangPypers@python.org
http://mail.python.org/mailman/listinfo/bangpypers
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
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
/bangpypers
--
Baishampayan Ghose
b.ghose at gmail.com
___
BangPypers mailing list
BangPypers@python.org
http://mail.python.org/mailman/listinfo/bangpypers
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
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
.
+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
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
.
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
--
Baishampayan Ghose
b.ghose at gmail.com
___
BangPypers mailing list
BangPypers@python.org
http://mail.python.org/mailman/listinfo/bangpypers
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
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
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
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
` 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
# 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
] 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
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
, 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
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
])
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
--
Baishampayan Ghose
b.ghose at gmail.com
___
BangPypers mailing list
BangPypers@python.org
http://mail.python.org/mailman/listinfo/bangpypers
.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
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
,
BG
--
Baishampayan Ghose
b.ghose at gmail.com
___
BangPypers mailing list
BangPypers@python.org
http://mail.python.org/mailman/listinfo/bangpypers
. 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
. 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
(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
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
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
. 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
-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
.
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
/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
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
=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
= {}
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
,
BG
--
Baishampayan Ghose
b.ghose at gmail.com
___
BangPypers mailing list
BangPypers@python.org
http://mail.python.org/mailman/listinfo/bangpypers
, 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
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
forgets :)
Regards,
BG
--
Baishampayan Ghose
b.ghose at gmail.com
___
BangPypers mailing list
BangPypers@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
://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
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
/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
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
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
://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
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
60 matches
Mail list logo