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


Groups > comp.lang.python > #91215

Re: Why dropbox.client.DropboxClient.put_file needs file_obj as a parameter?

Path csiph.com!v102.xanadu-bbs.net!xanadu-bbs.net!feeder.erje.net!1.eu.feeder.erje.net!ecngs!feeder2.ecngs.de!feeds.phibee-telecom.net!newsfeed.xs4all.nl!newsfeed4.news.xs4all.nl!xs4all!newsgate.cistron.nl!newsgate.news.xs4all.nl!post.news.xs4all.nl!not-for-mail
Return-Path <zljubisicmob@gmail.com>
X-Original-To python-list@python.org
Delivered-To python-list@mail.python.org
X-Spam-Status OK 0.034
X-Spam-Evidence '*H*': 0.93; '*S*': 0.00; 'subject:Why': 0.09; 'cc:addr:python-list': 0.10; 'locally,': 0.16; 'wrote:': 0.16; 'skip': 0.18; 'email addr:gmail.com&gt;': 0.20; 'cc:2**0': 0.21; 'cc:addr:python.org': 0.21; '2015': 0.23; 'header:In-Reply-To:1': 0.24; 'right.': 0.27; 'message-id:@mail.gmail.com': 0.28; 'looks': 0.29; 'subject:?': 0.34; 'received:google.com': 0.34; 'thanks': 0.36; 'subject:: ': 0.37; 'pm,': 0.39; 'regards.': 0.67; 'subject:needs': 0.93
DKIM-Signature v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :cc:content-type; bh=wIGh/k/ysxsAWOzkbkPXES3fA4X8W67vg3qADsy0cH4=; b=0Sy8crS1IuvEho4OWZKnGA20EjANnDwBffCM8uM5QzM6xTuaiWsFT+yn2R83nRadbu rtnS9ifpjO+B0kWu3Wdfz1jA8MnnB3XfelJ1q5iDNqzjqFIRvnRz2FpkPCCzR3dQXNwY xUsIV+BQcUVqgxeV5dUsltfzUp8jQZ0Ephmwu6dOxpBGlt5KmJPiP9OoCYaZxWZ70jZp H+Xxl0KH/OFOdI3sQcfmgfb+7mxHtnC9lsFDiNRh4e2Ea1GCaAdRXfKFlUKS8Di0/WYo 9V9Q4uX96vpZJv5s8fObGWzfpsm/IjEpAMdamtYcUbmIC9da2P/urzUDYM2AEFT+KsCk GhBw==
MIME-Version 1.0
X-Received by 10.152.6.69 with SMTP id y5mr19387555lay.72.1432589182596; Mon, 25 May 2015 14:26:22 -0700 (PDT)
In-Reply-To <CANc-5UxzO82PkdyaM-k-Z_i9=e1dW4+Vm2yt-A7PmsWQ8kHWqQ@mail.gmail.com>
References <93ce55bf-3b0d-42ce-b514-2326f45ca2bb@googlegroups.com> <CANc-5UxzO82PkdyaM-k-Z_i9=e1dW4+Vm2yt-A7PmsWQ8kHWqQ@mail.gmail.com>
Date Mon, 25 May 2015 23:26:22 +0200
Subject Re: Why dropbox.client.DropboxClient.put_file needs file_obj as a parameter?
From "Zoran Ljubisic (mob)" <zljubisicmob@gmail.com>
To Skip Montanaro <skip.montanaro@gmail.com>
Cc Python <python-list@python.org>
Content-Type multipart/alternative; boundary=089e01494334567d2c0516eea970
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.43.1432589184.5151.python-list@python.org> (permalink)
Lines 32
NNTP-Posting-Host 2001:888:2000:d::a6
X-Trace 1432589184 news.xs4all.nl 2856 [2001:888:2000:d::a6]:58083
X-Complaints-To abuse@xs4all.nl
Xref csiph.com comp.lang.python:91215

Show key headers only | View raw


[Multipart message — attachments visible in raw view] - view raw

Looks like you are right.
Thanks for clarification.

Regards.
On May 25, 2015 10:02 PM, "Skip Montanaro" <skip.montanaro@gmail.com> wrote:

> Looks like the file_obj is what you are reading locally, and
> magnum_opus.txt is the destination name on Dropbox.
>
> Skip
>

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


Thread

Why dropbox.client.DropboxClient.put_file needs file_obj as a parameter? zljubisicmob@gmail.com - 2015-05-25 12:10 -0700
  Re: Why dropbox.client.DropboxClient.put_file needs file_obj as a parameter? Skip Montanaro <skip.montanaro@gmail.com> - 2015-05-25 15:02 -0500
  Re: Why dropbox.client.DropboxClient.put_file needs file_obj as a parameter? "Zoran Ljubisic (mob)" <zljubisicmob@gmail.com> - 2015-05-25 23:26 +0200

csiph-web