Refactor the honk

This commit is contained in:
newt 2024-10-09 18:02:29 +01:00
parent f30b409bcf
commit 885c460f6d
146 changed files with 63 additions and 140 deletions

4
.gitignore vendored
View file

@ -1,4 +1,4 @@
.idea
venv
ahk/emoji.ahk
catalogue.py
private
__pycache__

View file

@ -2,10 +2,8 @@
# Name: calculator v1.2 - decimal point added
# Purpose: calculator using TKinter
#
# Author: L Jacob
#
# Created: 23/07/2015
# Copyright: (c) L Jacob 2015
# Licence: <your licence>
#-------------------------------------------------------------------------------
from tkinter import *

View file

@ -48,7 +48,7 @@ def updateDisplay():
pets = { 'cats': 0, 'dogs': 0, 'hamsters': 0 }
window = Tk()#create the window#
window.title("Jacob's")
window.title("Newt's")
# Code to add widgets will go here...
##Setup frames##
topframe = Frame(window)

View file

Before

Width:  |  Height:  |  Size: 292 B

After

Width:  |  Height:  |  Size: 292 B

View file

Before

Width:  |  Height:  |  Size: 3.1 KiB

After

Width:  |  Height:  |  Size: 3.1 KiB

View file

Before

Width:  |  Height:  |  Size: 3.4 KiB

After

Width:  |  Height:  |  Size: 3.4 KiB

View file

Before

Width:  |  Height:  |  Size: 2.9 KiB

After

Width:  |  Height:  |  Size: 2.9 KiB

View file

Before

Width:  |  Height:  |  Size: 333 B

After

Width:  |  Height:  |  Size: 333 B

View file

Before

Width:  |  Height:  |  Size: 37 KiB

After

Width:  |  Height:  |  Size: 37 KiB

View file

Before

Width:  |  Height:  |  Size: 589 KiB

After

Width:  |  Height:  |  Size: 589 KiB

View file

Before

Width:  |  Height:  |  Size: 202 KiB

After

Width:  |  Height:  |  Size: 202 KiB

View file

Before

Width:  |  Height:  |  Size: 299 KiB

After

Width:  |  Height:  |  Size: 299 KiB

View file

Before

Width:  |  Height:  |  Size: 72 KiB

After

Width:  |  Height:  |  Size: 72 KiB

View file

Before

Width:  |  Height:  |  Size: 70 KiB

After

Width:  |  Height:  |  Size: 70 KiB

View file

Before

Width:  |  Height:  |  Size: 359 KiB

After

Width:  |  Height:  |  Size: 359 KiB

View file

Before

Width:  |  Height:  |  Size: 209 KiB

After

Width:  |  Height:  |  Size: 209 KiB

View file

Before

Width:  |  Height:  |  Size: 148 KiB

After

Width:  |  Height:  |  Size: 148 KiB

View file

Before

Width:  |  Height:  |  Size: 210 KiB

After

Width:  |  Height:  |  Size: 210 KiB

View file

Before

Width:  |  Height:  |  Size: 102 KiB

After

Width:  |  Height:  |  Size: 102 KiB

View file

Before

Width:  |  Height:  |  Size: 257 KiB

After

Width:  |  Height:  |  Size: 257 KiB

View file

Before

Width:  |  Height:  |  Size: 442 KiB

After

Width:  |  Height:  |  Size: 442 KiB

View file

@ -1,6 +1,6 @@
name = input('What is your name?')
if (str.lower(name) == 'jacob'):
if (str.lower(name) == 'newt'):
print('You\'re cool!')
else:
print('Nice to meet you!')
print('Nice to meet you!')

View file

@ -0,0 +1 @@
Name: John DoeGender: MaleForm: 9AA1

View file

Before

Width:  |  Height:  |  Size: 43 KiB

After

Width:  |  Height:  |  Size: 43 KiB

Some files were not shown because too many files have changed in this diff Show more