Re: [BangPypers] Help-subversion_python

2009-07-20 Thread Dinoj D
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

Re: [BangPypers] User group meeting this weekend

2009-07-20 Thread Baiju M
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

Re: [BangPypers] Help-subversion_python

2009-07-20 Thread Sridhar Ratnakumar
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:

Re: [BangPypers] User group meeting this weekend

2009-07-20 Thread Ranganath s
+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

[BangPypers] User group meeting this weekend

2009-07-20 Thread Noufal Ibrahim
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

[BangPypers] Help-subversion_python

2009-07-20 Thread dinoj . d
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