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


Groups > comp.lang.python > #53108

Re: How to I do this in Python ?

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 2013-08-28 10:10 +0530
Subject Re: How to I do this in Python ?
From Ganesh Pal <ganesh1pal@gmail.com>
Newsgroups comp.lang.python
Message-ID <mailman.288.1377664867.19984.python-list@python.org> (permalink)

Show all headers | 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 | NextPrevious in thread | Next in thread | Find similar | Unroll thread


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