here document

Nader Emami emami at knmi.nl
Tue Jan 11 05:34:27 EST 2005


L.S.,

Would somebody help me how i can write the 'here document' in
Python script please? I have a csh script in which a program
is invoked with some argument in the form of here document:

/bin/exe.x << End_Here
CategorY   = GRIB
etc.
End_Here

I translate this script to Python and i don't know how can I
do this!

with regards,
Nader



More information about the Python-list mailing list