This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| """ | |
| pygest.py | |
| A simple Python GUI tutorial application for processing file hashes. | |
| blog.agupieware.com | |
| """ | |
| import tkinter | |
| import hashlib |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| 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) |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| 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): |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| 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): | |
| """ |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| """ | |
| pygest.py | |
| A simple Python tkinter GUI application for processing file hashes. | |
| blog.agupieware.com | |
| """ | |
| import tkinter | |
| import hashlib |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| """ | |
| pygest.py | |
| A simple Python tkinter GUI application for processing file hashes. | |
| blog.agupieware.com | |
| """ | |
| import tkinter | |
| import hashlib |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| """ | |
| pygest.py | |
| A simple Python tkinter GUI application for processing file hashes. | |
| blog.agupieware.com | |
| """ | |
| import tkinter | |
| import hashlib |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| """ | |
| pygest.py | |
| A simple Python tkinter GUI application for processing file hashes. | |
| blog.agupieware.com | |
| """ | |
| import tkinter | |
| import hashlib |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| """ | |
| pygest.py | |
| A simple Python tkinter GUI application for processing file hashes. | |
| blog.agupieware.com | |
| """ | |
| def main(): | |
| """ |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| 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. . ." |