[Tutor] Creating To Do List Program - Questions
Joel Goldstick
joel.goldstick at gmail.com
Mon Sep 30 12:35:16 CEST 2013
You restarted the same thread from yesterday where you got several
replies. Go and find that thread.
On Mon, Sep 30, 2013 at 6:19 AM, Dominik George <nik at naturalnet.de> wrote:
> -----BEGIN PGP SIGNED MESSAGE-----
> Hash: SHA512
>
>
>
> Rafael Knuth <rafael.knuth at gmail.com> schrieb:
> >Hej there,
> >
> >apologies if you're receiving my mail for a second time, I had some
> >issues with Google and I just want to make sure you will receive my
> >email.
> >
> >I am writing a to do list program in Python 3.0.
> >
> >Last 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 at python.org
> >To unsubscribe or change subscription options:
> >https://mail.python.org/mailman/listinfo/tutor
>
> Plonk!
> - --
> Diese Nachricht wurde von meinem Android-Mobiltelefon mit K-9 Mail
> gesendet.
> -----BEGIN PGP SIGNATURE-----
> Version: APG v1.0.8-fdroid
>
> iQFNBAEBCgA3BQJSSVAiMBxEb21pbmlrIEdlb3JnZSAobW9iaWxlIGtleSkgPG5p
> a0BuYXR1cmFsbmV0LmRlPgAKCRAvLbGk0zMOJRHPCACXtUPhURIgmZJYJ9dN/3aO
> NsLmHWS3aQK3DBHI9Yjle8VFDjjPEE4mVEB/qsEJRddu4SbmiwPzy7P961X13aOg
> SSX/jvTj+CfrapxgslCgtTF3K3i65XHJ5CL8CE2TWBhaxM2ZET+q66owAYKfQBGH
> CoAVX4SwKHKCeFU5I40ft09kPh6LAwxogF3whVi6eYwdlDSGxsYABdqhegnR6JL+
> tW6vNZiTkDa4vihmsQ5md/2Lw0c5fG+3wEXFAcwl9+Cu39cHD2btQDmSPuPo730h
> z4b1fa7noaNbOnuhapwEQt81kSEayzbfugy5rL3deBmQUSmrFNQc0/NxdD2+k9Ea
> =AYpY
> -----END PGP SIGNATURE-----
>
> _______________________________________________
> Tutor maillist - Tutor at python.org
> To unsubscribe or change subscription options:
> https://mail.python.org/mailman/listinfo/tutor
>
--
Joel Goldstick
http://joelgoldstick.com
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.python.org/pipermail/tutor/attachments/20130930/bdf545ae/attachment.html>
More information about the Tutor
mailing list