Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > comp.lang.python > #75938
| Date | 2014-08-09 14:01 -0700 |
|---|---|
| From | luofeiyu <elearn2014@gmail.com> |
| Subject | attendance system in pybluez |
| Newsgroups | comp.lang.python |
| Message-ID | <mailman.12789.1407584254.18130.python-list@python.org> (permalink) |
I want to write a program to help my teacher to take attendence.
There are 300 students in a big room,everyone has android phone.
I have matched them with my pc in win7 .
when all of them seated on the classroom,
import bluetooth
nearby_devices = bluetooth.discover_devices(lookup_names = True)
print("found %d devices" % len(nearby_devices))
The function can discover all of them ? 300 bluetooth mac address?
can i search for a given bluetooth mac?
blue_mac=[] (i can write it in a list in advance,it is not blank,full
of strings)
for add in blue_mac:
print(bluetooth.seacrh_given_mac) #result is true or false
Is there a function to run?
Back to comp.lang.python | Previous | Next — Next in thread | Find similar | Unroll thread
attendance system in pybluez luofeiyu <elearn2014@gmail.com> - 2014-08-09 14:01 -0700
Re: attendance system in pybluez Steven D'Aprano <steve+comp.lang.python@pearwood.info> - 2014-08-09 21:53 +1000
Re: attendance system in pybluez luofeiyu <elearn2014@gmail.com> - 2014-08-09 20:07 -0700
Re: attendance system in pybluez Michael Torrie <torriem@gmail.com> - 2014-08-11 08:02 -0600
csiph-web