Please i need a hand with writing a simple task.

Brian van den Broek broek at cc.umanitoba.ca
Mon Dec 19 13:08:31 EST 2005


Marian said unto the world upon 2005-12-19 10:58:
> Can you pleae help me with this task. I have really hard time with
> my textbook desolving this problem. The Task:  Write a program that
> will create a text file, print the contents of the text file as you
> create the file. Read the contents of the file after it's been
> created, add a record and print the contents of the file, remove a
> record(s) from the specified file, write it again, read it again,
> print the contens of the new file.

<snip>

> 
> Thanks a lot in advance !! Mario !!!
> 

Hi Mario,

since this is pretty clearly a homework type problem, I think you will 
find that you get much more useful help if you show people the code 
that you've already tried. Have you got as far as trying file() or open()?

Best,

Brian vdB




More information about the Python-list mailing list