Hi Anton,
On 30/06/2021 14.58, Anton Ottosson wrote:
>> First you need to import square2_ff from howto similar to line 13 and then you can use square2_ff directly without howto infront.
>
>
> It shouldn't matter whether I use `howto.square2_ff()` or import and then use `square2_ff()`. Both should work in python.
No, this does not work as you are not importing the `howto` module. Currently you are importing only `squre_ff` and `square2_ff` from the `howto` so the `howto` itself is not defined. In order to make it work you need to add
import howto
> 1: ValueError: Unable to coerce endpoints: 'howto.howto_python.square2_ff' object is not subscriptable
I can't help you with this, I'm seeing it for the first time.
Regards,
Vasil
No comments:
Post a Comment