>>> from nxt import locator >>> s = locator.find_one_brick() >>> c = s.connect() >>> c.play_tone(440, 500) >>> s.close()The find_one_brick command will probably tell you that USB is unavailable and may produce a deprecation warning, but these can be safely ignored.