Skip to content

Instantly share code, notes, and snippets.

@aGupieWare
aGupieWare / pygest_2_4.py
Created March 17, 2015 22:40
PyGest Code Snippet 2-4
"""
pygest.py
A simple Python GUI tutorial application for processing file hashes.
blog.agupieware.com
"""
import tkinter
import hashlib
@aGupieWare
aGupieWare / pygetst_2_3.py
Created March 17, 2015 22:37
PyGest Code Snippet 2-3
def configure_banner(self):
"""
Configure the header banner for the app with a simple tkinter label.
"""
logging.info("We are in the banner method")
banner = tkinter.Label(self.mainframe, background='black', text="PyGest Tutorial App", font=('Futura', 32), fg='white')
banner.grid(row=0, column=0, sticky=('N', 'S', 'E', 'W'), padx=10, pady=10)
@aGupieWare
aGupieWare / pygest_2_2.py
Created March 17, 2015 22:32
PyGest Code Snippet 2-2
class View():
"""
The main view class for the PyGest tkinter interface.
"""
def __init__(self, root_object):
self.root = root_object
self.mainframe = None
self.set_up()
def set_up(self):
@aGupieWare
aGupieWare / pygest_2_1.py
Created March 17, 2015 22:28
PyGest Code Snippet 2-1
class View():
"""
The main view class for the PyGest tkinter interface.
"""
def __init__(self, root_object):
self.root = root_object
self.set_up()
def set_up(self):
"""
@aGupieWare
aGupieWare / pygest_1_5.py
Created March 10, 2015 22:25
PyGest Code Snippet 1-5
"""
pygest.py
A simple Python tkinter GUI application for processing file hashes.
blog.agupieware.com
"""
import tkinter
import hashlib
@aGupieWare
aGupieWare / pygest_1_4.py
Created March 10, 2015 22:24
PyGest Code Snippet 1-4
"""
pygest.py
A simple Python tkinter GUI application for processing file hashes.
blog.agupieware.com
"""
import tkinter
import hashlib
@aGupieWare
aGupieWare / pygest_1_3.py
Created March 10, 2015 22:22
PyGest Code Snippet 1-3
"""
pygest.py
A simple Python tkinter GUI application for processing file hashes.
blog.agupieware.com
"""
import tkinter
import hashlib
@aGupieWare
aGupieWare / pygest_1_2.py
Created March 10, 2015 22:20
PyGest Code Snippet 1-2
"""
pygest.py
A simple Python tkinter GUI application for processing file hashes.
blog.agupieware.com
"""
import tkinter
import hashlib
@aGupieWare
aGupieWare / pygest_1_1.py
Created March 10, 2015 22:15
PyGest Code Snippet 1-1
"""
pygest.py
A simple Python tkinter GUI application for processing file hashes.
blog.agupieware.com
"""
def main():
"""
@aGupieWare
aGupieWare / swift_client_item_view_did_load.txt
Created November 17, 2014 03:20
Swift client, item view did load . . .
self.bsn_imageView.image = self.bsn_capturedImage
self.bsn_textView.font = UIFont(name: "Helvetica", size: 22)
self.bsn_textView.editable = false
self.bsn_textView.text = "Loading. . ."