From 426f061913fda62c8c555cdbc4b23681bf73ca57 Mon Sep 17 00:00:00 2001 From: Bit77 Date: Mon, 3 Nov 2025 06:13:57 -0600 Subject: [PATCH 001/111] Rename section3-week10-daren-neyland-multiplication-table.py to multiplication_table.py --- ...ren-neyland-multiplication-table.py => multiplication_table.py | 0 1 file changed, 0 insertions(+), 0 deletions(-) rename section3-week10-daren-neyland-multiplication-table.py => multiplication_table.py (100%) diff --git a/section3-week10-daren-neyland-multiplication-table.py b/multiplication_table.py similarity index 100% rename from section3-week10-daren-neyland-multiplication-table.py rename to multiplication_table.py From f5646c1246bb8d7784ea30c893cab01c77365ff6 Mon Sep 17 00:00:00 2001 From: Bit77 Date: Mon, 3 Nov 2025 06:14:23 -0600 Subject: [PATCH 002/111] Update multiplication_table.py --- multiplication_table.py | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/multiplication_table.py b/multiplication_table.py index 2ecc2f2..71ac9b5 100644 --- a/multiplication_table.py +++ b/multiplication_table.py @@ -1,12 +1,12 @@ ################################################################## -# Daren Neyland ## -# daren@markandtraci.com ## -# Intro to Python, Section 3 ## +# ## +# ## +# ## # Version 1.0 ## -# section3-week10-daren-neyland-multiplication-table.py ## +# ## # 9/4/2025 ## -# This program qill quickly access ## -# how quickly a bucket will overflow. ## +# ## +# ## ################################################################## ##################### OBJECTIVE ################################# From 51daab5070daf28644b8715cc07b61fb5b3c0f9a Mon Sep 17 00:00:00 2001 From: Bit77 Date: Mon, 3 Nov 2025 06:17:23 -0600 Subject: [PATCH 003/111] Update multiplication_table.py --- multiplication_table.py | 19 +++++++++---------- 1 file changed, 9 insertions(+), 10 deletions(-) diff --git a/multiplication_table.py b/multiplication_table.py index 71ac9b5..46d5fc6 100644 --- a/multiplication_table.py +++ b/multiplication_table.py @@ -1,13 +1,12 @@ -################################################################## -# ## -# ## -# ## -# Version 1.0 ## -# ## -# 9/4/2025 ## -# ## -# ## -################################################################## +################################################################### +## The3DP ## +## d73928430@gmail.com ## +## ## +## d73928430@gmail.com +## +## Date made: ## +## 9/4/2025 ## +################################################################### ##################### OBJECTIVE ################################# ## Write a program that uses nested loops to print From 1f492c170bbd66334e31843542832cd3c88cdf40 Mon Sep 17 00:00:00 2001 From: Bit77 Date: Mon, 3 Nov 2025 06:17:43 -0600 Subject: [PATCH 004/111] Update multiplication_table.py --- multiplication_table.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/multiplication_table.py b/multiplication_table.py index 46d5fc6..9025b24 100644 --- a/multiplication_table.py +++ b/multiplication_table.py @@ -2,8 +2,8 @@ ## The3DP ## ## d73928430@gmail.com ## ## ## -## d73928430@gmail.com -## +## d73928430@gmail.com ## +## ## ## Date made: ## ## 9/4/2025 ## ################################################################### From 7ccffdda604d054d783ed6824408ee83f33dd4eb Mon Sep 17 00:00:00 2001 From: Bit77 Date: Mon, 3 Nov 2025 06:18:01 -0600 Subject: [PATCH 005/111] Update multiplication_table.py --- multiplication_table.py | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/multiplication_table.py b/multiplication_table.py index 9025b24..d3a3d0e 100644 --- a/multiplication_table.py +++ b/multiplication_table.py @@ -1,7 +1,6 @@ ################################################################### ## The3DP ## -## d73928430@gmail.com ## -## ## +## ## ## d73928430@gmail.com ## ## ## ## Date made: ## From 241bd1bcc584a73f07c972c5cea498ac6291b658 Mon Sep 17 00:00:00 2001 From: Bit77 Date: Mon, 3 Nov 2025 06:18:32 -0600 Subject: [PATCH 006/111] Rename multiplication_table.py to Section #2/multiplication_table.py --- multiplication_table.py => Section #2/multiplication_table.py | 0 1 file changed, 0 insertions(+), 0 deletions(-) rename multiplication_table.py => Section #2/multiplication_table.py (100%) diff --git a/multiplication_table.py b/Section #2/multiplication_table.py similarity index 100% rename from multiplication_table.py rename to Section #2/multiplication_table.py From 42efb4336e207a660a78bb34a49e8ca24e0d1aca Mon Sep 17 00:00:00 2001 From: Bit77 Date: Mon, 3 Nov 2025 06:20:21 -0600 Subject: [PATCH 007/111] Update continue-example.py --- continue-example.py | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/continue-example.py b/continue-example.py index 077b392..6df85d3 100644 --- a/continue-example.py +++ b/continue-example.py @@ -1,5 +1,5 @@ ### continue-example.py ### -#DWN / 10/30/25 # +#The3DP: 10/30/25 # #=========================# n = 0 @@ -8,3 +8,5 @@ if n % 3 == 0: continue print(n) + +# Uses the 'continue' statement From 7e12c806c97a10688a1f1a177450ce1b5a221a59 Mon Sep 17 00:00:00 2001 From: Bit77 Date: Mon, 3 Nov 2025 06:21:30 -0600 Subject: [PATCH 008/111] Update and rename continue-example.py to Section #2/continue-example.py --- continue-example.py => Section #2/continue-example.py | 0 1 file changed, 0 insertions(+), 0 deletions(-) rename continue-example.py => Section #2/continue-example.py (100%) diff --git a/continue-example.py b/Section #2/continue-example.py similarity index 100% rename from continue-example.py rename to Section #2/continue-example.py From 5b6cc9ecc0419e4f26ca77fdd1c38b4c3aa06fda Mon Sep 17 00:00:00 2001 From: Bit77 Date: Mon, 3 Nov 2025 06:22:04 -0600 Subject: [PATCH 009/111] Update and rename Madlibs.py to Section #2/Madlibs_.py --- Madlibs.py => Section #2/Madlibs_.py | 1 - 1 file changed, 1 deletion(-) rename Madlibs.py => Section #2/Madlibs_.py (99%) diff --git a/Madlibs.py b/Section #2/Madlibs_.py similarity index 99% rename from Madlibs.py rename to Section #2/Madlibs_.py index fafd4ef..91879af 100644 --- a/Madlibs.py +++ b/Section #2/Madlibs_.py @@ -21,4 +21,3 @@ print ("to play outside every") print(ADJ, NOUN2) - From 3e09c892f872e77db7340f51da403e637aad55cc Mon Sep 17 00:00:00 2001 From: Bit77 Date: Mon, 3 Nov 2025 06:22:41 -0600 Subject: [PATCH 010/111] Update Madlibs.py --- Section #2/Madlibs.py | 2 -- 1 file changed, 2 deletions(-) diff --git a/Section #2/Madlibs.py b/Section #2/Madlibs.py index a1f0084..91879af 100644 --- a/Section #2/Madlibs.py +++ b/Section #2/Madlibs.py @@ -21,5 +21,3 @@ print ("to play outside every") print(ADJ, NOUN2) - -#NOTE: Will finish by 1/11/25 From fccc7b4f15087ffb73476f9ba90d1c60bc879713 Mon Sep 17 00:00:00 2001 From: Bit77 Date: Mon, 3 Nov 2025 06:24:06 -0600 Subject: [PATCH 011/111] Update Madlibs_.py --- Section #2/Madlibs_.py | 9 +++++++-- 1 file changed, 7 insertions(+), 2 deletions(-) diff --git a/Section #2/Madlibs_.py b/Section #2/Madlibs_.py index 91879af..3c1d957 100644 --- a/Section #2/Madlibs_.py +++ b/Section #2/Madlibs_.py @@ -4,7 +4,7 @@ ## is to create a fully functional ## MAD LIBS game. ## -## Hope you enjoy :) +## NOTE: Work in progress ## ############################################## @@ -14,7 +14,12 @@ VERB = str(input("Please enter a verb): ")) -NOUN2 = str(input("Please enter a noun): ")) +NOUN_2 = str(input("Please enter a noun): ")) + + + + + print (NOUN, VERB) From 1cd6eec9fddb0e3271a383fda4f352c30ec3fd3b Mon Sep 17 00:00:00 2001 From: Bit77 Date: Mon, 3 Nov 2025 06:28:08 -0600 Subject: [PATCH 012/111] Update Madlibs_.py --- Section #2/Madlibs_.py | 10 ++++++++-- 1 file changed, 8 insertions(+), 2 deletions(-) diff --git a/Section #2/Madlibs_.py b/Section #2/Madlibs_.py index 3c1d957..ee4d5e9 100644 --- a/Section #2/Madlibs_.py +++ b/Section #2/Madlibs_.py @@ -10,18 +10,24 @@ NOUN = str(input("Please enter a noun): ")) +NOUN_2 = str(input("Please enter a second noun): ")) + ADJ = str(input("Please enter an adjective): ")) +ADJ_2 = str(input("Please enter a second adjective): ")) + VERB = str(input("Please enter a verb): ")) -NOUN_2 = str(input("Please enter a noun): ")) +COLOR = str(input("Think of one color, then enter it below): ")) + + -print (NOUN, VERB) +print("Bill loves taking walks in the park!") print ("to play outside every") From d9c61abef33b3777346247050972544b809c2fac Mon Sep 17 00:00:00 2001 From: Bit77 Date: Mon, 3 Nov 2025 06:32:44 -0600 Subject: [PATCH 013/111] Update Madlibs_.py --- Section #2/Madlibs_.py | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/Section #2/Madlibs_.py b/Section #2/Madlibs_.py index ee4d5e9..c8f6329 100644 --- a/Section #2/Madlibs_.py +++ b/Section #2/Madlibs_.py @@ -28,7 +28,8 @@ print("Bill loves taking walks in the park!") +print('''However, one unusual Saturday evening surprised Bill so much, + (that he was never the same again.''') -print ("to play outside every") - -print(ADJ, NOUN2) +print ("It was", NOUN, "outside the", NOUN_2) +# Will continue later From 5ab99df78e56841183da16feecb02774c76e5da4 Mon Sep 17 00:00:00 2001 From: Bit77 Date: Mon, 3 Nov 2025 06:33:31 -0600 Subject: [PATCH 014/111] Update Madlibs_.py --- Section #2/Madlibs_.py | 9 ++------- 1 file changed, 2 insertions(+), 7 deletions(-) diff --git a/Section #2/Madlibs_.py b/Section #2/Madlibs_.py index c8f6329..78fadaf 100644 --- a/Section #2/Madlibs_.py +++ b/Section #2/Madlibs_.py @@ -8,6 +8,7 @@ ## ############################################## +##============================================== NOUN = str(input("Please enter a noun): ")) NOUN_2 = str(input("Please enter a second noun): ")) @@ -19,13 +20,7 @@ VERB = str(input("Please enter a verb): ")) COLOR = str(input("Think of one color, then enter it below): ")) - - - - - - - +##=============================================================== print("Bill loves taking walks in the park!") print('''However, one unusual Saturday evening surprised Bill so much, From 229d3688ba97b039ffed53d7f0dba71e079d62d6 Mon Sep 17 00:00:00 2001 From: Bit77 Date: Mon, 3 Nov 2025 06:34:53 -0600 Subject: [PATCH 015/111] Update Madlibs_.py --- Section #2/Madlibs_.py | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/Section #2/Madlibs_.py b/Section #2/Madlibs_.py index 78fadaf..24e5a74 100644 --- a/Section #2/Madlibs_.py +++ b/Section #2/Madlibs_.py @@ -8,7 +8,7 @@ ## ############################################## -##============================================== +##=============== INPUT ======================== NOUN = str(input("Please enter a noun): ")) NOUN_2 = str(input("Please enter a second noun): ")) @@ -22,9 +22,11 @@ COLOR = str(input("Think of one color, then enter it below): ")) ##=============================================================== +##===================== OUTPUT ====================================== print("Bill loves taking walks in the park!") print('''However, one unusual Saturday evening surprised Bill so much, (that he was never the same again.''') print ("It was", NOUN, "outside the", NOUN_2) # Will continue later +##=================================================================== From 503b8bef7690bce0e4b8911587a81c2fdfb4d997 Mon Sep 17 00:00:00 2001 From: Bit77 Date: Mon, 3 Nov 2025 06:35:14 -0600 Subject: [PATCH 016/111] Update and rename Madlibs_.py to Madlibs_2.py --- Section #2/{Madlibs_.py => Madlibs_2.py} | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) rename Section #2/{Madlibs_.py => Madlibs_2.py} (97%) diff --git a/Section #2/Madlibs_.py b/Section #2/Madlibs_2.py similarity index 97% rename from Section #2/Madlibs_.py rename to Section #2/Madlibs_2.py index 24e5a74..d483167 100644 --- a/Section #2/Madlibs_.py +++ b/Section #2/Madlibs_2.py @@ -1,5 +1,5 @@ ############################################## -## MAD LIBS GAME +## SECOND MAD LIBS GAME ## The purpose of the following code ## is to create a fully functional ## MAD LIBS game. From 4df3ca91012207bc937777a7569b056414e18aa0 Mon Sep 17 00:00:00 2001 From: Bit77 Date: Wed, 5 Nov 2025 16:38:55 -0600 Subject: [PATCH 017/111] Create static.yml --- .github/workflows/static.yml | 43 ++++++++++++++++++++++++++++++++++++ 1 file changed, 43 insertions(+) create mode 100644 .github/workflows/static.yml diff --git a/.github/workflows/static.yml b/.github/workflows/static.yml new file mode 100644 index 0000000..f2c9e97 --- /dev/null +++ b/.github/workflows/static.yml @@ -0,0 +1,43 @@ +# Simple workflow for deploying static content to GitHub Pages +name: Deploy static content to Pages + +on: + # Runs on pushes targeting the default branch + push: + branches: ["main"] + + # Allows you to run this workflow manually from the Actions tab + workflow_dispatch: + +# Sets permissions of the GITHUB_TOKEN to allow deployment to GitHub Pages +permissions: + contents: read + pages: write + id-token: write + +# Allow only one concurrent deployment, skipping runs queued between the run in-progress and latest queued. +# However, do NOT cancel in-progress runs as we want to allow these production deployments to complete. +concurrency: + group: "pages" + cancel-in-progress: false + +jobs: + # Single deploy job since we're just deploying + deploy: + environment: + name: github-pages + url: ${{ steps.deployment.outputs.page_url }} + runs-on: ubuntu-latest + steps: + - name: Checkout + uses: actions/checkout@v4 + - name: Setup Pages + uses: actions/configure-pages@v5 + - name: Upload artifact + uses: actions/upload-pages-artifact@v3 + with: + # Upload entire repository + path: '.' + - name: Deploy to GitHub Pages + id: deployment + uses: actions/deploy-pages@v4 From 6724ff1b86cde5a71d354ded14957abd39e07d5e Mon Sep 17 00:00:00 2001 From: Bit77 Date: Fri, 14 Nov 2025 21:28:06 -0600 Subject: [PATCH 018/111] Create gazebo.py --- Section #1/gazebo.py | 23 +++++++++++++++++++++++ 1 file changed, 23 insertions(+) create mode 100644 Section #1/gazebo.py diff --git a/Section #1/gazebo.py b/Section #1/gazebo.py new file mode 100644 index 0000000..77e8737 --- /dev/null +++ b/Section #1/gazebo.py @@ -0,0 +1,23 @@ +from tf.transformations import euler_from_quaternion +from gazebo_msgs.srv import GetModelState +import rospy + +def get_orientation(): + rospy.wait_for_service('/gazebo/get_model_state') + try: + get_model_state = rospy.ServiceProxy('/gazebo/get_model_state', GetModelState) + response = get_model_state('drone', '') # Replace 'drone' with the name of your drone model in Gazebo + + # Quaternion to Euler angles will be converted here + quaternion = response.pose.orientation + euler = euler_from_quaternion([quaternion.x, quaternion.y, quaternion.z, quaternion.w]) + + roll, pitch, yaw = euler + print(f'Pitch: {pitch}, Roll: {roll}, Yaw: {yaw}') + + except rospy.ServiceException as e: + print("Service call failed: %s" % e) + +if __name__ == '__main__': + rospy.init_node('get_orientation') + get_orientation() From b6f0aaf30f35833d000b5f5fa5b9f4b49cd0038e Mon Sep 17 00:00:00 2001 From: Bit77 Date: Fri, 14 Nov 2025 21:30:09 -0600 Subject: [PATCH 019/111] Create exit_program.py --- Section #1/exit_program.py | 58 ++++++++++++++++++++++++++++++++++++++ 1 file changed, 58 insertions(+) create mode 100644 Section #1/exit_program.py diff --git a/Section #1/exit_program.py b/Section #1/exit_program.py new file mode 100644 index 0000000..c8c16a3 --- /dev/null +++ b/Section #1/exit_program.py @@ -0,0 +1,58 @@ +import time +import os + +def exit_program(): + """ + This function manages the user interaction for exiting or continuing the program. + The user can input 1 to exit, 0 to continue, or any invalid input to prompt the user for correct input. + """ + # Initialize variable 'ex' with a value other than 1 or 0 to start the loop + ex = 2 + + print("Welcome to the program!") + print("This function allows you to either continue or exit the program.") + print("You can enter '1' to exit the program or '0' to continue the program.") + + # Start a loop that will continue until the user enters either '1' or '0' + while ex != 1 and ex != 0: + try: + # Prompt the user for input + user_input = input("\nPlease enter your choice (1 to exit, 0 to continue): ") + + # Check if the input is a digit (i.e., an integer string) + if user_input.isdigit(): + ex = int(user_input) # Convert the input string to an integer + else: + # If input is not a digit, prompt the user for a valid input + print("Error: Invalid input. Please enter a valid number (1 to exit, 0 to continue).") + + # Display different messages depending on the input + if ex == 1: + print("\nYou have chosen to exit the program. Goodbye!") + elif ex == 0: + print("\nYou have chosen to continue. The program will continue running.") + else: + print("Error: Input out of expected range. Please enter only 1 or 0.") + + except ValueError: + # If there's any error during input (though unlikely with 'isdigit' check) + print("Error: Something went wrong while processing your input. Please try again.") + + # Additional behavior after exiting or continuing + # Here, we simulate a program performing additional actions based on the user's choice + if ex == 1: + print("Exiting the program... Saving progress and shutting down.") + time.sleep(2) # Simulate the time it might take to save progress + # You could add code here to save data or clean up resources if needed + elif ex == 0: + print("Continuing the program... Performing the next task.") + # Code for continuing the program goes here + perform_task() + + # Log action (whether the user exited or continued) for debugging or tracking purposes + log_action(ex) + + +def perform_task(): + """ + Simulates performing a task in the program after the user chooses to continue. From df06825b57dbec0973d74ab8fb78dce88f51dfa8 Mon Sep 17 00:00:00 2001 From: Bit77 Date: Fri, 14 Nov 2025 21:31:19 -0600 Subject: [PATCH 020/111] Create turtle_test.py --- Section #1/turtle_test.py | 11 +++++++++++ 1 file changed, 11 insertions(+) create mode 100644 Section #1/turtle_test.py diff --git a/Section #1/turtle_test.py b/Section #1/turtle_test.py new file mode 100644 index 0000000..3633a05 --- /dev/null +++ b/Section #1/turtle_test.py @@ -0,0 +1,11 @@ +import turtle as t +import time +t.color("blue") +t.begin_fill() +counter=0 +while counter < 4: +t.forward(100) +t.left(90) +counter = counter+1 +t.end_fill() +time.sleep(5) From 8419f83cf3521d413da09cfd432bf09a26e9639c Mon Sep 17 00:00:00 2001 From: Bit77 Date: Fri, 14 Nov 2025 21:32:46 -0600 Subject: [PATCH 021/111] Create word.py --- Section #1/word.py | 19 +++++++++++++++++++ 1 file changed, 19 insertions(+) create mode 100644 Section #1/word.py diff --git a/Section #1/word.py b/Section #1/word.py new file mode 100644 index 0000000..937ef41 --- /dev/null +++ b/Section #1/word.py @@ -0,0 +1,19 @@ +import random +import string + +def generate_wordsearch(grid_size, words): + # Create an empty grid + grid = [[' ' for _ in range(grid_size)] for _ in range(grid_size)] + + # Function to place a word in the grid + def place_word(word): + word_length = len(word) + placed = False + + while not placed: + direction = random.choice(['horizontal', 'vertical']) + if direction == 'horizontal': + row = random.randint(0, grid_size - 1) + col = random.randint(0, grid_size - word_length) + if all(grid[row][col + i] == ' ' for i in range(word_length)): + for i in range(word_length): From 3ec347195da9bbfe83c9d3a8b7233362b1392aa5 Mon Sep 17 00:00:00 2001 From: Bit77 Date: Fri, 14 Nov 2025 21:33:39 -0600 Subject: [PATCH 022/111] Create for_var.py --- Section #1/for_var.py | 3 +++ 1 file changed, 3 insertions(+) create mode 100644 Section #1/for_var.py diff --git a/Section #1/for_var.py b/Section #1/for_var.py new file mode 100644 index 0000000..9d937a2 --- /dev/null +++ b/Section #1/for_var.py @@ -0,0 +1,3 @@ +#create a for loop +for varible in range(50): +print ("CHRISTMAS IS ALMOST OVER!!!") From 62cc61ea0c99be0749c7719c092b6a4506207c0a Mon Sep 17 00:00:00 2001 From: Bit77 Date: Fri, 14 Nov 2025 21:34:38 -0600 Subject: [PATCH 023/111] Create interrogation.py --- Section #1/interrogation.py | 9 +++++++++ 1 file changed, 9 insertions(+) create mode 100644 Section #1/interrogation.py diff --git a/Section #1/interrogation.py b/Section #1/interrogation.py new file mode 100644 index 0000000..f5e3038 --- /dev/null +++ b/Section #1/interrogation.py @@ -0,0 +1,9 @@ +fname = input("what is your first name?") +lname = input("what is your last name?") +age = input("how old are you?") +color = input("what is your favorite color?") + +print("Your first name is "+ fname) +print("Your last name is "+ lname) +print("Your age is "+ age) +print("Your color is "+ color) From 2a475599fae0dd052bd9226962cff12838a132cd Mon Sep 17 00:00:00 2001 From: Bit77 Date: Fri, 14 Nov 2025 21:35:55 -0600 Subject: [PATCH 024/111] Create tello_port.py --- Section #1/tello_port.py | 19 +++++++++++++++++++ 1 file changed, 19 insertions(+) create mode 100644 Section #1/tello_port.py diff --git a/Section #1/tello_port.py b/Section #1/tello_port.py new file mode 100644 index 0000000..4f22f61 --- /dev/null +++ b/Section #1/tello_port.py @@ -0,0 +1,19 @@ +import socket +import time + +# Tello IP and port +TELLO_IP = '192.168.10.1' +TELLO_PORT = 8889 +LOCAL_PORT = 9000 + +# Initialize a UDP socket +sock = socket.socket(socket.AF_INET, socket.SOCK_DGRAM) +sock.bind(('', LOCAL_PORT)) + +def send_command(command): + try: + sock.sendto(command.encode('utf-8'), (TELLO_IP, TELLO_PORT)) + print(f"Sent command: {command}") + + # Receive response from Tello + response, _ = sock.recvfrom(1024) From 434cddbbed043e4be6fe8f91c87000fdfead1ee2 Mon Sep 17 00:00:00 2001 From: Bit77 Date: Fri, 14 Nov 2025 21:37:53 -0600 Subject: [PATCH 025/111] Create tello_vid.py --- Section #1/tello_vid.py | 18 ++++++++++++++++++ 1 file changed, 18 insertions(+) create mode 100644 Section #1/tello_vid.py diff --git a/Section #1/tello_vid.py b/Section #1/tello_vid.py new file mode 100644 index 0000000..9d334a3 --- /dev/null +++ b/Section #1/tello_vid.py @@ -0,0 +1,18 @@ +import cv2 +from djitellopy import Tello +import time + +# Initialize the Tello drone +tello = Tello() +tello.connect() +tello.streamon() + +try: + # Take off and set an initial height + tello.takeoff() + tello.move_up(50) # Adjust initial height as needed + + while True: + # Capture video frame-by-frame + frame = tello.get_frame_read().frame + gray = cv2.cvtColor(frame, cv2.COLOR_BGR2GRAY) From 67086b2921001080b2e64fc4ab81444cd29a8439 Mon Sep 17 00:00:00 2001 From: Bit77 Date: Fri, 14 Nov 2025 21:39:30 -0600 Subject: [PATCH 026/111] Create func.py --- Section #1/func.py | 15 +++++++++++++++ 1 file changed, 15 insertions(+) create mode 100644 Section #1/func.py diff --git a/Section #1/func.py b/Section #1/func.py new file mode 100644 index 0000000..ca93ffe --- /dev/null +++ b/Section #1/func.py @@ -0,0 +1,15 @@ +#functions + + +varible1 = input ("enter a number") +varible2 = input ("enter a second number") + +def add(varible1, varible2) : + +output = varible1 + varible2 + +return output + + +#call the function +add (varible1, varible2) From 0cf84b7e70b5ba96fea30015bc03caf63ca5de9f Mon Sep 17 00:00:00 2001 From: Bit77 Date: Fri, 14 Nov 2025 21:43:53 -0600 Subject: [PATCH 027/111] Create cater.py --- Section #1/cater.py | 26 ++++++++++++++++++++++++++ 1 file changed, 26 insertions(+) create mode 100644 Section #1/cater.py diff --git a/Section #1/cater.py b/Section #1/cater.py new file mode 100644 index 0000000..f8387c8 --- /dev/null +++ b/Section #1/cater.py @@ -0,0 +1,26 @@ +## UPDATE 1/14/2025 +#================== +age = input("What is your age? ") +job_category = input("What category of job are you interested in? (e.g., Healthcare, Technology, Education, Finance, Arts, etc.) ") +expected_income = input("What is your expected income? ") +years_ = input("How many years of experience do you have? ") + +# Define job categories with specific jobs +if job_category.lower() == "healthcare": + jobs = ["Doctor", "Nurse", "Pharmacist", "Physical Therapist", "Surgeon"] +elif job_category.lower() == "technology": + jobs = ["Software Engineer", "Data Scientist", "Web Developer", "Network Administrator", "IT Support Specialist"] +elif job_category.lower() == "education": + jobs = ["Teacher", "Professor", "School Counselor", "Librarian", "Special Education Teacher"] +elif job_category.lower() == "finance": + jobs = ["Accountant", "Financial Analyst", "Investment Banker", "Financial Planner", "Auditor"] +elif job_category.lower() == "arts": + jobs = ["Graphic Designer", "Musician", "Painter", "Photographer", "Actor"] +else: + jobs = ["Please specify a valid category (Healthcare, Technology, Education, Finance, Arts)."] + +print("You are " + age + " years old.") +print("Your desired job category is: " + job_category) +print("Some jobs in the " + job_category + " category are: " + ", ".join(jobs)) +print("Your expected income is: " + expected_income) +print("You have " + years_ + " years of experience.") From 1c99c892d5e0b8d9bc7c22616860662dc6d66af1 Mon Sep 17 00:00:00 2001 From: Bit77 Date: Fri, 14 Nov 2025 21:45:31 -0600 Subject: [PATCH 028/111] Create simp_ai.py --- Section #1/simp_ai.py | 19 +++++++++++++++++++ 1 file changed, 19 insertions(+) create mode 100644 Section #1/simp_ai.py diff --git a/Section #1/simp_ai.py b/Section #1/simp_ai.py new file mode 100644 index 0000000..f088acc --- /dev/null +++ b/Section #1/simp_ai.py @@ -0,0 +1,19 @@ +pip install nltk + +import nltk +import random +import string +from nltk.corpus import stopwords + +# Download required NLTK packages +nltk.download('punkt') +nltk.download('stopwords') + +# Predefined responses and keywords +responses = { + "greeting": ["Hello!", "Hi there!", "Hey! How can I help?"], + "farewell": ["Goodbye!", "See you later!", "Take care!"], + "default": ["Sorry, I didn't understand that.", "Can you rephrase?", "I'm n$ +} + +# Basic function to preprocess input text From 46a415469aba911a7233b3329f6040bef7a132a0 Mon Sep 17 00:00:00 2001 From: Bit77 Date: Fri, 14 Nov 2025 21:47:58 -0600 Subject: [PATCH 029/111] Create tello_path.py --- Section #1/tello_path.py | 19 +++++++++++++++++++ 1 file changed, 19 insertions(+) create mode 100644 Section #1/tello_path.py diff --git a/Section #1/tello_path.py b/Section #1/tello_path.py new file mode 100644 index 0000000..4cc03ef --- /dev/null +++ b/Section #1/tello_path.py @@ -0,0 +1,19 @@ +from djitellopy import Tello + +#Create a tello Object +drone = Tello() + +# Connect to Tello Drone +drone.connect() + +# Get battery status +print("Battery:", drone.get_battery()) + +# Take off +drone.takeoff() + +# Fly up 5 seconds +drone.move_up(100) + +# Fly down 2.5 seconds +drone.move_down(50) From 4b570be1579ee1b7a0ddce99b95cdd85349aa207 Mon Sep 17 00:00:00 2001 From: Bit77 Date: Fri, 14 Nov 2025 21:50:04 -0600 Subject: [PATCH 030/111] Create bool_var.py --- Section #1/bool_var.py | 18 ++++++++++++++++++ 1 file changed, 18 insertions(+) create mode 100644 Section #1/bool_var.py diff --git a/Section #1/bool_var.py b/Section #1/bool_var.py new file mode 100644 index 0000000..29ede1d --- /dev/null +++ b/Section #1/bool_var.py @@ -0,0 +1,18 @@ +def exit(): + ex = 2 + while ex != 1 and ex != 0: + ex = int(input("enter 1 to continue or 0 to exit")) + return ex + +#variable to keep track of loop iterations +counter = 0 + +#create variable for bool +stay = True + +while stay: + print(counter) + counter+=1 + stay = exit() + +print("You have exited the loop") From f2b8592bd1a13d2fea062fd9ed934a399db9dcc3 Mon Sep 17 00:00:00 2001 From: Bit77 Date: Fri, 14 Nov 2025 21:51:12 -0600 Subject: [PATCH 031/111] Create tello_bottom_cam.py --- Section #1/tello_bottom_cam.py | 12 ++++++++++++ 1 file changed, 12 insertions(+) create mode 100644 Section #1/tello_bottom_cam.py diff --git a/Section #1/tello_bottom_cam.py b/Section #1/tello_bottom_cam.py new file mode 100644 index 0000000..501e273 --- /dev/null +++ b/Section #1/tello_bottom_cam.py @@ -0,0 +1,12 @@ +from djitellopy import Tello +import time +#Create an instance of the Tello class +tello = Tello() +# Connect to the Tello drone +tello.connect() +# Check battery level (optional) +battery = tello.get_battery() +print(f"Battery level: {battery}%") +tello.takeoff +tello.rotate_clockwise(360) +send_command("camera bottom") From a69cd74e92d91757e487d0313b404df0a5df7310 Mon Sep 17 00:00:00 2001 From: Bit77 Date: Tue, 25 Nov 2025 13:22:45 -0600 Subject: [PATCH 032/111] Update and rename Seg-1.py to CD-1.py --- Section #1/{Seg-1.py => CD-1.py} | 0 1 file changed, 0 insertions(+), 0 deletions(-) rename Section #1/{Seg-1.py => CD-1.py} (100%) diff --git a/Section #1/Seg-1.py b/Section #1/CD-1.py similarity index 100% rename from Section #1/Seg-1.py rename to Section #1/CD-1.py From bbc87ce7de6b0dea5eef5df630d6cb74200400b7 Mon Sep 17 00:00:00 2001 From: Bit77 Date: Tue, 25 Nov 2025 13:22:58 -0600 Subject: [PATCH 033/111] Rename Section #1/Seg-2.py to Section CD-2.py --- Section #1/Seg-2.py => Section CD-2.py | 0 1 file changed, 0 insertions(+), 0 deletions(-) rename Section #1/Seg-2.py => Section CD-2.py (100%) diff --git a/Section #1/Seg-2.py b/Section CD-2.py similarity index 100% rename from Section #1/Seg-2.py rename to Section CD-2.py From a88fc8375d754559e2a4d92a945f0c3ec88d572b Mon Sep 17 00:00:00 2001 From: Bit77 Date: Tue, 25 Nov 2025 13:23:40 -0600 Subject: [PATCH 034/111] Update and rename Section CD-2.py to Section #1/ CD-2.py --- Section CD-2.py => Section #1/ CD-2.py | 0 1 file changed, 0 insertions(+), 0 deletions(-) rename Section CD-2.py => Section #1/ CD-2.py (100%) diff --git a/Section CD-2.py b/Section #1/ CD-2.py similarity index 100% rename from Section CD-2.py rename to Section #1/ CD-2.py From 1af2c2248fb1c1302e084e7abb7ca84200c90c6a Mon Sep 17 00:00:00 2001 From: Bit77 Date: Tue, 25 Nov 2025 13:24:00 -0600 Subject: [PATCH 035/111] Rename Seg-3.py to CD-3.py --- Section #1/{Seg-3.py => CD-3.py} | 0 1 file changed, 0 insertions(+), 0 deletions(-) rename Section #1/{Seg-3.py => CD-3.py} (100%) diff --git a/Section #1/Seg-3.py b/Section #1/CD-3.py similarity index 100% rename from Section #1/Seg-3.py rename to Section #1/CD-3.py From 06e49e74ccc89723a96961615715a9d3a96b7628 Mon Sep 17 00:00:00 2001 From: Bit77 Date: Tue, 25 Nov 2025 13:24:23 -0600 Subject: [PATCH 036/111] Update and rename Seg-4.py to CD-4.py --- Section #1/{Seg-4.py => CD-4.py} | 0 1 file changed, 0 insertions(+), 0 deletions(-) rename Section #1/{Seg-4.py => CD-4.py} (100%) diff --git a/Section #1/Seg-4.py b/Section #1/CD-4.py similarity index 100% rename from Section #1/Seg-4.py rename to Section #1/CD-4.py From 11a201f9c83b1247832f35143290e96ee41b497c Mon Sep 17 00:00:00 2001 From: Bit77 Date: Tue, 25 Nov 2025 13:24:39 -0600 Subject: [PATCH 037/111] Rename Seg-5.py to CD-5.py --- Section #1/{Seg-5.py => CD-5.py} | 0 1 file changed, 0 insertions(+), 0 deletions(-) rename Section #1/{Seg-5.py => CD-5.py} (100%) diff --git a/Section #1/Seg-5.py b/Section #1/CD-5.py similarity index 100% rename from Section #1/Seg-5.py rename to Section #1/CD-5.py From d3a151d02914fdf61aacee2c209c9c579f6f2342 Mon Sep 17 00:00:00 2001 From: Bit77 Date: Tue, 25 Nov 2025 13:27:50 -0600 Subject: [PATCH 038/111] Update turtle_test.py --- Section #1/turtle_test.py | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/Section #1/turtle_test.py b/Section #1/turtle_test.py index 3633a05..30a1620 100644 --- a/Section #1/turtle_test.py +++ b/Section #1/turtle_test.py @@ -1,11 +1,11 @@ import turtle as t import time -t.color("blue") -t.begin_fill() +t. color("blue") +t. begin_fill() counter=0 while counter < 4: -t.forward(100) -t.left(90) +t. forward(100) +t. left(90) counter = counter+1 -t.end_fill() -time.sleep(5) +t. end_fill() +time. sleep(5) From 8c6f5a3ddfe07b774fdb719a462e88563887eae2 Mon Sep 17 00:00:00 2001 From: Bit77 Date: Tue, 25 Nov 2025 13:30:04 -0600 Subject: [PATCH 039/111] Create TinkerCAD (Bit77) --- HTML (embeds)/TinkerCAD (Bit77) | 1 + 1 file changed, 1 insertion(+) create mode 100644 HTML (embeds)/TinkerCAD (Bit77) diff --git a/HTML (embeds)/TinkerCAD (Bit77) b/HTML (embeds)/TinkerCAD (Bit77) new file mode 100644 index 0000000..8b13789 --- /dev/null +++ b/HTML (embeds)/TinkerCAD (Bit77) @@ -0,0 +1 @@ + From 6d675b9dfff6b4c5118fbcc6cd94227fdccdb3b7 Mon Sep 17 00:00:00 2001 From: Bit77 Date: Tue, 25 Nov 2025 13:31:33 -0600 Subject: [PATCH 040/111] Update TinkerCAD (Bit77) --- HTML (embeds)/TinkerCAD (Bit77) | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/HTML (embeds)/TinkerCAD (Bit77) b/HTML (embeds)/TinkerCAD (Bit77) index 8b13789..b6ae628 100644 --- a/HTML (embeds)/TinkerCAD (Bit77) +++ b/HTML (embeds)/TinkerCAD (Bit77) @@ -1 +1 @@ - + From 9330d39fe28e7abe3a3552400be37cbed32e6ac0 Mon Sep 17 00:00:00 2001 From: Bit77 Date: Tue, 25 Nov 2025 13:38:31 -0600 Subject: [PATCH 041/111] Update TinkerCAD (Bit77) --- HTML (embeds)/TinkerCAD (Bit77) | 20 ++++++++++++++++++++ 1 file changed, 20 insertions(+) diff --git a/HTML (embeds)/TinkerCAD (Bit77) b/HTML (embeds)/TinkerCAD (Bit77) index b6ae628..0b6f6fd 100644 --- a/HTML (embeds)/TinkerCAD (Bit77) +++ b/HTML (embeds)/TinkerCAD (Bit77) @@ -1 +1,21 @@ + + + + + + + + + + + + + + + + + + + + From b49acd81725ca380ebfd1ef7224480c84a77594b Mon Sep 17 00:00:00 2001 From: Bit77 Date: Mon, 2 Feb 2026 14:33:09 -0600 Subject: [PATCH 042/111] Add files via upload --- Morse Code Translator.py | 66 ++++++++++++++++ ZookeeperCP.py | 36 +++++++++ cpu_pendown.py | 158 +++++++++++++++++++++++++++++++++++++++ cursor_run.py | 7 ++ 4 files changed, 267 insertions(+) create mode 100644 Morse Code Translator.py create mode 100644 ZookeeperCP.py create mode 100644 cpu_pendown.py create mode 100644 cursor_run.py diff --git a/Morse Code Translator.py b/Morse Code Translator.py new file mode 100644 index 0000000..4fd7c37 --- /dev/null +++ b/Morse Code Translator.py @@ -0,0 +1,66 @@ +## Morse Code Converter ## +## Date created: 1/30/2026 +## Goal: to create a self-working +## morse code (to English) translator +## using complete Python code. +##==================================== + +A = ['A is:', '.-'] +B = ['B is:', '-...'] +C = ['C is:', '-.-.'] +D = ['D is:', '-..'] +E = ['E is:', '.'] +F = ['F is:', '..-.'] +G = ['G is:', '--.'] +H = ['H is:', '...'] +I = ['I is:', '..'] +J = ['J is:', '.---'] +K = ['K is:', '-.-'] +L = ['L is:', '.-..'] +M = ['M is:', '--'] +N = ['N is:', '-.'] +O = ['O is:', '---'] +P = ['P is:', '.--.'] +Q = ['Q is;', '--.-'] +R = ['R is:', '.-.'] +S = ['S is:', '..'] +T = ['T is:', '-'] +U = ['U is:', '..-'] +V = ['V is:', '...-'] +W = ['W is:', '.--'] +X = ['X is:', '-..-'] +Y = ['Y is:', '-.--'] +Z = ['Z is:', '--..'] + + +## FOR TUPLE TESTING ONLY +## LEAVE COMMENTED OUT WHEN NOT TESTING +## (KEY Commands: "^3" to comment out, "^4" to uncomment) + +##print(A) +##print(B) +##print(C) +##print(D) +##print(E) +##print(F) +##print(G) +##print(H) +##print(I) +##print(J) +##print(K) +##print(L) +##print(M) +##print(N) +##print(O) +##print(P) +##print(Q) +##print(R) +##print(S) +##print(T) +##print(U) +##print(V) +##print(W) +##print(X) +##print(Y) +##print(Z) + diff --git a/ZookeeperCP.py b/ZookeeperCP.py new file mode 100644 index 0000000..54f5bf4 --- /dev/null +++ b/ZookeeperCP.py @@ -0,0 +1,36 @@ +## Coding proj + +list1 = ['101', 'Zebras', 'Grass', '0730'] +list2 = ['102', 'Elephants', 'Vegetables', '0900'] +list3 = ['103', 'Geese', 'Worms', '0845'] +list4 = ['104', 'Sheep', 'Grass', '0930'] +list5= ['105', 'Turtle', 'Vegetables', '0745'] +list6 = ['106', 'Unicorn', 'Glitter', '0805'] +list7 = ['107', 'Giraffe', 'Vegetables', '0800'] +list8 = ['108', 'Capybara', 'Vegetables', '0808'] +list9 = ['109', 'Monkeys', 'Fruit', '0953'] +list10 = ['110', 'Turkey', 'Worms', '0738'] +list11 = ['111', 'T-Rex', 'Dinosaurs', '0747'] +list12 = ['112', 'Possum', 'Worms', '2000'] +list13 = ['113', 'Goats', 'Grass', '1005'] +list14 = ['114', 'Lions', 'Meat', '0923'] +list15 = ['115', 'Tigers', 'Meat', '0843'] + +# FOR TESTING + +print(list1) +print(list2) +print(list3) +print(list4) +print(list5) +print(list6) +print(list7) +print(list8) +print(list9) +print(list10) +print(list11) +print(list12) +print(list13) +print(list14) +print(list15) + diff --git a/cpu_pendown.py b/cpu_pendown.py new file mode 100644 index 0000000..238e9b4 --- /dev/null +++ b/cpu_pendown.py @@ -0,0 +1,158 @@ +### cpu_pendown.py ### +#====================# + +import multiprocessing +import time +import math +import sys +from datetime import datetime + +# psutil is required for temperature + CPU usage readings +try: + import psutil +except ImportError: + psutil = None + + +def cpu_stress(): + # Busy loop doing floating‑point work + x = 0.0001 + while True: + x = math.sqrt(x * x + 1) + + +def clear_line(): + sys.stdout.write("\r" + " " * 120 + "\r") + sys.stdout.flush() + + +def get_cpu_temp(): + """Returns CPU temperature in °C if available, otherwise None.""" + if psutil is None: + return None + + try: + temps = psutil.sensors_temperatures() + if not temps: + return None + + for name in temps: + for entry in temps[name]: + if entry.current is not None: + return entry.current + except Exception: + return None + + return None + + +if __name__ == "__main__": + print("CPU Stress Test") + print("----------------") + + # Ask user how long to run the test + while True: + try: + duration = int(input("Enter test duration in seconds: ")) + if duration > 0: + break + else: + print("Please enter a positive number.") + except ValueError: + print("Please enter a valid integer.") + + core_count = multiprocessing.cpu_count() + print(f"Detected CPU cores: {core_count}") + + start_timestamp = datetime.now() + print("Starting stress test...") + + # Start worker processes + processes = [] + for _ in range(core_count): + p = multiprocessing.Process(target=cpu_stress) + p.start() + processes.append(p) + + print("CPU stress test running. Press Ctrl+C to stop early.") + + start_time = time.time() + stopped_early = False + + # Logs: list of (timestamp, temperature, cpu_usage) + telemetry_log = [] + + # Initialize psutil CPU usage measurement + if psutil: + psutil.cpu_percent(interval=None) + + try: + while True: + elapsed = int(time.time() - start_time) + remaining = duration - elapsed + + # Read CPU temperature + temp = get_cpu_temp() + + # Read CPU usage percentage + cpu_usage = psutil.cpu_percent(interval=None) if psutil else None + + # Store telemetry + telemetry_log.append((datetime.now(), temp, cpu_usage)) + + if remaining <= 0: + break + + clear_line() + if temp is not None and cpu_usage is not None: + sys.stdout.write( + f"Running... {elapsed}s elapsed | {remaining}s remaining | " + f"Temp: {temp:.1f}°C | CPU Usage: {cpu_usage:.1f}%" + ) + elif cpu_usage is not None: + sys.stdout.write( + f"Running... {elapsed}s elapsed | {remaining}s remaining | " + f"Temp: N/A | CPU Usage: {cpu_usage:.1f}%" + ) + else: + sys.stdout.write( + f"Running... {elapsed}s elapsed | {remaining}s remaining | " + f"Temp: N/A | CPU Usage: N/A" + ) + + sys.stdout.flush() + time.sleep(1) + + except KeyboardInterrupt: + stopped_early = True + print("\nStopping early...") + + # Stop all processes + for p in processes: + p.terminate() + + clear_line() + print("CPU stress test completed.") + + end_timestamp = datetime.now() + actual_runtime = int(time.time() - start_time) + + # Save results to a file + filename = f"cpu_test_results_{start_timestamp.strftime('%Y-%m-%d_%H-%M-%S')}.txt" + with open(filename, "w") as f: + f.write("CPU Stress Test Results\n") + f.write("-----------------------\n") + f.write(f"Start time: {start_timestamp}\n") + f.write(f"End time: {end_timestamp}\n") + f.write(f"CPU cores used: {core_count}\n") + f.write(f"Requested duration: {duration} seconds\n") + f.write(f"Actual runtime: {actual_runtime} seconds\n") + f.write(f"Stopped early: {stopped_early}\n\n") + + f.write("Telemetry Log (timestamp | temp °C | CPU %):\n") + for ts, t, usage in telemetry_log: + t_str = f"{t:.1f}°C" if t is not None else "N/A" + u_str = f"{usage:.1f}%" if usage is not None else "N/A" + f.write(f"{ts} | {t_str} | {u_str}\n") + + print(f"Results saved to: {filename}") diff --git a/cursor_run.py b/cursor_run.py new file mode 100644 index 0000000..e432d8c --- /dev/null +++ b/cursor_run.py @@ -0,0 +1,7 @@ +import time + +while True: + for char in "/-\|": + # \r moves the cursor back to the start of the line + print(f"\r{char} Loading...", end="", flush=True) + time.sleep(0.1) From 8aa1345d2dca4632f7c3a24130042cf222447fe1 Mon Sep 17 00:00:00 2001 From: Bit77 Date: Mon, 2 Feb 2026 14:41:49 -0600 Subject: [PATCH 043/111] Add work in progress note to ZookeeperCP.py Added a note indicating that the program is a work in progress. --- ZookeeperCP.py | 1 + 1 file changed, 1 insertion(+) diff --git a/ZookeeperCP.py b/ZookeeperCP.py index 54f5bf4..1c7d5db 100644 --- a/ZookeeperCP.py +++ b/ZookeeperCP.py @@ -34,3 +34,4 @@ print(list14) print(list15) +# NOTE: This program is still a work in progress. From 2b0dfc51087432ee44be22458d072272fc215830 Mon Sep 17 00:00:00 2001 From: Bit77 Date: Mon, 2 Feb 2026 14:43:12 -0600 Subject: [PATCH 044/111] Revise header comments and add progress note Updated header comments and added work in progress note. --- Morse Code Translator.py | 8 ++++++-- 1 file changed, 6 insertions(+), 2 deletions(-) diff --git a/Morse Code Translator.py b/Morse Code Translator.py index 4fd7c37..1febca0 100644 --- a/Morse Code Translator.py +++ b/Morse Code Translator.py @@ -1,10 +1,14 @@ -## Morse Code Converter ## -## Date created: 1/30/2026 +## Morse Code Converter ##============ +## Date started: 1/30/2026 ## Goal: to create a self-working ## morse code (to English) translator ## using complete Python code. ##==================================== +#===================================== +# NOTE: This program is still a work in progress. +# Expected Finish Date: Next Saturday +#===================================== A = ['A is:', '.-'] B = ['B is:', '-...'] C = ['C is:', '-.-.'] From 9adf1714667209612e87eee19375431414ee18c5 Mon Sep 17 00:00:00 2001 From: Bit77 Date: Tue, 3 Feb 2026 10:28:37 -0600 Subject: [PATCH 045/111] Rename ZookeeperCP.py to Section #3/ZookeeperCP.py --- ZookeeperCP.py => Section #3/ZookeeperCP.py | 0 1 file changed, 0 insertions(+), 0 deletions(-) rename ZookeeperCP.py => Section #3/ZookeeperCP.py (100%) diff --git a/ZookeeperCP.py b/Section #3/ZookeeperCP.py similarity index 100% rename from ZookeeperCP.py rename to Section #3/ZookeeperCP.py From f2404e95d878ca1a4f5f9f16407c711cbbb18e6e Mon Sep 17 00:00:00 2001 From: Bit77 Date: Tue, 3 Feb 2026 10:29:09 -0600 Subject: [PATCH 046/111] Rename cpu_pendown.py to Section #3/cpu_pendown.py --- cpu_pendown.py => Section #3/cpu_pendown.py | 0 1 file changed, 0 insertions(+), 0 deletions(-) rename cpu_pendown.py => Section #3/cpu_pendown.py (100%) diff --git a/cpu_pendown.py b/Section #3/cpu_pendown.py similarity index 100% rename from cpu_pendown.py rename to Section #3/cpu_pendown.py From ad743b0efd270b7c1b26e5cc7fcd73a9d894e981 Mon Sep 17 00:00:00 2001 From: Bit77 Date: Tue, 3 Feb 2026 10:29:32 -0600 Subject: [PATCH 047/111] Rename Morse Code Translator.py to Morse_code_translator.py --- Morse Code Translator.py => Morse_code_translator.py | 0 1 file changed, 0 insertions(+), 0 deletions(-) rename Morse Code Translator.py => Morse_code_translator.py (100%) diff --git a/Morse Code Translator.py b/Morse_code_translator.py similarity index 100% rename from Morse Code Translator.py rename to Morse_code_translator.py From 4fec8a3d623bf69e20b04ed640fcae5dcf4db759 Mon Sep 17 00:00:00 2001 From: Bit77 Date: Tue, 3 Feb 2026 10:30:02 -0600 Subject: [PATCH 048/111] Rename Morse_code_translator.py to Section #3/mmorse_code_translator.py --- Morse_code_translator.py => Section #3/mmorse_code_translator.py | 0 1 file changed, 0 insertions(+), 0 deletions(-) rename Morse_code_translator.py => Section #3/mmorse_code_translator.py (100%) diff --git a/Morse_code_translator.py b/Section #3/mmorse_code_translator.py similarity index 100% rename from Morse_code_translator.py rename to Section #3/mmorse_code_translator.py From a83ca44a8094da7d8aa0ddeda4f72f9437a6ac81 Mon Sep 17 00:00:00 2001 From: Bit77 Date: Tue, 3 Feb 2026 10:30:22 -0600 Subject: [PATCH 049/111] Rename cursor_run.py to Section #3/cursor_run.py --- cursor_run.py => Section #3/cursor_run.py | 0 1 file changed, 0 insertions(+), 0 deletions(-) rename cursor_run.py => Section #3/cursor_run.py (100%) diff --git a/cursor_run.py b/Section #3/cursor_run.py similarity index 100% rename from cursor_run.py rename to Section #3/cursor_run.py From deee5470635f349cb826f81a6e20430ce5a03cf8 Mon Sep 17 00:00:00 2001 From: Bit77 Date: Tue, 3 Feb 2026 10:30:43 -0600 Subject: [PATCH 050/111] Rename test_code_samples.py to Section #3/test_code_samples.py --- test_code_samples.py => Section #3/test_code_samples.py | 0 1 file changed, 0 insertions(+), 0 deletions(-) rename test_code_samples.py => Section #3/test_code_samples.py (100%) diff --git a/test_code_samples.py b/Section #3/test_code_samples.py similarity index 100% rename from test_code_samples.py rename to Section #3/test_code_samples.py From 9bb7f28437fd01fd08d865aa2c6f27d35ccce17f Mon Sep 17 00:00:00 2001 From: Bit77 Date: Tue, 3 Feb 2026 10:30:56 -0600 Subject: [PATCH 051/111] Rename Section #3/test_code_samples.py to test_code_samples.py --- Section #3/test_code_samples.py => test_code_samples.py | 0 1 file changed, 0 insertions(+), 0 deletions(-) rename Section #3/test_code_samples.py => test_code_samples.py (100%) diff --git a/Section #3/test_code_samples.py b/test_code_samples.py similarity index 100% rename from Section #3/test_code_samples.py rename to test_code_samples.py From 5c91ac43edee4de481473b7ec906f52e782e4cdc Mon Sep 17 00:00:00 2001 From: Bit77 Date: Mon, 9 Feb 2026 18:30:53 -0600 Subject: [PATCH 052/111] Add files via upload --- Atlis.py | 26 ++ Atlis2.py | 815 +++++++++++++++++++++++++++++++++++++++++++++ BAGP.py | 40 +++ Lichess.py | 47 +++ Stars.py | 214 ++++++++++++ cw_sig_distance.py | 31 ++ 6 files changed, 1173 insertions(+) create mode 100644 Atlis.py create mode 100644 Atlis2.py create mode 100644 BAGP.py create mode 100644 Lichess.py create mode 100644 Stars.py create mode 100644 cw_sig_distance.py diff --git a/Atlis.py b/Atlis.py new file mode 100644 index 0000000..433c27c --- /dev/null +++ b/Atlis.py @@ -0,0 +1,26 @@ +##===============## +## Atlis.py ## +## ATLIS ## +## DATE: 1/17/26 ## +## +##===============## +locals() +## +locals() +## +locals() +## +locals() +## +locals() +## +locals() +## +locals() +## +locals() +## +locals() +## +locals() +##### shows locals ##### diff --git a/Atlis2.py b/Atlis2.py new file mode 100644 index 0000000..b6d31ef --- /dev/null +++ b/Atlis2.py @@ -0,0 +1,815 @@ +##===============## +## Atlis2.py-----## +## -=-=-=-=-=-=-=## +## DATE: 1/17/26 ## +##===============## + +##1. Command line and environment +##The CPython interpreter scans the command line and the environment for various settings. +## +##CPython implementation detail: Other implementations’ command line schemes may differ. See Alternate Implementations for further resources. +## +##1.1. Command line +##When invoking Python, you may specify any of these options: +## +##python [-bBdEhiIOPqRsSuvVWx?] [-c command | -m module-name | script | - ] [args] +##The most common use case is, of course, a simple invocation of a script: +## +##python myscript.py +##1.1.1. Interface options +##The interpreter interface resembles that of the UNIX shell, but provides some additional methods of invocation: +## +##When called with standard input connected to a tty device, it prompts for commands and executes them until an EOF (an end-of-file character, you can produce that with Ctrl-D on UNIX or Ctrl-Z, Enter on Windows) is read. For more on interactive mode, see Interactive Mode. +## +##When called with a file name argument or with a file as standard input, it reads and executes a script from that file. +## +##When called with a directory name argument, it reads and executes an appropriately named script from that directory. +## +##When called with -c command, it executes the Python statement(s) given as command. Here command may contain multiple statements separated by newlines. Leading whitespace is significant in Python statements! +## +##When called with -m module-name, the given module is located on the Python module path and executed as a script. +## +##In non-interactive mode, the entire input is parsed before it is executed. +## +##An interface option terminates the list of options consumed by the interpreter, all consecutive arguments will end up in sys.argv – note that the first element, subscript zero (sys.argv[0]), is a string reflecting the program’s source. +## +##-c +##Execute the Python code in command. command can be one or more statements separated by newlines, with significant leading whitespace as in normal module code. +## +##If this option is given, the first element of sys.argv will be "-c" and the current directory will be added to the start of sys.path (allowing modules in that directory to be imported as top level modules). +## +##Raises an auditing event cpython.run_command with argument command. +## +##-m +##Search sys.path for the named module and execute its contents as the __main__ module. +## +##Since the argument is a module name, you must not give a file extension (.py). The module name should be a valid absolute Python module name, but the implementation may not always enforce this (e.g. it may allow you to use a name that includes a hyphen). +## +##Package names (including namespace packages) are also permitted. When a package name is supplied instead of a normal module, the interpreter will execute .__main__ as the main module. This behaviour is deliberately similar to the handling of directories and zipfiles that are passed to the interpreter as the script argument. +## +##Note This option cannot be used with built-in modules and extension modules written in C, since they do not have Python module files. However, it can still be used for precompiled modules, even if the original source file is not available. +##If this option is given, the first element of sys.argv will be the full path to the module file (while the module file is being located, the first element will be set to "-m"). As with the -c option, the current directory will be added to the start of sys.path. +## +##-I option can be used to run the script in isolated mode where sys.path contains neither the current directory nor the user’s site-packages directory. All PYTHON* environment variables are ignored, too. +## +##Many standard library modules contain code that is invoked on their execution as a script. An example is the timeit module: +## +##python -m timeit -s "setup here" "benchmarked code here" +##python -m timeit -h # for details +##Raises an auditing event cpython.run_module with argument module-name. +## +##See also +##runpy.run_module() +##Equivalent functionality directly available to Python code +## +##PEP 338 – Executing modules as scripts +## +##Changed in version 3.1: Supply the package name to run a __main__ submodule. +## +##Changed in version 3.4: namespace packages are also supported +## +##- +##Read commands from standard input (sys.stdin). If standard input is a terminal, -i is implied. +## +##If this option is given, the first element of sys.argv will be "-" and the current directory will be added to the start of sys.path. +## +##Raises an auditing event cpython.run_stdin with no arguments. +## +##