Ich suchte nach lib für Bluetooth-Programmierung in Python und ich fand PyBluz
, aber es ist nicht kompatibel mit Python 3. So gibt es noch andere kostenlose Bibliothek für Bluetooth-Programmierung kompatibel mit Python 3?Bluetooth lib für Python 3
7
A
Antwort
14
PyBluez unterstützt jetzt Python 3.
Wie die anderen Antworten Zustand gibt für Bluetooth in Python sockets (Python 3.3 und höher) eingebaute Unterstützung ist. Es gibt jedoch wenig oder gar keine Dokumentation darüber, wie man die Sockets mit Bluetooth tatsächlich benutzt. Ich schrieb eine brief tutorial, so dass ich darauf zurückkommen könnte, sobald ich es vergesse. Vielleicht finden Sie es nützlich.
5
Auf Python 3.3 gibt es native Unterstützung !! Sie können Bluetooth wie ein Socket-Objekt verwenden
1
Sie auch die Socket-Klasse in Python 3.3 verwenden können mit Bluetooth zu kommunizieren.
Here is a link to the documentation page
2
pybluez jetzt Python portiert 3: http://code.google.com/p/pybluez/downloads/list
br,
Verwandte Themen
- 1. RPC lib für Python
- 2. Bluetooth für Python 2.7?
- 3. Wie installiert man Pandas für Python 3?
- 4. Bluetooth api für Oberfläche pro 3 Windows 8.1
- 5. Python bluetooth Entdeckung mit pybluez
- 6. Python 2.7 oder Python 3 (für Geschwindigkeit)?
- 7. Bluetooth-Server mit Python 3.3
- 8. Python 3: Generator für Karte
- 9. Python 3 Ersatz für PyFile_AsFile
- 10. SOAP-Client für Python 3
- 11. Kein IDLE für Python 3?
- 12. Python Bluetooth-Fehler - Kein Modul namens _bluetooth
- 13. Installieren von PyQt4 für Python 3 mac
- 14. Python docx Lib Zentriert Bild
- 15. Python 3 + Statistikmodelle?
- 16. SCORM lib für php
- 17. Bluetooth-Profile für Tablets
- 18. Bluetooth-Protokollnamen für UISupportedExternalAccessoryProtocols
- 19. Python - Virtualenv, Python 3?
- 20. matplotlib Installationsproblem Python 3
- 21. Suchen Sie zum Beispiel oder Dokumentation für Wikidump Python Lib
- 22. Kennt jemand eine asynchrone MySQL-Lib für Python?
- 23. Python-Kommunikation zu Arduino über Bluetooth
- 24. Django Python nicht 3 Installation
- 25. Python bluetooth gibt nichts zurück (Raspberry PI)
- 26. android bluetooth serversocket mit python-bluez client
- 27. Bluetooth Low Energy Beacons Entfernung mit Python
- 28. Matplotlib für Python 3 und Linux
- 29. Wie konfiguriere ich spacemacs für Python 3?
- 30. Theano Installation für Windows, Python 3, 64bit
Ach, die "AF_BLUETOOTH" Option erscheint nicht auf Windows verfügbar zu sein. Sehr enttäuschend. Mein Team hat PyBluez ausgiebig benutzt und es funktioniert gut, wenn Sie ein kompatibles Setup haben. Der Mangel an Wartung ist enttäuschend, aber es ist besser als das eigene zu rollen. –