Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > comp.lang.python > #53108
| Path | csiph.com!v102.xanadu-bbs.net!xanadu-bbs.net!goblin1!goblin3!goblin2!goblin.stu.neva.ru!newsfeed.xs4all.nl!newsfeed1.news.xs4all.nl!xs4all!newsgate.cistron.nl!newsgate.news.xs4all.nl!post.news.xs4all.nl!not-for-mail |
|---|---|
| Return-Path | <ganesh1pal@gmail.com> |
| X-Original-To | python-list@python.org |
| Delivered-To | python-list@mail.python.org |
| X-Spam-Status | OK 0.017 |
| X-Spam-Evidence | '*H*': 0.97; '*S*': 0.00; 'configure': 0.05; 'subject:Python': 0.06; '*not*': 0.07; 'prefix': 0.09; 'subject:How': 0.10; 'cc:addr:python-list': 0.11; '12:57': 0.16; 'argument.': 0.16; 'dump': 0.16; 'mean,': 0.16; 'optional': 0.16; 'prefix,': 0.16; 'quoted': 0.16; 'stored.': 0.16; 'storing': 0.16; 'tempfile': 0.16; 'to:addr:pearwood.info': 0.16; "to:name:steven d'aprano": 0.16; 'subject: ?': 0.16; ':-)': 0.16; 'all.': 0.16; 'wrote:': 0.18; 'normally': 0.19; '>>>': 0.22; 'import': 0.22; 'aug': 0.22; 'cc:addr:python.org': 0.22; '>>>': 0.24; 'directory.': 0.24; "shouldn't": 0.24; '\xa0if': 0.24; 'mon,': 0.24; 'looks': 0.24; 'cc:2**0': 0.24; 'cc:no real name:2**0': 0.24; '>': 0.26; 'header:In-Reply-To:1': 0.27; 'message- id:@mail.gmail.com': 0.30; "i'm": 0.30; 'comments': 0.31; 'that.': 0.31; '"': 0.31; "d'aprano": 0.31; 'directory,': 0.31; 'steven': 0.31; "user's": 0.31; 'yes.': 0.31; 'run': 0.32; 'text': 0.33; 'url:python': 0.33; 'but': 0.35; 'received:google.com': 0.35; 'right?': 0.36; 'that!': 0.36; 'done': 0.36; 'doing': 0.36; 'thanks': 0.36; 'url:org': 0.36; 'should': 0.36; 'two': 0.37; 'skip:& 10': 0.38; 'gmail': 0.38; 'url:library': 0.38; 'files': 0.38; 'pm,': 0.38; 'ability': 0.39; 'does': 0.39; 'sure': 0.39; 'even': 0.60; 'read': 0.60; 'commands': 0.60; 'new': 0.61; 'url:3': 0.61; 'information': 0.63; 'soon': 0.63; 'temporary': 0.65; 'reply': 0.66; 'news': 0.67; 'yes': 0.68; 'home': 0.69; 'email,': 0.69; 'inline': 0.74; 'emails.': 0.78; 'forth': 0.81; 'subject:this': 0.83; 'disappear': 0.84; 'stored,': 0.84; 'hate': 0.91; '2013': 0.98 |
| 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=LmmxDAV6ICu+RIMx8HJHRcqk5HFEFXfDKRhHgaoGyUA=; b=GHbpNTimNdXky/PgvlQkoPLeLC2DKHPKC2XJvNvH2/Mha4Iu1E9Z+sTkMXSTIK9ffF YJALTg13NP6Yve8tgfnTLmCXrJxY/S1cf+MYup1ArHa3yKBnqUIzCTCpY9eGoqzGj7uJ 8vXRgQD12C+K6zjsi0mSLBu8bYrWDqH+kWHz3J/Km5ueuNC7J4VJe6qylnE58ePYJTN1 P8A4/wFRTF9kD9RhR9UpnYlxZcm50BizTVd+wtNcpCA2P9ct4mFdolQS6uK9rEk5yv1Q Kx6dvxboFkwVNREZMfsklUi6M8gzpazCkWqG/YWDLYyxK/mF9j6q/KpzhIpptmrPy6ee Gj5w== |
| MIME-Version | 1.0 |
| X-Received | by 10.112.64.36 with SMTP id l4mr20219716lbs.15.1377664859648; Tue, 27 Aug 2013 21:40:59 -0700 (PDT) |
| In-Reply-To | <5211c8f5$0$29885$c3e8da3$5496439d@news.astraweb.com> |
| References | <mailman.614.1376636762.1251.python-list@python.org> <520e060d$0$30000$c3e8da3$5496439d@news.astraweb.com> <mailman.1.1376855896.19984.python-list@python.org> <5211c8f5$0$29885$c3e8da3$5496439d@news.astraweb.com> |
| Date | Wed, 28 Aug 2013 10:10:59 +0530 |
| Subject | Re: How to I do this in Python ? |
| From | Ganesh Pal <ganesh1pal@gmail.com> |
| To | "Steven D'Aprano" <steve@pearwood.info> |
| Content-Type | multipart/alternative; boundary=001a11c3eee494386404e4fa981e |
| Cc | python-list@python.org |
| 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 | <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.288.1377664867.19984.python-list@python.org> (permalink) |
| Lines | 139 |
| NNTP-Posting-Host | 2001:888:2000:d::a6 |
| X-Trace | 1377664867 news.xs4all.nl 15979 [2001:888:2000:d::a6]:35884 |
| X-Complaints-To | abuse@xs4all.nl |
| Xref | csiph.com comp.lang.python:53108 |
Show key headers only | View raw
[Multipart message — attachments visible in raw view] - view raw
On Mon, Aug 19, 2013 at 12:57 PM, Steven D'Aprano <steve@pearwood.info>wrote: > On Sun, 18 Aug 2013 22:36:01 +0530, Ganesh Pal wrote: > > > Please find the comments >>> inline > > Please don't do that! > > "Arrows" > are used for quoting in emails. If you prefix your *new* > comments using >>> it looks like they were quoted *three messages back*. > > You should be able to configure your email or news client to prefix > quoted text with a >, and then you just type your own comments with no > prefix, like I'm doing here. Even Gmail can do that. > > You seem to have copied-and-pasted my response into a new email, and then > added your comments. Am I right? The normal way to reply to an email is > to use Reply or Reply All. > > sure , hence forth will take of the same > > > You shouldn't normally care about where temporary files are stored, since > they're temporary and will disappear as soon as you are done with them. > But yes, tempfile has the ability to control where the files are stored. > Both tempfile.NamedTemporaryFile and tempfile.TemporaryFile take an > optional directory argument. > > To read the documentation, run these two commands at the interactive > prompt: > > > import tempfile > help(tempfile) > > > or read it on the web: > > http://docs.python.org/2/library/tempfile.html > http://docs.python.org/3/library/tempfile.html > > > > > If " yes " then can this also be an alternative and does this > > have any drawback ? > > Alternative to what? If you mean, alternative to *not* storing it in the > user's directory, then yes, it is :-) > > Drawbacks -- yes. I hate it when applications dump temporary files in my > home directory. > > > Thanks for the links and information on temporary files
Back to comp.lang.python | Previous | Next — Previous in thread | Next in thread | Find similar | Unroll thread
How to I do this in Python ? Ganesh Pal <ganesh1pal@gmail.com> - 2013-08-16 11:51 +0530
Re: How to I do this in Python ? Steven D'Aprano <steve+comp.lang.python@pearwood.info> - 2013-08-16 10:59 +0000
Re: How to I do this in Python ? Ganesh Pal <ganesh1pal@gmail.com> - 2013-08-18 22:36 +0530
Re: How to I do this in Python ? Steven D'Aprano <steve@pearwood.info> - 2013-08-19 07:27 +0000
Re: How to I do this in Python ? Ganesh Pal <ganesh1pal@gmail.com> - 2013-08-28 10:10 +0530
Re: How to I do this in Python ? Roy Smith <roy@panix.com> - 2013-08-16 07:47 -0400
Re: How to I do this in Python ? random832@fastmail.us - 2013-08-16 14:17 -0400
csiph-web