From 5c57e01a6b643d1b1e4eb8587e71996882dcd943 Mon Sep 17 00:00:00 2001 From: gavincanete <33832344+gavincanete@users.noreply.github.com> Date: Sun, 18 Sep 2022 20:22:57 +0800 Subject: [PATCH 1/7] Update README.md --- README.md | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) diff --git a/README.md b/README.md index b9125ff..cc6e2d7 100644 --- a/README.md +++ b/README.md @@ -1,8 +1,14 @@ # Basic-Python-Project List of Simple Applications using Python -To run Hangman Game
+Hangman Game Prerequisite
Add this following command: ``` pip install pyfiglet ``` +Running the Hangman Game +``` +cd Hangman/ +python hangman.py +``` +Note: should include the candidate_words.txt upon running the app From 2b516a0750bf21fcbe4581b1017103a288f06394 Mon Sep 17 00:00:00 2001 From: gavincanete <33832344+gavincanete@users.noreply.github.com> Date: Tue, 20 Sep 2022 22:39:25 +0800 Subject: [PATCH 2/7] Update README.md --- README.md | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/README.md b/README.md index cc6e2d7..3787cbd 100644 --- a/README.md +++ b/README.md @@ -12,3 +12,9 @@ cd Hangman/ python hangman.py ``` Note: should include the candidate_words.txt upon running the app + +Running the Cipher App +``` +cd EncryptionProgram/ +python cipher_app.py +``` From 68e6dc48aed6ad3e9ada408152876d5351d6acb0 Mon Sep 17 00:00:00 2001 From: gavincanete <33832344+gavincanete@users.noreply.github.com> Date: Sat, 24 Sep 2022 13:37:14 +0800 Subject: [PATCH 3/7] Update instruction on Password Generator --- README.md | 11 +++++++++-- 1 file changed, 9 insertions(+), 2 deletions(-) diff --git a/README.md b/README.md index 3787cbd..176469b 100644 --- a/README.md +++ b/README.md @@ -1,10 +1,11 @@ # Basic-Python-Project List of Simple Applications using Python -Hangman Game Prerequisite
+Programs Prerequisite
Add this following command: ``` -pip install pyfiglet +pip install pyfiglet (For Hangman) +pip install pyperclip (For Password Gen) ``` Running the Hangman Game ``` @@ -18,3 +19,9 @@ python hangman.py cd EncryptionProgram/ python cipher_app.py ``` + +Running the Password Generator +``` +cd PasswordGenerator/ +python password_generator_app.py +``` From dc62e9113f316df9fe3fa37826383494532dc4b0 Mon Sep 17 00:00:00 2001 From: gavincanete <33832344+gavincanete@users.noreply.github.com> Date: Sun, 25 Sep 2022 17:53:50 +0800 Subject: [PATCH 4/7] Update README.md --- README.md | 22 ++++++++++++++++++++++ 1 file changed, 22 insertions(+) diff --git a/README.md b/README.md index 176469b..ebd3b74 100644 --- a/README.md +++ b/README.md @@ -25,3 +25,25 @@ python cipher_app.py cd PasswordGenerator/ python password_generator_app.py ``` +Prerequisite for Addressbook +``` +SQL Knowledge for setting up +(1) Must have Mysql +(2) Required Table: +|__Fields____ |_____Type___ | +|ID |int | +|firstName |varchar(255) | +|middleInitial|varchar(2) | +|lastName |varchar(255) | +|address |varchar(255) | +``` +Running the Addressbook +(3) Change the credential under +./AddressBook/address_book.py +locate Class AddressBookDB() +locate __init__ function +change the root password (****) to your appropriate password +``` +cd AddressBook/ +python address_book_app.py +``` From 8aceb3a5cd69ad267c9a385ed5eacf6ff1cb50bc Mon Sep 17 00:00:00 2001 From: gavincanete <33832344+gavincanete@users.noreply.github.com> Date: Sun, 25 Sep 2022 17:54:27 +0800 Subject: [PATCH 5/7] Update README.md --- README.md | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/README.md b/README.md index ebd3b74..8109009 100644 --- a/README.md +++ b/README.md @@ -36,14 +36,15 @@ SQL Knowledge for setting up |middleInitial|varchar(2) | |lastName |varchar(255) | |address |varchar(255) | -``` -Running the Addressbook + (3) Change the credential under ./AddressBook/address_book.py locate Class AddressBookDB() locate __init__ function change the root password (****) to your appropriate password ``` +Running the Addressbook +``` cd AddressBook/ python address_book_app.py ``` From 037cb8311502f2b8ab2df7c71058f1252b98e829 Mon Sep 17 00:00:00 2001 From: gavincanete <33832344+gavincanete@users.noreply.github.com> Date: Sun, 25 Sep 2022 17:56:48 +0800 Subject: [PATCH 6/7] Update addressbook_db.py --- AddressBook/addressbook_db.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/AddressBook/addressbook_db.py b/AddressBook/addressbook_db.py index 8f5cb6c..a8ba3e7 100644 --- a/AddressBook/addressbook_db.py +++ b/AddressBook/addressbook_db.py @@ -3,7 +3,7 @@ class AddressBookDB(): def __init__(self): - self.connection = self.create_connection('localhost', 'root', '$gameDeveloper97', 'basic_db') + self.connection = self.create_connection('localhost', 'root', '****', 'basic_db') select_last_record = "select ID from address_book order by id desc limit 1" last_record = self.execute_read_query(select_last_record) From a6cd0093b516b79df31726d37249a10424a14114 Mon Sep 17 00:00:00 2001 From: gavincanete <33832344+gavincanete@users.noreply.github.com> Date: Sun, 25 Sep 2022 17:57:19 +0800 Subject: [PATCH 7/7] Update README.md --- README.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/README.md b/README.md index 8109009..cc9620b 100644 --- a/README.md +++ b/README.md @@ -38,7 +38,7 @@ SQL Knowledge for setting up |address |varchar(255) | (3) Change the credential under -./AddressBook/address_book.py +./AddressBook/address_book_db.py locate Class AddressBookDB() locate __init__ function change the root password (****) to your appropriate password