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


Groups > comp.lang.python > #105917

Re: Using python heredoc to substitute the external file read by python script.

From Ben Finney <ben+python@benfinney.id.au>
Newsgroups comp.lang.python
Subject Re: Using python heredoc to substitute the external file read by python script.
Date 2016-03-29 05:59 +1100
Message-ID <mailman.109.1459191589.28225.python-list@python.org> (permalink)
References <ndaool$m2u$1@aspen.stu.neva.ru> <mailman.104.1459160997.28225.python-list@python.org> <ndb6fj$t85$1@aspen.stu.neva.ru>

Show all headers | View raw


I don't understand what you're trying to do. But I think you have fixed
your problem:

Hongyi Zhao <hongyi.zhao@gmail.com> writes:

> It seems the above code will do the job for me.

If I understand correctly this sentence, you now have a satisfactory
solution. Good!

-- 
 \         “A man must consider what a rich realm he abdicates when he |
  `\                       becomes a conformist.” —Ralph Waldo Emerson |
_o__)                                                                  |
Ben Finney

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


Thread

Using python heredoc to substitute the external file read by python script. Hongyi Zhao <hongyi.zhao@gmail.com> - 2016-03-28 08:07 +0000
  Re: Using python heredoc to substitute the external file read by python script. Ben Finney <ben+python@benfinney.id.au> - 2016-03-28 21:29 +1100
    Re: Using python heredoc to substitute the external file read by python script. Hongyi Zhao <hongyi.zhao@gmail.com> - 2016-03-28 12:01 +0000
      Re: Using python heredoc to substitute the external file read by python script. Ben Finney <ben+python@benfinney.id.au> - 2016-03-29 05:59 +1100

csiph-web