Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > comp.lang.python > #75938
| Path | csiph.com!v102.xanadu-bbs.net!xanadu-bbs.net!feeder.erje.net!eu.feeder.erje.net!newsfeed.xs4all.nl!newsfeed2.news.xs4all.nl!xs4all!newsgate.cistron.nl!newsgate.news.xs4all.nl!post.news.xs4all.nl!not-for-mail |
|---|---|
| Return-Path | <elearn2014@gmail.com> |
| X-Original-To | python-list@python.org |
| Delivered-To | python-list@mail.python.org |
| X-Spam-Status | UNSURE 0.249 |
| X-Spam-Level | ** |
| X-Spam-Evidence | '*H*': 0.57; '*S*': 0.07; 'matched': 0.09; 'true)': 0.09; 'win7': 0.16; 'import': 0.22; 'header:User-Agent:1': 0.23; 'function': 0.29; 'skip:p 30': 0.29; 'mac': 0.33; 'skip:b 30': 0.33; 'received:google.com': 0.35; 'add': 0.35; 'there': 0.35; 'false': 0.36; 'list': 0.37; 'received:10': 0.37; 'message- id:@gmail.com': 0.38; 'to:addr:python-list': 0.38; 'to:addr:python.org': 0.39; 'skip:n 10': 0.64; 'discover': 0.82; 'seated': 0.84; 'strings)': 0.84; 'subject:system': 0.84; 'bluetooth': 0.91 |
| DKIM-Signature | v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=message-id:date:from:user-agent:mime-version:to:subject :content-type:content-transfer-encoding; bh=VX15tbMa2t3Ag3260Si0NCoh1H4habIvCeamYfRqyU4=; b=Ifcqm+sXridB3NoA4tJRGVV2F3xqyHsSeODnWdFm/A9EzUJ4kYDU0nsXKwTv3iFQ1Y mcgvhS3iXIPHox7eb3akn0MFs7m8+/By7ermoryZDOzC9Mmq8xg+ENlIBS+KlCotowR0 3WhRkK4fGEJkXxATa12mdzX9quHh5NDLeBA6iEfy0yIXlcryQu2iPGgyOKrCxkA+ZvLW 8bPBOY0Ys/Ft3XdH6h1xJ4bAoUw0BlhChwajO6paj2Mm6JKg8n1ntS5O4f5pBadB3wkJ 3vPVlC9eGniszTTjFqa9m9h/Yw2+hLSFmm3ep+EAe5ThjNtd64hEOE/naYkJiWqRn5i2 6WEw== |
| X-Received | by 10.70.34.104 with SMTP id y8mr28192318pdi.7.1407564121931; Fri, 08 Aug 2014 23:02:01 -0700 (PDT) |
| Date | Sat, 09 Aug 2014 14:01:53 -0700 |
| From | luofeiyu <elearn2014@gmail.com> |
| User-Agent | Mozilla/5.0 (Windows NT 6.1; WOW64; rv:31.0) Gecko/20100101 Thunderbird/31.0 |
| MIME-Version | 1.0 |
| To | python-list@python.org |
| Subject | attendance system in pybluez |
| Content-Type | text/plain; charset=utf-8; format=flowed |
| Content-Transfer-Encoding | 7bit |
| X-Mailman-Approved-At | Sat, 09 Aug 2014 13:37:32 +0200 |
| X-BeenThere | python-list@python.org |
| X-Mailman-Version | 2.1.15 |
| Precedence | list |
| List-Id | General discussion list for the Python programming language <python-list.python.org> |
| List-Unsubscribe | <https://mail.python.org/mailman/options/python-list>, <mailto:python-list-request@python.org?subject=unsubscribe> |
| List-Archive | <http://mail.python.org/pipermail/python-list/> |
| List-Post | <mailto:python-list@python.org> |
| List-Help | <mailto:python-list-request@python.org?subject=help> |
| List-Subscribe | <https://mail.python.org/mailman/listinfo/python-list>, <mailto:python-list-request@python.org?subject=subscribe> |
| Newsgroups | comp.lang.python |
| Message-ID | <mailman.12789.1407584254.18130.python-list@python.org> (permalink) |
| Lines | 25 |
| NNTP-Posting-Host | 2001:888:2000:d::a6 |
| X-Trace | 1407584254 news.xs4all.nl 2945 [2001:888:2000:d::a6]:39840 |
| X-Complaints-To | abuse@xs4all.nl |
| Xref | csiph.com comp.lang.python:75938 |
Show key headers only | View raw
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