[Tutor] Python popen command using cat > textfile .... how to terminate
Lie Ryan
lie.1296 at gmail.com
Fri May 15 13:52:38 CEST 2009
MK wrote:
> Ok. I explain it once more. Its not about reading the console output of
> the command. Its that i want to put a empty file in my subdirectories
> so that the name of the file is a message or url or something else.
> And if you want an empty file you can do that with
> "cat > IAmAnEmptyFileWithOnlyAName"
> under linux on the CLI.
But why not using open('filename', 'w')?
More information about the Tutor
mailing list