Path: csiph.com!v102.xanadu-bbs.net!xanadu-bbs.net!feeder.erje.net!eu.feeder.erje.net!newsfeed.xs4all.nl!newsfeed3.news.xs4all.nl!xs4all!newsgate.cistron.nl!newsgate.news.xs4all.nl!post.news.xs4all.nl!not-for-mail Return-Path: X-Original-To: python-list@python.org Delivered-To: python-list@mail.python.org X-Spam-Status: OK 0.152 X-Spam-Level: * X-Spam-Evidence: '*H*': 0.71; '*S*': 0.01; 'subject:file': 0.07; 'subject:into': 0.09; 'true)': 0.09; 'addr,': 0.16; 'input': 0.22; 'import': 0.22; 'header:User-Agent:1': 0.23; 'file': 0.32; 'mac': 0.33; 'skip:b 30': 0.33; 'received:google.com': 0.35; 'there': 0.35; 'disk': 0.36; 'subject:?': 0.36; 'two': 0.37; 'received:10': 0.37; 'message-id:@gmail.com': 0.38; 'to:addr:python-list': 0.38; 'to:addr:python.org': 0.39; 'how': 0.40; 'subject: ': 0.61; 'address': 0.63; 'skip:6 10': 0.63; 'skip:n 10': 0.64; 'phone': 0.66; 'bluetooth': 0.91; 'subject:phone': 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=219fHub+59LFFKvjTDyb5Lnk3Mre7kGMgN6v/L1HhAM=; b=xD31T/nnG6s2t1C8cjGOK+v7dfXKW5AXBgi5yZXLmnbJHvWvZsQvgHPFjtw7VBh9Nz 5YLaHEhhY6flCU9XnYBZWLQ8K7o5lLCmBsz1srtrrgatGCpxfZjiAy/MmgO2/eGSPJgn jyJUBDQk7QmHrQbupAn/0aMTzrOijT5wPm5LtA/7yQ/QM84+1LV4ttf/3ZnlbHTkCLn+ 2X1uyG5fF9utcmfwR5vKF2xuHHTJjJmiSkKB0JL5weypFNyi9m98WTCq30+mq1Ma/Xny j7+S+XZMLIJbH1S6KFtXnyN9SXCcjEvTWKCdZ+gxCsbEQooB1vCq6+gYd4mK55hSEn9A DXkg== X-Received: by 10.67.3.234 with SMTP id bz10mr2479547pad.111.1407552985312; Fri, 08 Aug 2014 19:56:25 -0700 (PDT) Date: Sat, 09 Aug 2014 10:56:15 -0700 From: luofeiyu 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: how to write file into my android phone? Content-Type: text/plain; charset=utf-8; format=flowed Content-Transfer-Encoding: 7bit X-BeenThere: python-list@python.org X-Mailman-Version: 2.1.15 Precedence: list List-Id: General discussion list for the Python programming language List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Newsgroups: comp.lang.python Message-ID: Lines: 16 NNTP-Posting-Host: 2001:888:2000:d::a6 X-Trace: 1407552994 news.xs4all.nl 2837 [2001:888:2000:d::a6]:40140 X-Complaints-To: abuse@xs4all.nl Xref: csiph.com comp.lang.python:75929 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 )?