wjasper / Linux_Drivers

Open source Linux device drivers
GNU General Public License v3.0
110 stars 64 forks source link

Python namespace-isation #49

Open zougloub opened 4 weeks ago

zougloub commented 4 weeks ago

This relates to #5 ; small modifications to the python code would be interesting to make the code more usable and "zen":

Before:

sys.path.append(some_path) # weird installation

import usb_something

After:

from wjasper.Linux_Drivers.USB.usb_something import usb_Something

I did see a fork that attempted to do something for the bluetooth drivers.