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


Groups > comp.lang.python > #80944

Re: Error when trying to open an image

Path csiph.com!v102.xanadu-bbs.net!xanadu-bbs.net!feeder.erje.net!eu.feeder.erje.net!feeds.phibee-telecom.net!newsfeed.xs4all.nl!newsfeed1.news.xs4all.nl!xs4all!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.004
X-Spam-Evidence '*H*': 0.99; '*S*': 0.00; 'context': 0.07; 'responding': 0.07; 'subject:Error': 0.07; 'culture,': 0.09; 'exit': 0.09; 'here?': 0.09; 'received:80.91': 0.09; 'received:80.91.229': 0.09; 'received:gmane.org': 0.09; 'received:list': 0.09; 'subject:trying': 0.09; 'question.': 0.14; 'finney': 0.16; 'open()': 0.16; 'quoted': 0.16; 'received:80.91.229.3': 0.16; 'received:plane.gmane.org': 0.16; 'subject:image': 0.16; 'subject:when': 0.16; 'finished': 0.19; 'example': 0.22; 'header:User-Agent:1': 0.23; 'post': 0.26; 'asking': 0.27; 'header:X-Complaints-To:1': 0.27; 'code': 0.31; 'reply.': 0.31; 'url:wiki': 0.31; 'you?': 0.31; 'url:wikipedia': 0.31; 'writes:': 0.31; 'minimal': 0.33; 'material': 0.36; 'thanks': 0.36; 'url:org': 0.36; 'throughout': 0.37; 'so,': 0.37; 'ben': 0.38; 'to:addr:python-list': 0.38; 'to:addr:python.org': 0.39; 'received:org': 0.40; "you're": 0.61; 'complete': 0.62; 'story': 0.63; 'kind': 0.63; 'here': 0.66; 'confusing': 0.84; 'history,': 0.84; 'legend': 0.84; 'received:125': 0.84; 'recurring': 0.91; 'responses': 0.93
X-Injected-Via-Gmane http://gmane.org/
To python-list@python.org
From Ben Finney <ben+python@benfinney.id.au>
Subject Re: Error when trying to open an image
Date Mon, 17 Nov 2014 12:27:18 +1100
References <CAA+hu4V7V8hW7L79L97Ty6aGbQtb7NEF_iOmLY4CxDzw5suEjA@mail.gmail.com> <m4bc4o$d91$1@ger.gmane.org> <CAA+hu4XgYNZYFBUK2LuvWq642QSU3aY21+D-O9v6w4aiBFJUqg@mail.gmail.com>
Mime-Version 1.0
Content-Type text/plain; charset=utf-8
Content-Transfer-Encoding 8bit
X-Gmane-NNTP-Posting-Host jigong.madmonks.org
X-Public-Key-ID 0xAC128405
X-Public-Key-Fingerprint 517C F14B B2F3 98B0 CB35 4855 B8B2 4C06 AC12 8405
X-Public-Key-URL http://www.benfinney.id.au/contact/bfinney-pubkey.asc
X-Post-From Ben Finney <bignose+hates-spam@benfinney.id.au>
User-Agent Gnus/5.13 (Gnus v5.13) Emacs/24.4 (gnu/linux)
Cancel-Lock sha1:vNqdRsXMBUcvWyw/x4A39jbsdF4=
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.15933.1416187804.18130.python-list@python.org> (permalink)
Lines 26
NNTP-Posting-Host 2001:888:2000:d::a6
X-Trace 1416187804 news.xs4all.nl 2906 [2001:888:2000:d::a6]:38339
X-Complaints-To abuse@xs4all.nl
Xref csiph.com comp.lang.python:80944

Show key headers only | View raw


Abdul Abdul <abdul.sw84@gmail.com> writes:

> Thanks for your kind reply.

Abdul, please don't top-post. Instead, trim the quoted material just to
what you're responding to; then post your responses interleaved
<URL:https://en.wikipedia.org/wiki/Posting_style#Interleaved_style>.

> I got the following output:
>
> Process finished with exit code 0
>
> So, what is the purpose of open() here?

I see no context for this question. Where is “here”?

Can you write a very minimal example of a complete program you're asking
about, and post it here so we can see what is confusing you?
<URL:http://sscce.org/>

-- 
 \       “I bet one legend that keeps recurring throughout history, in |
  `\              every culture, is the story of Popeye.” —Jack Handey |
_o__)                                                                  |
Ben Finney

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


Thread

Re: Error when trying to open an image Ben Finney <ben+python@benfinney.id.au> - 2014-11-17 12:27 +1100

csiph-web