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


Groups > comp.lang.python > #4435

Re: PIL Question

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.001
X-Spam-Evidence '*H*': 1.00; '*S*': 0.00; 'terry': 0.07; 'python': 0.07; 'received:80.91': 0.09; 'received:80.91.229': 0.09; 'received:80.91.229.12': 0.09; 'received:gmane.org': 0.09; 'received:list': 0.09; 'received:lo.gmane.org': 0.09; 'subject:PIL': 0.09; 'pm,': 0.11; 'wrote:': 0.14; 'starts': 0.15; '3.2,': 0.16; 'idle,': 0.16; 'rebert': 0.16; 'reedy': 0.16; 'shell:': 0.16; 'subject:Question': 0.16; 'command': 0.19; 'jan': 0.22; 'header:In-Reply-To:1': 0.22; 'file,': 0.22; 'directory.': 0.23; 'runs': 0.24; 'cases': 0.25; 'windows': 0.26; 'chris': 0.27; 'changes': 0.29; 'least': 0.30; 'named': 0.30; 'determine': 0.31; 'import': 0.32; 'to:addr:python-list': 0.32; 'answers': 0.33; 'header:X-Complaints-To:1': 0.34; 'file': 0.35; 'header:User- Agent:1': 0.35; 'running': 0.36; 'folder': 0.36; 'think': 0.36; 'two': 0.37; 'run': 0.37; 'skip:" 20': 0.38; 'current': 0.38; 'received:org': 0.38; 'to:addr:python.org': 0.39; 'header:Mime- Version:1': 0.39; 'would': 0.40; 'header:Received:5': 0.40; '9:00': 0.84; 'window,': 0.84
X-Injected-Via-Gmane http://gmane.org/
To python-list@python.org
From Terry Reedy <tjreedy@udel.edu>
Subject Re: PIL Question
Date Sun, 01 May 2011 22:50:52 -0400
References <b1d97f7b-e9be-431e-8e6c-7b4b2e50e67e@glegroupsg2000goo.googlegroups.com> <BANLkTimpp1mh_vOX62bxEHMNFi+cL+g9dg@mail.gmail.com>
Mime-Version 1.0
Content-Type text/plain; charset=UTF-8; format=flowed
Content-Transfer-Encoding 7bit
X-Gmane-NNTP-Posting-Host rain.gmane.org
User-Agent Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.9.2.17) Gecko/20110414 Lightning/1.0b2 Thunderbird/3.1.10
In-Reply-To <BANLkTimpp1mh_vOX62bxEHMNFi+cL+g9dg@mail.gmail.com>
X-BeenThere python-list@python.org
X-Mailman-Version 2.1.12
Precedence list
List-Id General discussion list for the Python programming language <python-list.python.org>
List-Unsubscribe <http://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 <http://mail.python.org/mailman/listinfo/python-list>, <mailto:python-list-request@python.org?subject=subscribe>
Newsgroups comp.lang.python
Message-ID <mailman.1054.1304304663.9059.python-list@python.org> (permalink)
Lines 20
NNTP-Posting-Host 82.94.164.166
X-Trace 1304304663 news.xs4all.nl 81473 [::ffff:82.94.164.166]:35079
X-Complaints-To abuse@xs4all.nl
Path csiph.com!x330-a1.tempe.blueboxinc.net!usenet.pasdenom.info!news.stben.net!border3.nntp.ams.giganews.com!border1.nntp.ams.giganews.com!nntp.giganews.com!newsfeed.xs4all.nl!newsfeed6.news.xs4all.nl!xs4all!post.news.xs4all.nl!not-for-mail
Xref x330-a1.tempe.blueboxinc.net comp.lang.python:4435

Show key headers only | View raw


On 5/1/2011 9:00 PM, Chris Rebert wrote:

> I would think to a file named "screen_capture.jpg" in the current
> working directory. What that is for IDLE, I don't know.

At least on windows with 3.2, if one just starts up the shell, it is in 
the Pythonxy directory. If one runs a file from an edit window, it 
changes to the directory of the file, so it operates much as if one had 
run with the command python -i file.py in the directory of file.py.

> You can
> determine what folder that is by running this in your Python shell:
>
> from os import getcwd; print(getcwd())

Yes, this gives two different answers in the two cases noted above.

-- 
Terry Jan Reedy

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


Thread

PIL Question PyNewbie <ryan.morrone@gmail.com> - 2011-05-01 13:50 -0700
  Re: PIL Question Chris Rebert <clp2@rebertia.com> - 2011-05-01 18:00 -0700
  Re: PIL Question Terry Reedy <tjreedy@udel.edu> - 2011-05-01 22:50 -0400
  Re: PIL Question nirinA raseliarison <nirina.raseliarison@gmail.com> - 2011-05-02 10:48 +0300

csiph-web