Hi Nikolay, thank you very much for your your answer. I did try my code in usual Python interpreter and it's perfectly working.
At this point I'm brought to think it's a Spyder related problem... -- You received this message because you are subscribed to the Google Groups "spyder" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. To post to this group, send email to [email protected]. Visit this group at https://groups.google.com/group/spyderlib. For more options, visit https://groups.google.com/d/optout.
