Simplify driver import statement
jmsv opened this issue · comments
James Vickery commented
At the moment, to import the l293d driver module, import l293d.driver
, or import l293d.driver as l293d
is used.
By putting from driver import *
in the l293d
folder's __init__.py
file, the import statement: import l293d
can be used with the same effect as before. This import statement makes more sense, as the current method has proven to be counter-intuitive (see #57, for example)
Note: I'm not sure whether or not this is good practise - if anyone knows of a better solution, please suggest something
James Vickery commented
Closed in commit 1aa4628