Re: [BangPypers] Command line goodies

2009-03-25 Thread Amit Saha
On Wed, Mar 25, 2009 at 5:19 PM, Noufal Ibrahim nou...@gmail.com wrote: I found this via. hacker news. http://commandlinefu.com/ It's a repository of command line tricks. I found a python one python -m SimpleHTTPServer which serves the current directory on port 8000 AH. I found it to be

Re: [BangPypers] looking for an opportunity to take up Volunteer work in Python

2009-04-19 Thread Amit Saha
On Sun, Apr 19, 2009 at 9:54 PM, bijoy bijoy.fra...@gmail.com wrote: Hi, I am a Ameature python Programmer, with knowledge in postgresql(RDBMS), CGI Scripting, HTML I would like to take up a volunteer work in python. Pls let me know if there is any opportunity. How about the N number of

[BangPypers] CPython's 'bignum' Implementation

2009-05-15 Thread Amit Saha
Hello all, So, from my SO question: http://stackoverflow.com/questions/867393/how-do-languages-such-as-python-overcome-cs-integral-data-limits , I learn that Python has 'bignum' for supporting Arbitrary Precision arithmetic. Now, how does CPython implement bignum? From what I gather, there is

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

2009-05-18 Thread Amit Saha
was already answered before you by a couple of other folks!, So, you will have to be content with my Up vote for now :) Best, Amit Regards, BG On 5/18/09, Amit Saha amitsaha...@gmail.com wrote: Hello Baishampayan, On Sat, May 16, 2009 at 1:13 AM, Baishampayan Ghose b.gh...@gmail.com wrote

[BangPypers] Performance benefits of Generators?

2009-06-30 Thread Amit Saha
Hello, Theoretically and/or practically, is it possible to reason about the performance gain/loss of using generators? The PEP 255 (http://www.python.org/dev/peps/pep-0255/) doesn't seem to hint at it. Anything that any of you would like to share on this ? Best, Amit -- Journal:

Re: [BangPypers] Performance benefits of Generators?

2009-06-30 Thread Amit Saha
On Tue, Jun 30, 2009 at 3:36 PM, Amit Sahaamitsaha...@gmail.com wrote: Hello, Theoretically and/or practically, is it possible to reason about the performance gain/loss of using generators?  The PEP 255 (http://www.python.org/dev/peps/pep-0255/) doesn't seem to hint at it. Anything that any

Re: [BangPypers] Performance benefits of Generators?

2009-07-03 Thread Amit Saha
On Tue, Jun 30, 2009 at 3:47 PM, Shekharpytho...@gmail.com wrote: Amit Saha wrote: Hello, Theoretically and/or practically, is it possible to reason about the performance gain/loss of using generators?  The PEP 255 (http://www.python.org/dev/peps/pep-0255/) doesn't seem to hint

Re: [BangPypers] Performance benefits of Generators?

2009-07-03 Thread Amit Saha
On Sat, Jul 4, 2009 at 9:24 AM, Navin Kabranavin.ka...@gmail.com wrote: OTOH, Decorators , lambdas ('syntactic sugars') et al reduce the number of lines of code, depending on the scenario, for a given piece of complex logic, but these are 'slow'. But, I dont think the factor is huge enough to

Re: [BangPypers] Performance benefits of Generators?

2009-07-04 Thread Amit Saha
Hello Navin, On Sat, Jul 4, 2009 at 9:40 AM, Navin Kabranavin.ka...@gmail.com wrote: No not yet. I am not building a application where every mu-sec matters. I appreciate the link and comments though. Will be helpful some day in the future. I hope I did not sound too terse. I *really* do

Re: [BangPypers] Implementing a fast factorial function in python

2009-09-14 Thread Amit Saha
Shashwat Anand wrote: How do we calculate last 5-digits of 10**12 ignoring trailing zeros. The code i wrote works good until 10**8 and after that take ages. The source of problem is Project Euler : http://projecteuler.net/index.php?section=problemsid=160 You might consider using the Stirling's

Re: [BangPypers] Python at Schools

2009-09-30 Thread Amit Saha
Yuvi Panda wrote: Anna University starts with C, then jumps to Bash (?!!?!) and then jumps back to C and C++. I've no idea where it is going (I'm in my third sem, and we're with a new curriculum), but I've seen glimpses of Flash(?!). 99% of my friends gave up on programming a month into the

Re: [BangPypers] Python at Schools

2009-09-30 Thread Amit Saha
Srijayanth Sridhar wrote: Not sure how many people here were taught Logo as their first language. I was, and most people regard it as a toy language because most teachers focus exclusively on the graphical aspects of the language. However, few know that Logo was inspired by Lisp and can handle

Re: [BangPypers] Python at Schools

2009-10-01 Thread Amit Saha
Srijayanth Sridhar wrote: Not sure how many people here were taught Logo as their first language. I was, and most people regard it as a toy language because most teachers focus exclusively on the graphical aspects of the language. However, few know that Logo was inspired by Lisp and can handle

Re: [BangPypers] Perl or Python ?

2009-10-13 Thread Amit Saha
Noufal Ibrahim wrote: On Tue, Oct 13, 2009 at 7:56 PM, Yuvi Panda yuvipa...@gmail.com wrote: Is power in any way related to job opportunities? And do power (and job opportunities) have anything to do with choosing which one to learn?[..] With great power, comes great opportunities. Or did I

Re: [BangPypers] Suggest me a book

2009-10-15 Thread Amit Saha
Zaki Manian wrote: Where do people buy programming books in Bangalore? I've got an International Kindle coming and I have an O'reilly Safari account so those are my main work around. You could consider Crossword near M.G.Road or Landmark at Kormangla Forum mall as a repo of all kinds of

Re: [BangPypers] Plzzz help me!!!!!!!!!

2010-01-17 Thread Amit Saha
Smrutilekha Swain wrote: hi...this is my code...but...it is not working...in this programme i want the pdf will be copied from source to destination after it is generated ## import os import shutil src = os.getcwd() dest =

Re: [BangPypers] Contribution to Opensource

2010-01-18 Thread Amit Saha
Hi Nikunj: nikunj badjatya wrote: Hi, I recently joined this mailing list so as to improve my knowledge on Python. Its been 4 months I am using Python. So I decided to contribute to any Open source project. Can you help me on how to proceed on this, Whom to contact etc. The project you

Re: [BangPypers] [OT] Tools for writing books and publishing as pdfs

2010-03-10 Thread Amit Saha
Hello Jins Thomas: Jins Thomas wrote: Hi all, This is an off-topic. Would somebody please pass some suggestions on how we can write some e-book, technical in nature. I'm planning to write one book on telecom network domain . My main motive is to learn some more solid things while writing this