paint-brush
Protect your eyes with Pythonby@amirtha255
784 reads
784 reads

Protect your eyes with Python

by Amirtha Varshini A SDecember 1st, 2018
Read on Terminal Reader
Read this story w/o Javascript
tldt arrow

Too Long; Didn't Read

Our poor eyes, which are apparently the window to our soul have to bear the brunt of the digital age we live in. We stare at the computer screen as part of our daily jobs and studies. It doesn't help that we are glued to our mobile screens also.
featured image - Protect your eyes with Python
Amirtha Varshini A S HackerNoon profile picture

Our poor eyes, which are apparently the window to our soul have to bear the brunt of the digital age we live in. We stare at the computer screen as part of our daily jobs and studies. It doesn't help that we are glued to our mobile screens also.

I love wearing glasses, said no one ever. Exceptions include those who do it as a fashion statement or those who prefer it over the intensive contact lens routine. Worse problems than having to wear glasses include headaches, neck strain, and dry eyes. My eyesight is a price I paid for my love of programming, but I know I could have taken better care.

Photo by Arif Riyanto on Unsplash

Though I believe the bionic lens would be perfected and made affordable in the future, still we need to protect our natural eyes. Here are a few simple ways to do it.

Follow the 20–20–20 rule.

Every 20 minutes, take a 20-second break and focus your eyes on something at least 20 feet away.

If you are a windows 10 user, Here is a python notifier program for you. If you are a beginner in Python, this page would get you started. After installing python, Install the module win10Toast. Save the following code and run it in a terminal, and it would remind to follow the 20–20–20 rule. You could customize your own message title and content in the show_toast() function.

Here is the code, which by the time you return after 20 seconds, a beautiful quote would await you to restart your work with vigor. Here is the Link to the quotes file.

Other tips include:

Blink frequently to avoid dry eyes.

Test your eyes regularly and use the right prescription glasses.

Position yourself at distance 20–40 inches away from the screen.

Download and use f.lux to adapt monitor light to the surrounding.

Let us follow the simple steps above and have healthy eyes.

My eyes are an ocean in which my dreams are reflected….

Anna M. Uhlich.

References:



https://www.huffingtonpost.com/lolly-daskal-/100-motivational-quotes-t_b_4505356.htmlhttp://wisdomquotes.com/inspirational-quotes/https://github.com/jithurjacob/Windows-10-Toast-Notifications