Micropython odd exceptions behaviour

General discussions and questions abound development of code with MicroPython that is not hardware specific.
Target audience: MicroPython Users.
Posts: 32
Joined: Fri Aug 22, 2014 5:42 pm

Micropython odd exceptions behaviour

Postby riklaunim » Fri Jul 14, 2017 11:03 am

I tried to run the "play wav file" example from http://docs.micropython.org/en/latest/p ... _skin.html - but it didn't worked. Exception was that wave.open did not exist - while the function is in that file. After some debugging I used

from wave import *

To find that "_collections" doesn't exist and "collections" should be used instead. Why import error did not propagate?

Return to “General Discussion and Questions”

Who is online

Users browsing this forum: No registered users and 0 guests