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

Ben Finney ben+python at benfinney.id.au
Mon Mar 28 06:29:48 EDT 2016


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

> If I want to use python heredoc to substitute this external file for
> the above codes. Is this possible?

What do you mean by “Python heredoc”? What Python feature are you
referring to?

-- 
 \       “Anyone who puts a small gloss on [a] fundamental technology, |
  `\          calls it proprietary, and then tries to keep others from |
_o__)           building on it, is a thief.” —Tim O'Reilly, 2000-01-25 |
Ben Finney




More information about the Python-list mailing list