Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > comp.lang.python > #75957
| Path | csiph.com!v102.xanadu-bbs.net!xanadu-bbs.net!feeder.erje.net!eu.feeder.erje.net!newsfeed.xs4all.nl!newsfeed2a.news.xs4all.nl!xs4all!newsgate.cistron.nl!newsgate.news.xs4all.nl!post.news.xs4all.nl!not-for-mail |
|---|---|
| Return-Path | <python-python-list@m.gmane.org> |
| X-Original-To | python-list@python.org |
| Delivered-To | python-list@mail.python.org |
| X-Spam-Status | OK 0.010 |
| X-Spam-Evidence | '*H*': 0.98; '*S*': 0.00; 'subject:file': 0.07; 'mixed': 0.09; 'received:80.91': 0.09; 'received:80.91.229': 0.09; 'received:gmane.org': 0.09; 'received:list': 0.09; 'subject:into': 0.09; 'true)': 0.09; 'wrote': 0.14; 'addr,': 0.16; 'open()': 0.16; 'received:80.91.229.3': 0.16; 'received:97': 0.16; 'received:plane.gmane.org': 0.16; 'sat,': 0.16; 'all.': 0.16; 'wrote:': 0.18; 'file,': 0.19; 'input': 0.22; 'example': 0.22; 'import': 0.22; 'aug': 0.22; 'visible': 0.24; 'somewhere': 0.26; 'header:X-Complaints-To:1': 0.27; 'function': 0.29; 'chris': 0.29; 'url:mailman': 0.30; 'file': 0.32; 'regular': 0.32; 'open': 0.33; 'url:python': 0.33; 'mac': 0.33; 'skip:b 30': 0.33; 'there': 0.35; 'disk': 0.36; 'url:listinfo': 0.36; 'subject:?': 0.36; 'url:org': 0.36; 'two': 0.37; 'to:addr:python-list': 0.38; 'pm,': 0.38; 'to:addr:python.org': 0.39; 'received:org': 0.40; 'url:mail': 0.40; 'how': 0.40; 'address': 0.63; 'skip:6 10': 0.63; 'skip:n 10': 0.64; 'different': 0.65; 'skip:\xe2 10': 0.65; 'phone': 0.66; '8bit%:43': 0.74; 'drive.': 0.84; 'samsung': 0.84; 'bluetooth': 0.91; 'subject:phone': 0.91 |
| X-Injected-Via-Gmane | http://gmane.org/ |
| To | python-list@python.org |
| From | Dave Angel <davea@davea.name> |
| Subject | Re: how to write file into my android phone? |
| Date | Sat, 9 Aug 2014 18:23:08 -0400 (EDT) |
| Organization | news.gmane.org |
| References | <53E660BF.7080401@gmail.com> <CAMw+j7J6_R2pR3PTch3okxqYDs57rOoKHLbssHrq54Q75gGLSw@mail.gmail.com> |
| Mime-Version | 1.0 |
| Content-Type | text/plain; charset=UTF-8 |
| Content-Transfer-Encoding | 8bit |
| X-Gmane-NNTP-Posting-Host | 97.73.240.8 |
| X-Newsreader | PiaoHong.Usenet.Client.VIP:1.56 |
| 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.12801.1407622953.18130.python-list@python.org> (permalink) |
| Lines | 36 |
| NNTP-Posting-Host | 2001:888:2000:d::a6 |
| X-Trace | 1407622953 news.xs4all.nl 2975 [2001:888:2000:d::a6]:44028 |
| X-Complaints-To | abuse@xs4all.nl |
| Xref | csiph.com comp.lang.python:75957 |
Show key headers only | View raw
Chris “Kwpolska” Warrick <kwpolska@gmail.com> Wrote in message: > On Sat, Aug 9, 2014 at 7:56 PM, luofeiyu <elearn2014@gmail.com> wrote: >> When i input usb line with my android phone into the pc , there are two >> disks j: and k: (type :removable disk) displayed in win7. >> >> i can get my android phone bluetooth mac address . >> >> import bluetooth >> nearby_devices = bluetooth.discover_devices(lookup_names = True) >> for addr, phoneName in nearby_devices: >> print(addr) >> >> >> it is 6C:8B:2F:CE:5B:59 >> >> Now how can i write a file into the disk j: of my android phone(bluetooth >> mac is 6C:8B:2F:CE:5B:59 )? >> >> -- >> https://mail.python.org/mailman/listinfo/python-list > > You mixed up two very different interfaces. Bluetooth and USB are > completely separate. If you want to write a file to the USB drive, > you can just open a file, using the regular open() function (specify a > path somewhere benath J:\): 1) it's not necessarily j: And not necessarily a single drive. 2) the phone isn't necessarily visible on a pc as a drive at all. For example the Samsung gs4. > -- DaveA
Back to comp.lang.python | Previous | Next | Find similar | Unroll thread
Re: how to write file into my android phone? Dave Angel <davea@davea.name> - 2014-08-09 18:23 -0400
csiph-web