Skip to content

Instantly share code, notes, and snippets.

# First of all, don't forget that lines (like this one) starting with
# the pound sign/hashtag are called "comments". We use them like I am
# here -- to help explain your code to other humans. All of these
# comment lines are ignored when your program is interpreted (run).
# They are ignored by the computer.
# Remember what the keyword "import" is doing here.
# And remember the term: identifier. "random" is an identifier for the
# imported library
import random
@wray
wray / Wray's Story.py
Created August 31, 2015 21:56
Wray's Story.py
# Mad Libs!
print("Type in an adjective")
adj = raw_input()
print("Type in a noun")
noun1 = raw_input()
print("Type in another noun")
noun2 = raw_input()
@wray
wray / sound.py
Created August 28, 2015 13:27
sound.py
# Here, I am importing the sound library
import sound
# Here, I am importing the time library
#
#
import time
# This is my function
#
@wray
wray / ItemDB.py
Last active August 2, 2016 21:49
Item-App
# coding: utf-8
import ui
import shelve
# Setting up variables for the views (in lieu of using the NavigationView)
item_db = None
add_item = None
show_item = None
search_items = None
@wray
wray / ItemDB.py
Created August 26, 2015 20:56
Item-App
# coding: utf-8
import ui
import shelve
# Setting up variables for the views (in lieu of using the NavigationView)
item_db = None
add_item = None
show_item = None