Path: csiph.com!optima2.xanadu-bbs.net!xanadu-bbs.net!feeder.erje.net!1.eu.feeder.erje.net!newsfeed.xs4all.nl!newsfeed8.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.003 X-Spam-Evidence: '*H*': 0.99; '*S*': 0.00; 'subject:Python': 0.05; 'binary': 0.05; 'socket': 0.07; 'subject:question': 0.08; 'received:80.91': 0.09; 'received:80.91.229': 0.09; 'received:gmane.org': 0.09; 'received:list': 0.09; 'python': 0.11; 'jan': 0.11; 'file,': 0.15; 'received:80.91.229.3': 0.16; 'received:plane.gmane.org': 0.16; 'reedy': 0.16; 'wrote:': 0.16; 'text,': 0.22; 'am,': 0.23; 'specified': 0.23; 'file.': 0.24; 'header:In-Reply-To:1': 0.24; 'header:User-Agent:1': 0.26; 'question': 0.26; 'header:X-Complaints-To:1': 0.26; 'connected': 0.27; 'plain': 0.27; 'otherwise.': 0.27; 'terry': 0.29; '(which': 0.29; 'code': 0.31; 'posting': 0.32; 'rule': 0.33; 'file': 0.34; 'lists': 0.34; 'to:addr:python-list': 0.35; 'text': 0.36; 'list,': 0.36; 'so,': 0.37; 'two': 0.37; 'subject:: ': 0.37; 'list.': 0.37; 'received:org': 0.38; 'mailing': 0.38; 'method': 0.39; 'to:addr:python.org': 0.39; 'video': 0.61; 'other.': 0.64; 'readers': 0.66; 'transfer': 0.73; 'symptoms': 0.84; 'transmitting': 0.84; 'received:fios.verizon.net': 0.91 X-Injected-Via-Gmane: http://gmane.org/ To: python-list@python.org From: Terry Reedy Subject: Re: Python realted to question Date: Thu, 25 Jun 2015 12:59:13 -0400 References: <20150625154916.HM.a000000000EuLTj@skyjjogari.wwl1526.hanmail.net> Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8; format=flowed Content-Transfer-Encoding: quoted-printable X-Gmane-NNTP-Posting-Host: pool-98-114-97-173.phlapa.fios.verizon.net User-Agent: Mozilla/5.0 (Windows NT 6.1; WOW64; rv:38.0) Gecko/20100101 Thunderbird/38.0.1 In-Reply-To: <20150625154916.HM.a000000000EuLTj@skyjjogari.wwl1526.hanmail.net> X-BeenThere: python-list@python.org X-Mailman-Version: 2.1.20+ 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: 26 NNTP-Posting-Host: 2001:888:2000:d::a6 X-Trace: 1435251570 news.xs4all.nl 2939 [2001:888:2000:d::a6]:37565 X-Complaints-To: abuse@xs4all.nl Xref: csiph.com comp.lang.python:93153 On 6/25/2015 2:49 AM, =EB=AC=B8=EA=B1=B4=ED=9D=AC wrote: > Two raspberryPi2 Model B was connected to a socket to communicate with > each other. > I want to send the video by using the communication. > Method of transmitting a text file is known. However, the video file is= > not sent. What are the symptoms of 'not sent'? What Python code are you using? > So, Please tell me how to transfer a video file... If you are using Python (2 or 3?), you will have to read and send the=20 file as a binary file, not a text file. You might want to send this question to an RPi-specific mailing list. When posting to a mailing list, send plain text, not html with 'remote=20 content' (which good readers will block). This rule is true for all=20 English-language mailing lists unless specified otherwise. --=20 Terry Jan Reedy