Fix "How to use" snippet

#3

The current "How To Use Snippet" cannot be copy-pasted and executed because of two minor problems:

L31: Trailing comma on the import that causes an error in python.
device is undefined

Thanks!

nielsr changed pull request status to merged

Sign up or log in to comment