|
From: Giuseppe T. <tr...@gm...> - 2021-05-17 08:19:56
|
Hi Zenea, that's not an error, that's the actual output of print(coupon) I'll be honest: the python bindings of quantlib are the worst way to learn python. That's because quantlib is written in c++ following c++ standards so, unless you are actually a bit proficient in C++, you are going to see a lot of weird messages and outcomes that you would have never seen in python in the first place. Beside that, such bindings, being (for the greatest part) automatically generated, they lack of the typical docstring documentation that guides python developers in recognizing the type and the order of the parameters of the functions especially when working in repl-style environments like jupyter. Make up for a solid foundation of "standard" python and then go for quantlib. Do not be discouraged by my message, my purpose is actually the opposite: to avoid a lot of unnecessary pain =). Il giorno lun 17 mag 2021 alle ore 09:09 Zenea Bathla < bat...@gm...> ha scritto: > Hello, > > I'm new to learning Python and QuantLib. While executing one code, I'm > getting an error. Can you please guide: > [image: image.png] > _______________________________________________ > QuantLib-users mailing list > Qua...@li... > https://lists.sourceforge.net/lists/listinfo/quantlib-users > -- *Giuseppe Trapani* |