Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > comp.lang.python > #4435
| From | Terry Reedy <tjreedy@udel.edu> |
|---|---|
| Subject | Re: PIL Question |
| Date | 2011-05-01 22:50 -0400 |
| References | <b1d97f7b-e9be-431e-8e6c-7b4b2e50e67e@glegroupsg2000goo.googlegroups.com> <BANLkTimpp1mh_vOX62bxEHMNFi+cL+g9dg@mail.gmail.com> |
| Newsgroups | comp.lang.python |
| Message-ID | <mailman.1054.1304304663.9059.python-list@python.org> (permalink) |
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 | Next — Previous in thread | Next in thread | Find similar | Unroll 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