may i use python to read a file and output its content to another file
which is not created yet and i don't want to use ">" to do this in
linux? how do you do ? oqestra.
--
http://mail.python.org/mailman/listinfo/python-list
In <[EMAIL PROTECTED]>, oqestra wrote:
> may i use python to read a file and output its content to another file
> which is not created yet and i don't want to use ">" to do this in
> linux?
Read the documentation about `open()`. Simple example:
in_file = open('old.txt', 'r')
out_file = open('ne