Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > comp.lang.python > #93153

Re: Python realted to question

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 <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.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 <tjreedy@udel.edu>
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 <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.72.1435251570.3674.python-list@python.org> (permalink)
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

Show key headers only | View raw


On 6/25/2015 2:49 AM, 문건희 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 
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 
content' (which good readers will block).  This rule is true for all 
English-language mailing lists unless specified otherwise.

-- 
Terry Jan Reedy

Back to comp.lang.python | Previous | Next | Find similar | Unroll thread


Thread

Re: Python realted to question Terry Reedy <tjreedy@udel.edu> - 2015-06-25 12:59 -0400

csiph-web