Its a good idea..is there any option to have append mode with the below codes
> Not rocket science:
>
>1) read the entire contents of the file into memory and write it back
> (after writing your "hello world")
>2) move the file (if it is on disk) to some other location; write
> "hello
> wo
On Tue, Jul 21, 2009 at 10:18 AM, Noufal Ibrahim wrote:
> Since it's been a while, I thought it would be nice to have a user
> group meeting this weekend.
>
> What do you guys think? We'd need a venue too.
Want a different place for just a change ?
Please let me know, we can arrange ZeOmega office
Not rocket science:
1) read the entire contents of the file into memory and write it back
(after writing your "hello world")
2) move the file (if it is on disk) to some other location; write "hello
world" and append the moved file back to this new file.
-srid
On Mon, 20 Jul 2009 21:58:
+1 sure...
-r
On Tue, Jul 21, 2009 at 10:18 AM, Noufal Ibrahim wrote:
> Since it's been a while, I thought it would be nice to have a user
> group meeting this weekend.
>
> What do you guys think? We'd need a venue too.
> --
> ~noufal
> ___
> BangP
Since it's been a while, I thought it would be nice to have a user
group meeting this weekend.
What do you guys think? We'd need a venue too.
--
~noufal
___
BangPypers mailing list
BangPypers@python.org
http://mail.python.org/mailman/listinfo/bangpypers
Hi
I am using the following code to write some contents to a file
stream = fs.apply_text(txt_root, path, None)
core.svn_stream_write(stream, "hello world!\n")
core.svn_stream_close(stream)
This will overwrite the existing file contents. Please help me for this to
write contents in the beginning l