Hej there, I am writing a to do list program in Python 3.0.
Earlier this week, I shared my first iteration on the mailing list, and the feedback was that I should learn how to create, write to and read from a text file – which I did. Below please find my second iteration. I know my program is super cheesy & primitive, but I don’t care, it does what I expect it to do, and I will improve it in further iteration cycles. As of now, I want to understand how I can add further functionalities to my program such as: appending items to the list, removing and replacing items. Can anyone help? Thank you very much in advance! print(""" Welcome World's Most Geeky To Do List Program G E E K L I S T 1 . 0 If you want to add items to the list, enter: text_file = open("ToDoList.txt", "w") text_file.write("add your item here ") text_file.write("add action item here ") text_file.write("you get the point, right?") text_file.close() If you want to print your to do list, enter: text_file = open("ToDoList.txt", "r") print(text_file.read()) text_file.close() We are constantly improving our program, watch out for version 2.0! """) _______________________________________________ Tutor maillist - Tutor@python.org To unsubscribe or change subscription options: https://mail.python.org/mailman/listinfo/tutor