B
blackneos940
Guest
So it's for EVERYBODY, but mainly, I gave it to a friend for his Birthday..... :3 I just want to see if the comments are too hard to understand.....
I've got to finalize the Comments in the Code, before I actually send it OUT to him.....
It's going through Email, so....
So..... How are the Comments.....? I kind of want it to stay as is, but I'll still make it better, as it generates Shopping Lists.....
Of course, you can Copy-Paste it, and change it.....
Also..... He uses Ubuntu!.....
I literally thought there were like, five people who actually use a Laptop/Desktop Distro of Linux in my town (aside from Android, of course).....
We have Bible Studies every Wednesday where I saw my friend, and this older lady wants to run an older .exe Program for looking up Bible Verses, and I told her I could help her with replacing XP with Windows 2000, and---- Nah, I'm just kidding..... XD I'm putting Linux on there for her..... :3 She wants to keep it non-flashy, so no Kubuntu..... Any recommendations for a simple, yet good Distro for beginners.....? Actually, tonight at the Bible Study place, I met TWO people who use Linux, counting my friend, who I just met, really..... With those guys, one of whom is into IT, and this older lady, who wants me to put Linux on her Laptop..... The future of FOSS is looking bright, isn't it.......? :') Oh, them Feels.....



Code:
# This is a comment of the Program as well. This Program is published under the GNU GPL, or, when you give it to others, any LATER Version of the GPL, such as Version 2 or above. This is a policy that GUARANTEES the users freedom to use this product in any way they wish. Also, though MANY Programs released under the GNU GPL are free as in free beer, the emphasis is placed on free as in FREEDOM, NOT as in free Beer. :) This means that you can modify the Program, and make copies of it, to sell or to share. The only requirement is that you MUST grant the people you give the Programs released under the GNU GPL the SAME freedom you yourSELF have. The complete GNU GPL licence can be viewed at https://gnu.org/licenses/gpl.html.
# This is really just a simple Text Editor, and these bodies of text after the # symbol do nothing to the Program. They're just for reference. :) Also, when you run it, do NOT press enter, as that saves ANY text you put into it. Also, when you put this Program onto your Computer, make sure you remember how to search for it, in case you lost it, or placed it in a Folder, and carelessly forgot about it... :D So, in summary.... ENJOY!
print ("Welcome to the Shopping List generator! When you are prompted to save your Shopping List for later usage, make sure to put '.txt' at the end, so you can open it in all Text Editors.")
Enter = input ("Press Enter to continue.")
print ("Enter items now:\n")
Shopping_List = input()
file_name = input("Name your file now:\n>>>")
with open (file_name, "wt") as output:
output.write(file_name)




Last edited: