Skip to content

Instantly share code, notes, and snippets.

@aGupieWare
Created March 10, 2015 22:22
Show Gist options
  • Select an option

  • Save aGupieWare/72480cccfe2e2112e614 to your computer and use it in GitHub Desktop.

Select an option

Save aGupieWare/72480cccfe2e2112e614 to your computer and use it in GitHub Desktop.
PyGest Code Snippet 1-3
"""
pygest.py
A simple Python tkinter GUI application for processing file hashes.
blog.agupieware.com
"""
import tkinter
import hashlib
import logging
title = "PyGest"
def main():
"""
Main function to run the PyGest GUI application.
"""
logging.basicConfig(format='[%(asctime)s] ln:%(lineno)d %(levelname)s: %(message)s', datefmt='%I:%M:%s', level=logging.DEBUG)
logging.info('{} app started. Logger running.'.format(title))
if __name__ == "__main__":
main()
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment