[Tutor] Python popen command using cat > textfile .... how to terminate
noufal at nibrahim.net.in
Fri May 15 19:46:22 CEST 2009
> Hi there,
> i am using this code to send an "cat > ThisIsMyUrl" with popen.
> Of cos cat now waits for the CTRL+D command.
> How can i send this command ?
Wouldn't it be better if you directly opened the "ThisIsMyUrl" file and
wrote the text into it rather than rely on shelling out for this?
More information about the Tutor