- PyByte
- Posts
- The framework I use for improving my relationships
The framework I use for improving my relationships
PyByte 0.4
from PyByte import whats_new, trick_of_the_week, get_inspired, fun_or_funny
# Welcome to the PyByte!
š Hey, and thanks for joining PyByte, a quick way to inject Python & inspiration into your week!
whats_new()
Not to be outdone by Excel, you can now write Python inside your Google Sheets!
While itās not officially supported (cāmon Google!), you can now run Python in Sheets thanks to a plug-in from Neptyne.
As someone who uses Sheets more than Excel (because itās what my company has) Iām thrilled.
Check out how to install and use it in the article below:
trick_of_the_week()
Imagine spending hours, day after day, clicking through the same sequence of buttons, navigating tedious dropdowns, and inputting the same data across multiple programsā¦.

What if the software you're working with doesn't have a native Python library for automation?
Do you resign yourself to misery?
Or do you learn Robotic Process Automation, also known as GUI automation?
RPA programs automate tasks on your computer by sending virtual keystrokes and mouse clicks to applications, as if you were interacting with them yourself.
Implementing this into your workflow is powerful because you donāt need a specific library to control every aspect of your computer.
One program to rule them all.
To get started, install pynput with
pip install pynput
Now import your keyboard and mouse controllers.
from pynput.keyboard import Key, Controller as KeyboardController
from pynput.mouse import Button, Controller as MouseController
keyboard = KeyboardController()
mouse = MouseController()
We can use the keyboard to type entire sentencesā¦
keyboard.type('Hello world')
Or press individual keys (even combining them!)
with keyboard.pressed(Key.shift):
keyboard.press('a')
keyboard.release('a')
The mouse controller is super helpful for moving your mouse aroundā¦
mouse.move(150,-100)
And of course doing what it does best. Clicking!
mouse.click(Button.left)
Use this knowledge wisely š
get_inspired()
I read this quote this week and literally stopped in my tracks because of how true it is.
Your relationships will rarely be healthier than your self-esteem.
This idea of relationships and how we view ourselves also ties in with something Alex Hormozi once said about humility.
Humility does not come from lowering your regard for yourself, but increasing your regard for others.
You can only pull people up to your level, and the only way to do this is if you are ahead of them. Otherwise, youāre dragging them down.

Do the work on yourself first, earn your own respect, and youāll be a positive influence on everyone around you.
fun_or_funny()
Apparently ChatGPT is having a hard time spelling the word Canada.

So of course I tried it for myself.

Itās an interesting mistake, and Iāll add it to my list of things it struggles with: 1) math and 2) spelling.
Does this mean Iāll stop using it every single day?
Absolutely not š
See you next week š
Joel