Re: [Tutor] Python Variable Addition

2012-04-30 Thread Kapil Shukla कपिल शुक्‍ला
Viral You should be doing this Addition of two numbers is + str(x+y) + operator works on same datatypes and int being one of the built in objects in python does not have a method z U shld use str() or int() to do type conversion -Kapil कपिल शुक्‍ला -Original Message- From: viral

[Tutor] Pyhton editor

2012-02-17 Thread Kapil Shukla
All Couple of weeks ago I was looking for a nice free IDE for python and got many wonderful suggestion form very helpful people. However I stumbled upon PyScripter and I find it really amazing. I feel once u try it you will hook on to it for ever Thanks Best Regards Kapil

[Tutor] decimal precision in python

2012-02-06 Thread Kapil Shukla
i tried writing a small code to calculate option price using the binomial tree model. I compared my results with results of the same program in excel. There seems to be a minor difference due to decimal precision as excel is using 15 decimal precision and python (both 2.7 and 3.1) using 11. (at